Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MultiSelect ListBox
Message
De
17/02/2001 15:45:24
 
 
À
17/02/2001 15:09:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00477006
Message ID:
00477037
Vues:
21
Hi!

Thanks for the reply.

It seems to be a bug but I think I found a work around.

If in my CommandButton1.Click event I SetFocus to the ListBox and then loop through and mark all items as selected and then click on the scrollbars of the ListBox it seems to be working ok.

*-- Start of CommandButton1.Click
Local lnCnt

With ThisForm.ListBox1
.SetFocus()
for lnCnt = 1 to .ListCount
.Selected(lnCnt) = .T.
next
Endwith
*-- End of CommandButton1.Click

Sarosh

>I know that problem. It appears when the RowSourceType property of your
>the listbox is NOT (None or Value) - by example if you choose Alias.
>Also, I think that depends the number of items in the list. Try with 10
>or 20 items only. If it's a bug, it is there since version 3.0.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform