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:
01350548
Vues:
19
>>>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.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform