"frameShape"

The attribute "frameShape" sets the style of an object frame (textEdit frame, a thumb wheel, a tree widget, a zoom navigator , an LCD number or a progress bar).

Synopsis

setValue(string shape, "frameShape", string frame);

getValue(string shape, "frameShape", string &frame);

shape.frameShape(string frame);

Parameter

Parameter Description
shape Name of the object
frame

The frame:

"NoFrame "; //no frame

"Box "; // rectangular box

"Panel"; // rectangular panel

"WinPanel"; // rectangular panel (Windows)

"HLine "; // horizontal line

"VLine "; // vertical line

"StyledPanel "; // rectangular panel depending on the GUI style

Description

The attribute "frameShape"; sets the style of an object frame ( textEdit frame, a thumb wheel, a tree widget, a zoom navigator , an LCD number or a progress bar).

Example

In the following example the style of a DpTree is set to "WinPanel" .

main(bool enter)
{
  string fs = "WinPanel";
  //set the type to WinPanel
  DP_TREE1.frameShape(fs);
}
Abbildung 1. DPTree with the frame type WinPanel

Assignment

TextEdit, Thumb wheel, Progress bar, Tree widget, Zoom navigator, LCD number, Embedded Module