Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo auto-scroll
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Combo auto-scroll
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01337352
Message ID:
01337352
Vues:
59
Sometimes I need a combo scrolls to a value byitself
(for example: when a value is default most often )

The code below works if a put it in a button.click as test:

thisform.combo1.ListIndex = TPRINTERS.SEQUENCIA
thisform.Refresh
thisform.combo1.Refresh

The combo moves by itself, that's OK

But it does not work in .init, .activate, or .getfocus method of my form

Can it be because the combo is ready only after form methods loads ?

Any hint would be welcome

Below there is some information about the combo

rowsource = alltrim(tprinters.name)
rowsource = fields
controusource = none


Moises
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform