"visibleHeight"

This property holds the vertical amount of the content that is visible.

Synopsis

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

Parameter

Parameters Description
shape Object name.
h The vertical amount of the content that is visible

Description

This property holds the vertical amount of the content that is visible.

Example

The following example returns the vertical amount of the content that is visible.

main(bool enter)
{
  int visH;
  getValue(this.name(),"visibleHeight",visH);
  DebugN("The vertical amount of the content that is visible:", visH);
}

Assignment

TextEdit, Tree widget, DpTreeView, embedded module