piTextRowsMax - cToolbar
Determine the maximum number of rows that can be created
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer piTextRowsMax
| Access Type | Syntax |
|---|---|
| Read Access: | Get piTextRowsMax to IntegerVariable |
| Write Access: | Set piTextRowsMax to IntegerVariable/Value |
Description
When the text in the button's psLabel property is too wide to fit in the width of a button, it can wrap onto multiple lines. Use the piTextRowsMax property to determine the maximum number of rows that can be created. If the text is still too wide, ellipses (.) will be displayed at the end of the text to show that the string is not completely visible.
Default is 1.