Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Empty ComboBox
Message
From
10/11/2001 12:11:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
10/11/2001 11:45:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00580153
Message ID:
00580158
Views:
15
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform