Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox 'Thingies'
Message
From
04/11/1997 07:39:46
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Listbox 'Thingies'
Miscellaneous
Thread ID:
00058117
Message ID:
00058117
Views:
68
For those interested in the questions I posed in a couple of listbox threads recently, I found some answers.

Re: list box multiple-selected items not retaining focus when the ROWSOURCE type is FIELDS ( i.e. bound to a cursor/table ) and you TAB out of the list box and then TAB back in, MS KB article Q134245 describes this behavior. Right . . . it's a "feature" :-). Two solutions offered: 1) Create a mover-type list box to move the desired items from one box to another. 2) Populate the listbox using AddItem method and set ROWSOURCETYPE to None. ( This is the solution I chose, works fine ).

Re: Cannot pre-set items of a multi-select listbox as selected in the init of a form. MS KB article Q161730 descibes this . . . another "feature" :-). Resolution is to place code to pre-select the items in the Activate method of the form with a switch to cause the code to fire only once when the form starts up. Haven't tried this yet . . . assuming it will work.

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

Click here to load this message in the networking platform