"height"

The attribute "height" returns the height of an object (textEdit, progress bar, tree widget, zoom navigator, LCD number or a thumb wheel.)

Synopsis

getValue(string shape, "height", int &h);

Parameter

Parameter Description
shape Name of the object
h The height of a textEdit.

Description

The attribute "height"; returns the height of an object ( textEdit, progress bar, tree widget, zoom navigator, LCD number or a thumb wheel.)

Example

The code returns the height of a textEdit "TEXT_EDIT1".

main(bool enter)
{
  string sn = "TEXT_EDIT1";
  int he;
  getValue(sn,"height",he);
  DebugN("The height",he);
}

Assignment

TextEdit, Thumb wheel, Progress bar, Tree widget, Zoom Navigator, LCD number