For a while I have let users order a listbox with drag and drop.
As far as I know it has worked, but for some reason I randomly get
wrong result because the source not being correct.
To this listbox I can also drop from other sources and therefore I try to split
the code based upon the source of the drop.
What I can see is not working is the detection of the Source parameter in
DRAG AND DROP PROPERTIES($source;$row;$process)
I do like this in the listbox OM.
<< should have been a nice code here, But HOW?>>
: ($formEvent_l=On Drop)
DRAG AND DROP PROPERTIES($source;$arrayrow;$processnum) //From where
I have also tried with:
If ($source=OBJECT Get pointer(Object current)), but no change
However the problems seem to be that randomly the $source is the ListBox
and sometimes it is a pointer to the Column (ie a pointer to a Field)
I am using a Current selection Listbox.
What am I doing wrong?
What approach is better?