Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HELP ME!! My listbox is crazy!!!!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00169632
Message ID:
00169715
Vues:
27
Esteban,

Anytime you change the content of the RowSource you need to call the Listbox.Requery() method and the .Refresh().

>I have a custom MoverList Control. This is a class bassed on Container and have two list boxes (Source and Target) and four command buttons (Add, Add All, Remove and Remove All)
>
>this is my basic properties:
>
>lstSource.Rowsource = "Select name from table Where table.enabled into cursor curS"
>lstTarget.Rowsource = "Select name from table Where !table.enabled into cursor curT"
>
>When Add button is pressed, the EvalAdd event is called
>In this method, I do Replace enabled With .F.
>
>THE PROBLEM:
>The Source list have 200 items
>I only click on any item and move the bar with Up and down arrow
>several times and the items are mixed, the order crash
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform