PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WEBDEV 2024 → Un-Selecting Elements from a ListBox
Un-Selecting Elements from a ListBox
Iniciado por Shahine Ghanbarzadeh, fev., 16 2008 2:40 AM - 1 resposta
Publicado em fevereiro, 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
Publicado em fevereiro, 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