Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preselecing t Items in a ListBox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00393757
Message ID:
00394155
Vues:
11
Yes, the methods I've suggested do work. I've used them both. Your requirement of putting a call in every object's MouseMove is burdensome and completely unnecessary.


>>You must either put your code in the form's Activate method, or, if it's in the form's Init, you must have a THIS.SETFOCU() in the Init of the listbox.
>
>It won't work Barbara. What I've done was this:
>
>1. Created firsttime property of the form initially set as .T.
>2. Created custom method with this code:
>

>If Thisform.firsttime
> For i = 1 TO This.List1.ListCount
> This.List1.Selected(i) = .T.
> Endfor
> Thisform.firsttime = .F.
>Endif
>
>3. Each object's MOUSEMOVE property especially FORM, should call the routine above for execution.
>

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform