Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox 'Thingies'
Message
De
04/11/1997 07:39:46
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Listbox 'Thingies'
Divers
Thread ID:
00058117
Message ID:
00058117
Vues:
72
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform