"visibleWidth"

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

Synopsis

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

Parameter

Parameter Description
shape Object name
h The horizontal amount of the content that is visible

Description

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

Example

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

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

Assignment

TextEdit, Tree widget, DpTreeView, embedded module