ComponentOne True DBGrid Pro 8
ButtonText Property

ButtonText Property

This property controls whether the current cell takes on the appearance of a standard Windows command button within the specified column.

Syntax

column.ButtonText= boolean

Remarks

Read/Write at run time and design time.

If True, the current cell is rendered as a command button with the cell text as the label. When clicked by the user, the ButtonClick event fires, just as it does for a graphical in-cell button.

If False (the default), the current cell is rendered as normal text and editing is permitted (unless otherwise restricted).

The ButtonText property takes precedence over the Button property. If both are True, then the graphical in-cell button is not displayed.

Note

If both the ButtonText and ButtonAlways properties are True, then all cells within the column are displayed as buttons, not just the current cell.

See Also

Column Object

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback