Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6: MultiSelect in Listbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00573919
Message ID:
00574447
Vues:
37
>>>>I have a listbox that worked just fine. Then I changed it to be Multiselect
>>>>and now when I go into the form the item is not completely selected. There
>>>>is an outline of the current record but I want it be selected. Isn't there
>>>>some property that needs to be set?
>>>>TIA!
>>>
>>>How many items do you have in this listbox?
>>
>>More than 1 and less than 10 so far.
>
>That's ok then :) What exactly do you want to do? If you want some item to be selected, just set list[i].selected = .t. for those i, you want to be selected.

Well, Dragan suggested:
this.selected(thisform.nrecno)=.t.

and I tried this in the GotFocus of the listbox and I get an error:
this.list[thisform.nrecno)].selected = .t.

This should not be that hard! Any other ideas?
DLC
"Use the Right Tool for the Job!"
davidandcynthia@email.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform