RETURNS THE HEIGHT OF THE TEXT T IF IT IS DISPLAYED BY THE SYSTEM OBJECT NUMBER N
ACTION
The function TEXT_HEIGHT(T,N) returns the height of the text T if it is displayed by the system object number N, taking into account the used font, its style and its size.
The system object is of type: FORM, COMBO, ALPHA, LIST, PICTURE, GRID.
SYNTAX:
Result=TEXT_HEIGHT(T,N)
USE ERROR EXAMPLE
rem create an ALPHA
alpha 1
rem display the height of "Hello" as title
caption 0, text_height("Hello",1)
TEXT_HEIGHT()
TEXT_HEIGHT(T,N)
SEE ALSO
TEXT_WIDTH()