"focus"
The attribute "focus"; returns TRUEif the object has the focus.
Synopsis
getValue( stringshape,"focus", boolmode);
Parameters
| Parameter | Description |
|---|---|
| shape | Name of the object |
| mode |
TRUE= the object has the focus. FALSE= the object does not have the focus. |
Description
The attribute "focus"; returns TRUEif the object has the focus.
Example
The following example returns TRUE if the TREE widget has the focus.
main()
{
bool foc;
getValue("DP_TREE1","focus",foc);
DebugN("Focus", foc);
}
Assignment
Tree Widget, Zoom Navigator, DpTreeView, TextEdit, Embedded Module