"underMouse"
Returns TRUE if a widget (textEdit, slider, thumb wheel, tree widget, zoom navigator, LCD number or progress bar) is beneath the cursor.
Synopsis
getValue(string shape,"underMouse",bool m);
Parameter
Parameter | Description |
---|---|
shape | Object name |
m | TRUE = The widget is beneath the cursor. |
Description
Returns TRUE if the widget (for example, a textEdit, slider, thumb wheel, tree widget, zoom navigator, LCD number or progress bar) is beneath the cursor.
Example
The following example returns TRUE when the widget (textEdit) will be beneath the cursor.
main(bool enter)
{
string obj = "TEXT_EDIT1";
bool m;
getValue(obj,"underMouse",m);
DebugN("Under cursor", m);
}
Assignment
TextEdit, Slider, Thumb wheel, Tree widget, Progress bar, Zoom navigator, LCD number, DpTreeView, scheduler.ewo