Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List Box Array
Message
 
To
23/03/2004 14:57:21
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00888998
Message ID:
00889004
Views:
18
This message has been marked as the solution to the initial question of the thread.
Probably you have " =ADir(fai_array ... " somewhere in the form events. Then fax_array became a LOCAL variable and the listbox cannot get it.

Try this:
thisform.addproperty("fai_array[1]",.f.)
=ADir(thisform.fai_array,......
ThisForm.List1.RowSource = "thisform.fai_array"
>When I run this on my form I get an empty list box even though there are two items:
>
>=ADir(fai_array,(pdm_var.this_release_directory) + Left(pdm_var.fai_part_number,6) + "*.pdf")
>ThisForm.List1.Visible = .T.
>ThisForm.List1.RowSource = "fai_array"
Previous
Reply
Map
View

Click here to load this message in the networking platform