Hi everybody,
I have a TList control (2 of them) on a form. I can move items to different positions within one Tree view or I can move items between 2 of them.
There is a code in OleDragDrop method of the control. If I debug this form or add wait window timeout 10 'OleDragDrop', then this control behaves correctly and the variable lMadeChanges is properly set to true.
However, if I don't debug or remove wait windows, the lMadeChanges property is not changed.
Do you know how can I make the OleDragDrop event to always detect the changes? Probably inkey(.1) will work...
Thanks in advance.
Update.Solved - looks like it was a programmer's (myself) mistake.
If it's not broken, fix it until it is.
My Blog