"visibleWidth"

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

Synopsis

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

Parameter

Parameters 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);

}

Member of

TextEdit, Tree widget, DpTreeView, embedded module

See also