Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListBoxes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01646478
Message ID:
01646518
Vues:
62
>Am I correct that it's not possible to add a horizontal scroll bar to a listbox?
>
>Rich Murillo

You can use a popup and use it as the source of your listbox or combobox

In your form's listbox or combobox you set up the properties
RowSource = _myList
RowSourceType = 9 && Popup
Then in the load of the form
define popup _myList

define bar 1 of _myList prompt 'Selection \<1'
define bar 2 of _myList prompt 'Selection \<2'
define bar 3 of _myList prompt 'Selection \<3'
define bar 4 of _myList prompt '\-'
define bar 5 of _myList prompt 'Selection \<5'
define bar 6 of _myList prompt 'Selection \<6'
define bar 7 of _myList prompt 'Selection \<7'
Finally in the destroy or unload or release of the form you release the popup
release popup _myList
You can set colors, fonts and other stuff in the bars too
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform