Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox from Array - prevent .f. from displaying?
Message
 
 
To
12/11/2001 15:33:34
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00580588
Message ID:
00580598
Views:
24
>Thanks Sergey, I tried " " on my own earlier, instead of "". The "" works as far as display goes, but the user can click on the item in the listbox (just like they could click on the .f. item too). I'd like to prevent that too if possible. However, the only thing I can think of to accomplish that would be to change the rowsource and rowsourcetype of the listbox programmatically (have it actually be empty until the user clicks on the cmdbutton which will populate the array and requery the listbox and then change its rowsourcetype to array at that time or something along those lines). What do you think?

I agree with you that it would be the best to leave rowsource and rowsourcetype empty until you populate array. You can also disable listbox until it's rowsource is populated or return .f. from When() method if rowsource is empty.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform