Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox This.Value loses value in Class
Message
From
14/09/1999 19:35:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Listbox This.Value loses value in Class
Miscellaneous
Thread ID:
00264745
Message ID:
00264745
Views:
52
This is driving me nuts.

I have a ListBox on a form. Its RowSource is an array of character values. Its BoundTo is .T.

When I run the form it works fine. I then save a bunch of controls on the form, including the ListBox, as a class. I then replace the controls with the class.

Now when I run the form, the ListBox display the correct values but the Value property of the ListBox is equal to a numeric 0 when I scroll or select any of the items in the list.

If I remove the listbox from the class and then manually place the same listbox (cut and paste) in the class container as part of the form it works fine.

Any ideas?
Next
Reply
Map
View

Click here to load this message in the networking platform