Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help - Problem making list items 'Selected' in code.
Message
 
 
To
02/10/1998 14:07:29
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00143236
Message ID:
00143408
Views:
25
You can't do it from inside the Listbox.Init. It has to be done post ListBox.Init(). Although I wonder if a ListBox::Init() first and then the Selected() code with a NODEFAULT would help?

>I suggested setting a property default to .T. and then, if true, do the selects in Form.Refresh and turn off the flag. I tried moving the code from Init to a custom method called from Init but no cigar.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform