trichview.com

trichview.support




Inserting Delphi controls into RichEdit ?


Return to index


Author

Message

Zoran Kuret

Posted: 12/03/2004 11:47:41


Hello,


Le me explain briefly what I am trying to do : I would like to place some

Delphi controls ( database bound ) into the content of DBRichEdit field,

allow user to choose some values for example from combobox, and then save

this into the richedit content.


So, I tried to do the following :


- Create dblookup combobox component on the same form with dbrichedit

- On the button, I use the following code :

      DBRichViewEdit1.InsertControl('',lkpIme,rvvaBaseline);

- Which works fine, eg my dbcombobox is inserted in richedit and it works

like it should ! ( fantastic :) )

- Then I save the content - blob field and leave the form

- Next time I try to open the same blob field, it gives me an error message

:


    Class TcxLookupComboBox not found

( this is the class of my lookup combo object )


So, what should I do in order to make this thing work ?


Kind Regards,

Zoran Kuret





Powered by ABC Amber Outlook Express Converter