Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00432612
Message ID:
00432625
Vues:
18
>What method would someone put the commands like
>
>this.rowsourcetype=5 && array
>this.rowsource=my_array
>this.visible=.t.
>
>My trouble is that if I make my array from the commandline a combo box on a form work fine, but when I try to make the array within the init method of the control itself, the combo box is always empty
>
>here is the actual code. and I woud like to put this code in one of the methods of the control
>Can this be done ?
>
>
>m_atlist="*.*"
>if adir(m_lll,m_atlist)=0
> this.visible=.f.
>else
> this.rowsourcetype=5
> this.rowsource=m_lll
> this.visible=.t.
>endif
>
>Thank you ..
>
>Bob Lee

Make your array a form property and then use that property in your ADIR, control source, etc.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform