Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox Focus
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01350476
Message ID:
01350553
Vues:
22
>>>>I want to present a listbox and have the focus(highlighted) on a certain record. However I want that record to appear in the middle of the listbox. For some reason it appears at the bottom of the visible listbox by default.
>>>
>>>Where in the form you're setting ListBox.Selected[i] = .t. ?
>>
>>In the init event. Simply put, I want the highlight to occur in the middle of the listbox.
>
>I don't remember details, but there were some quirks with listboxes my former colleague Mike Asherman found. Perhaps you can not do this in Init. Try form's Activate for now, I may try to look at home at our classes for this.

I can set a record to be highlighted no problem, it's just that I want it to be center of the listbox.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform