"frameWidth"
The attribute "frameWidth"; returns the width of a frame (a textEdit, a tree widget, a zoom navigator, LCD number, a thumb wheel etc.)
Synopsis
getValue(stringshape,"frameWidth",int&frameWidth);
Parameter
Parameter | Description |
---|---|
shape | Name of the object |
frameWidth | The width of the frame |
Description
The attribute "frameWidth"; returns the width of a frame (a textEdit, a tree widget, a zoom navigator, LCD number, thumb wheel etc.)
Example
The following example returns the width of the textEdit frame (object TEXT_EDIT1).
main(bool enter)
{
int fw;
getValue("TEXT_EDIT1","frameWidth",fw);
//returns the width of the frame
DebugN("width of the frame",fw);
}
Assignment
TextEdit, Thumb wheel, Tree widget, Zoom navigator, LCD number, DpTreeView, Embedded Module