Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Init
Message
 
À
09/04/2001 12:00:22
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: Init
Divers
Thread ID:
00493571
Message ID:
00493765
Vues:
12
Chuck, make sure that you have

Thisform.List1.ListIndex = 1

before you set focus to the listbox in the last line of Form.Init()

If ListIndex is not set, then the listbox gets focus, but visually you don't see it, as none of items is selected yet.

>I tried that before and didn't do it. Maybe it's something else that got the focus away afterwards?
>
>I will look into LISAG (are they in that order?).
>
>I will also attempt to use the debug for that...
>
>Thanks to all!
>
>Chuck
>
>>To meet your stated requirements you should do your setfocus at the end of the form's Init code.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform