Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox Questions
Message
De
06/12/1999 07:45:27
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00299054
Message ID:
00299075
Vues:
24
>>>> 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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform