"ownCursor";
The attribute "ownCursor" returns TRUE if an object (for example a textEdit, a tree widget, a slider, a zoom navigator or a thumb wheel) uses its own cursor. If the value is FALSE, the object uses its parent widget`s cursor.
Synopsis
getValue(string shape,"ownCursor",bool mod);
Parameter
| Parameter | Description | 
|---|---|
| shape | Name of the object | 
| mod | TRUE = textEdit uses its own cursor. FALSE = textEdit uses its parent widget`s cursor. | 
Description
The attribute "ownCursor"; returns TRUE if an object ( for example, a textEdit, a tree widget, a slider, a zoom navigator or a thumb wheel) uses its own cursor. If the value is FALSE, the object uses its parent widget`s cursor.
 Example
Example
The following example returns TRUE if the textEdit uses its own cursor.
main(bool enter)
{
  string obj = "TEXT_EDIT1";
  bool owC;
  getValue(obj,"ownCursor",owC);
  DebugN("Own cursor or not", owC);
}Assignment
TextEdit, Thumb wheel, Tree widget, Slider, Zoom Navigator, DpTreeView
