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:
00394170
Vues:
11
Nevermind Barbara. I figured it out, their is a subclass code that fires resulting to resetting the listbox. Although, putting the code in activate event remains ? to me.

>Can you send a working simple form for me to check what I am lacking at your convenience?
>
>>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.
>>>

JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform