Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi-line listbox
Message
De
20/08/2006 17:13:14
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
20/08/2006 13:57:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01147124
Message ID:
01147134
Vues:
30
>hi - is there a way to create a multi-line listbox? i want an extra line in a row if the column width doesn't accommodate the amount of text.
>
>i have a small amount of space for the control or i would just make the columns longer.

You can have a dynamic tooltip.
Subclass your listbox. In the subclass, mark the ToolTip property to have an access method (in menu/class/Edit property-method). Your tooltip_access method looks like this:
lcValue=alltrim(this.List(this.ListIndex,1))
RETURN lcValue
In my case, it was ,3 - because I needed to have the third column shown.

Don't forget to set .form.showtips=.t.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform