Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capturing listbox selections
Message
De
30/10/1997 12:27:05
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00057049
Message ID:
00057434
Vues:
36
>>Hi Jim,
>>
>>I ran some tests on the listbox. I created a generic form with a multi-select listbox plus some other objects on it. Set the ROWSOURCE type to FIELDS like my main form ( using a cursor ), ran the form and it also deselected the items when TABbing into the listbox. But, when I set the ROWSOURCE type to ARRAY, created and populated the array and bound it to the listbox, TABbing into the listbox did not deselect the items. I wonder if it could have something to do with tables as ROWSOURCEs per se, or possibly record pointers?
>>
>>Bill
>Bill,
>
>Youa re finding some interesting things out here. Most all of my lists use addlistitem to build them and I also don't use multiselect very much at all (preferring mover type dialogs) so I don't have alot of experiience with multiselect lists. I am interested in what you are finding out though.

Jim,

Yeah, I usually use cursors for listboxes and combos, I just like 'em :-). But if I can't find a workaround for this I may have to switch to an array or something. Making it hard on me because if I shut down the form, then start it back up with items that should already be selected, I can't get them to be selected on entry. Once the listbox gets focus, all items are deselected. Tried playing some games in the listbox GotFocus but no success yet. If I learn anything else, I'll post it.

Thanks,
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform