Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatic selection of listbox items
Message
From
06/11/1997 15:31:01
 
 
To
06/11/1997 13:59:44
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00057634
Message ID:
00058711
Views:
32
Hi Nancy,

Actually this is a documented bug by MS ( Q161730 ). You might check out my other replies on the list box issues :-).

Bill


>Hi, Bill.
>
>Is the multiselect property set to .T.? When you're stepping thru the program, what does the selected(nItem) property return? Specifcally, are the items not selected or are they just not highlighted. I can't remember off-hand if selecting an item is immediately displayed w/o refreshing the control...FWIW.
>
>>Using some workarounds I was able to get the items to be selected while watching the code execute in the debugger, but when I removed the SET STEP ON command ( the only change I made ), the items refused to be selected.
>>
>>One button on the form selects all items programmatically, another deselects all programmatically. These work fine!?!?
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform