Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using ListBox.ToolTipText to display info
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00584422
Message ID:
00584702
Vues:
32
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform