Drag & Drop Problems - Need Advice
Posted: Wed Oct 31, 2007 4:58 am
I have TRichViewEdit set up to be used as a Viewer only, ie: I have Read Only set to true and I hide the caret.
The problems I am having is that I now need to accept Drag & Drop but I can't because Read Only is True!
How can I detect that a File is over the RichEdit control and switch Read Only to False so it can accept it then turn it back on (True)?
I have also another problem closely related, the files I am trying to Drag & Drop are with the Extension - .NFO and .DIZ these are not opening at all so how can I somehow Register them? or make RichViewEdit view them once Dragged & Dropped? Is there something I must do using AcceptDrapDropFormats?
Many thanks, I hope you can help me
parad0x
The problems I am having is that I now need to accept Drag & Drop but I can't because Read Only is True!
How can I detect that a File is over the RichEdit control and switch Read Only to False so it can accept it then turn it back on (True)?
I have also another problem closely related, the files I am trying to Drag & Drop are with the Extension - .NFO and .DIZ these are not opening at all so how can I somehow Register them? or make RichViewEdit view them once Dragged & Dropped? Is there something I must do using AcceptDrapDropFormats?
Many thanks, I hope you can help me
parad0x