Error getting tags :
error 404Error getting tags :
error 404 textHeightSum | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
textHeightSum
Basics
Expander triangle
Type
Function
Syntax

the textHeightSum of object

textHeightSum(object)

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
All
Security
None required
Summary
Returns the total height of the text in a field or button.
Examples

the textHeightSum of field "Comments"
if the textHeightSum of group 1 > the height of this card then expandCd

Additional Comments
Expander triangle

Use the textHeightSum function to determine how much vertical space a field's or button's text requires.

Parameters:

The object is a field, button, card, or group.

Value:

The textHeightSum returns a positive integer.

Comments:

This function exists for compatibility with imported SuperCard projects. You can use the formattedHeight property to find the height of the text in a field or button.

If the object is a button or field, the textHeightSum returns the number of vertical pixels needed to display all the text at the field's current width. If the object is a card or group, the textHeightSum returns the number of vertical pixels needed to display all the objects in the card or group.

User Comments
Expander triangle