Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command button in a grid
Message
From
31/12/2001 15:37:30
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00599443
Message ID:
00599492
Views:
18
This message has been marked as a message which has helped to the initial question of the thread.
Hi Nadya.

>> I have Command button in a grid column. Column.Sparse is set to .f. How can I show tooltiptext and statusbar text for this Command button? <<

You can "borrow" the grid's ToolTipText. This code in the CommandButton's MouseEnter() method:

WITH This
.Parent.Parent.ToolTipText = "< My ToolTipText >"
ENDWITH

You can add a custom property to the grid class to hold the grid's tooltiptext and save it before setting it to what you want it to be for the command button. Then, you can restore it is the command button's MouseLeave() method.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform