"frameShadow"

The attribute "frameShadow" specifies the frame effect (3D effect) of an object (textEdit, progress bar, tree widget, thumb wheel, LCD number, DpTreeView or zoom navigator).

Synopsis

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

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

shape.frameShadow(string frame);

Parameters

Parameter Description
shape Name of the object
frame

The frame:

"Plain"

"Raised"

"Sunken"

Description

The attribute "frameShadow" specifies the frame effect (3D effect) of an object (textEdit, progress bar, tree widget, thumb wheel, LCD number, DpTreeView or zoom navigator).

Example

The following example sets the frame for a textEdit to "Raised".

main(bool enter)
{
  string obj = "TEXT_EDIT1";
  string fs = "Raised";
  /* Set the type of the frame to "Raised" */
  string reV;
  this.frameShadow(fs);
  getValue(obj,"frameShadow",reV);
  DebugN(reV);
}
Abbildung 1. TEXT_EDIT frame was set to "Raised"

In the following example, the "frameShape" of a progress bar is first set to "Box" and the "frameShadow"; is set to "Raised".

main(bool enter)
{
  PROGRESS_BAR1.frameShape("Box");
  PROGRESS_BAR1.frameShadow("Raised");
}
Abbildung 2. DpTreeView and Frame Shadow "Raised"

Assignment

TextEdit, Thumb wheel, Progress bar, Tree widget, Zoom Navigator, LCD number, DpTreeView