Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help - Problem making list items 'Selected' in code.
Message
From
02/10/1998 15:01:59
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00143236
Message ID:
00143409
Views:
24
Not sure....I found a simple workaround using Refresh but it still irks me.

>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.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform