ListBox

Started by Moshe-A, September 28, 2020, 01:16:46 AM

Previous topic - Next topic

Moshe-A

Guys Hi,

in ListBox, if user make a faulty item selection i (dcl_MessageBox) to alert. after the message is cleared, if it's the first time after form Initialized
i deselect the item with (dcl-ListBox-SetCurSel <CONTROL> -1) i also would like to clear the Anchor (the dotted rectangle around the selected item)?

How?

thanks in advance
Moshe

owenwengerd

Owen Wengerd (Outside The Box) / ManuSoft

Moshe-A

Owen

thanks you

i did  try that even (dcl-ListBox-SetFocusIndex <CONTROL> -1)  and it did not work for me
i now at work, so i'll give it another try tonight

Moshe

Moshe-A

Owen hi,

Some how the problem is gone with (dcl-ListBox-SetCurSel <CONTROL> -1) and i did not change anything
hope it will stay  :)

Moshe