Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6: MultiSelect in Listbox
Message
De
29/10/2001 11:41:29
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00573919
Message ID:
00574554
Vues:
29
>>>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?
>>
>>this.selected(n)=.t.
>>
>>n would be the row number of the line you want. You can have several of these for each row you want.
>
>In the Init I do a setfocus to the listbox. Then in the gotfocus of the listbox I have this.selected(n)=.t. statement with a record number property as n. And it still doesn't work. I will keep playing with it.

Worked for me, but I did it in the .init, not .gotfocus; it probably needs an additional refresh if called from there.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform