Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi-line listbox
Message
From
20/08/2006 17:13:14
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
20/08/2006 13:57:46
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01147124
Message ID:
01147134
Views:
33
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform