piTooltipMaxWidth - cCJGrid
The maximum tool tip width in pixels
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer piTooltipMaxWidth
| Access Type | Syntax |
|---|---|
| Read Access: | Get piTooltipMaxWidth to IntegerVariable |
| Write Access: | Set piTooltipMaxWidth to IntegerVariable/Value |
Description
When the tool tip text string exceeds the tool tip max width then the text is wrapped to the next line.
The exact effect of this property is dependant on the value of the peTooltipStyle property: When using the xtpToolTipStandard, xtpToolTipOffice, and xtpToolTipBalloon styles, the minimum width of the tool tip window can only be as small as the longest word in the tip. When using the xtpToolTipRTF style, the minimum width of the tool tip window can be as small as a single character.
You can set a column header tool tip via each column's psTooltip property. You can set each grid cell's tool tip by providing an OnGetTooltip event handler in the appropriate column object.