Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Tool Tip Text
Message
 
À
27/07/2000 13:15:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00397706
Message ID:
00397725
Vues:
9
>I have a combo box that list Customer Order Numbers. As I move up and down the list in the combo box the selection under the cursor highlights. At the point the list item highlights I would like to run a procedure that displays the description of the item as a tool tip text. Please Help.
>
>Set the ToolTipText property of the listbox in the InteractiveChange() event.
>The form's ShowTips property must be set to .T.
>I assume you've already eliminated the idea of showing the description in a 2nd column of the listbox, but you could still include it in the RowSource and not show it.
>e.g., If the description is in the hidden 2nd column of the listbox's RowSource.
>
this.ToolTipText = this.List(this.ListIndex,2)
>
>HTH

This is not going to work, because InteractiveChange() fires only when you actually click on the item in dropdown portion of combobox, not when you are moving the mouse cursor over it.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform