PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → Un-Selecting Elements from a ListBox
Un-Selecting Elements from a ListBox
Débuté par Shahine Ghanbarzadeh, 16 fév. 2008 02:40 - 1 réponse
Posté le 16 février 2008 - 02:40
Hi

How can I un-select items in a multi-select listbox?

I have used:

FOR ALL SELECTED ROW n OF LISTBOX
tmp = LISTBOX[n]

to read the selected items, and it works ok.

Now I need to be able to un-select the selected items in code?



Many Thanks

Shahine
Posté le 17 février 2008 - 19:16
Hello Shahine,

FOR ALL SELECTED ROW n OF LISTBOX
ListSelectMinus(ListBox, n)

To un-select all rows of your listbox:
ListSelectMinus(ListBox)

Christian


How can I un-select items in a multi-select listbox?

I have used:

FOR ALL SELECTED ROW n OF LISTBOX
tmp = LISTBOX[n]

to read the selected items, and it works ok.

Now I need to be able to un-select the selected items in code?



Many Thanks

Shahine