"lineWidth"
The attribute "lineWidth"; sets the width of an object (a textEdit, progress bar, tree widget, zoom navigator, LCD number or a thumb wheel (frame) ) line.
Synopsis
setValue(string shape, "lineWidth", int lw);
getValue(string shape, "lineWidth", int &lw);
shape.lineWidth(int lw);
Parameter
Parameter | Description |
---|---|
shape | Name of the object |
lw | The width of , for example, a textEdit line. |
Description
The attribute "lineWidth"; sets the width of an object (a textEdit, progress bar, tree widget, zoom navigator, LCD number or a thumb wheel (frame) ) line.
Example
The code sets the width of a textEdit line to 11.
main(bool enter)
{
string sn = "TEXT_EDIT1";
int sw = 11;
setValue(sn,"lineWidth",sw);
int lw;
getValue(sn,"lineWidth",lw);
DebugN("The width of the line",lw);
}
Assignment
TextEdit, Thumb wheel, Progress bar, Tree widget, Zoom Navigator, LCD number, DpTreeView