Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box default selected item
Message
 
 
À
08/08/2001 19:28:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00541586
Message ID:
00541633
Vues:
14
I'm glad it works. I think you can move this code to the Init of the form and get rid of ThisForm.lFirstTime.

>Sergey,
>I've tried that. The following seems to work in the activate but I want to just use the Activate
>
>If ThisForm.lFirstTime
> For Each oControl In Thisform.Controls
> If Upper( AllTrim( oControl.Class ) ) == "COMBOBOX"
> oControl.Selected[1] = .T.
> EndIf
> EndFor
> ThisForm.lFirstTime = .F.
>EndIf
>
>It turns out the Value propert works after all. I must have set other properties which caused that to fail.
>
>
< SNIP >
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform