Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to display fields of table on the grid and select it
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00871218
Message ID:
00871830
Vues:
22
Soykan,

You can use the Selected[] array of the listbox to preselect items in code. You have to set Multiselect = .t.
for i = 1 to this.ListCount step 2
   this.Selected[i] = .t.
endfor
you use the same loop to find out what items are selected.
for i = 1 to this.ListCount step 2
   if ( this.Selected[i] )
      * the item is selected
   endif
endfor
>:) thanks Davit let it work for me more , would you like to explain me about moverlist class using with pre selected fields .
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