Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox Questions
Message
From
06/12/1999 07:45:27
 
 
To
06/12/1999 03:27:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00299054
Message ID:
00299075
Views:
23
>>>> VFP 5.0 <<<
>
>When programmatically selecting a list item in a listbox [i.e. .Selected(i) = .T.] :
>
>1) If the form that the listbox resides is shown for the first time from being hidden, the selected listbox item will have a segmented rectangle surrounding it and is not technically selected (highlighted). If I programmatically select it again it will then be selected. How can I make it work the first time?
>
>2) If I scroll that listbox the selected item(s) will become unselected. However, if I mouse click to select a list item (or Ctrl+Click to select multiple items) in a listbox, scrolling will not negate the selections, as it should be. Can anyone explain this and can it be corrected?
>
>Thanks In Advance,
>Craig

1) Have you tried doing a REFRESH and/or programmatic SETFOCUS on the listbox?

2) Not sure on this one. maybe a VFP5 bug? This seems to work correctly in VFP6.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform