PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WEBDEV 2024 → Un-Selecting Elements from a ListBox
Un-Selecting Elements from a ListBox
Started by Shahine Ghanbarzadeh, Feb., 16 2008 2:40 AM - 1 reply
Posted on February, 16 2008 - 2:40 AM
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
Posted on February, 17 2008 - 7:16 PM
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