Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using ListBox.ToolTipText to display info
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00584422
Message ID:
00584702
Views:
31
Hi Keith;

>I have a listbox referencing a 5 column array. I am displaying the first 4 columns and want to show the contents of the 5th column as ToolTipText. Is there any way to do this?

On the listbox control I dont know any kind of feature like that. But, on the listview activex control we have that possibility:
sele myfile
i1=0
scan
    i1=i1+1
    p=THISFORM.mylist.ListItems.Add
    p.SmallIcon  = mysmallicon
    p.Icon       = myicon
    p.Text       = mytext
    p.SubItems(1)= allt(myfile.contents)
    this.listitems(i1).tooltiptext="Foo text:"+allt(myfile.author)
endscan
CLAUDIO
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform