General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only