Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Empty ComboBox
Message
De
10/11/2001 12:11:00
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
10/11/2001 11:45:36
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00580153
Message ID:
00580158
Vues:
16
>I have the code in the GotFocus of my combobox.
>
>Set Default To &prfiles
>= ADir(gnLODModelsz,ThisForm.myadjdn + '*.*')
>MessageBox(Str(ALen(gnLODModelsz)))
>ThisForm.Combo1.RowSource = "gnLODModelsz"
>Set Default to &defpath
>
>The MessageBox returns 90 but nothing is listed in combobox.

Steven,
Assuming rowsourcetype is already Array create a form property as array (In new property enter gnLODModelsz[1]) :
lnFiles= ADir(thisform.gnLODModelsz,ThisForm.myadjdn + '*.*')
MessageBox(Str(lnFiles))
with ThisForm.Combo1
	.RowSource = "thisform.gnLODModelsz"
* Try to uncomment below items
*	.ColumnCount = alen(thisform.gnLODModelsz,2)
*	.Columnwidths = '100,100,100,100,100'
*	.Numberofelements = alen(thisform.gnLODModelsz)
endwith
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform