ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The MouseCursor property is used to identify and change the hover cursor defined for a control, window or page.
Reminder: You can define:
  • the hover cursor used by a window control or window in the "UI" tab of the control or window description.
  • the hover cursor used by a page control or page in the "Details" tab of the control or page description window.
Example
// Modify the cursor of the BTN_Validate button
BTN_Validate.MouseCursor = curHelp
Syntax
Android

Identifying the hover cursor used for a window or window control Hide the details

<Cursor name> = <Element used>.MouseCursor
<Cursor name>: Character string or integer constant
Name of the cursor used for the specified control or window. Can correspond to:
  • A specific cursor name (file with a .CUR or .ANI extension):
    • name of the cursor if the file is found in the current directory,
    • name and full path of the cursor if the file is found in a directory other than the current directory.

      Android .ANI custom mouse cursors are not supported in Java.
  • A preset cursor identified by one of the following constants:
    curArrowStandard arrow
    curCrossStandard cross
    curForbiddenSign not allowed
    curHandHand
    curHelpHelp on an object
    curIbeamInput cursor
    curSizeCross arrow cursor
    curSizeNESWNorth East/South West arrow
    curSizeNSNorth/South arrow
    curSizeNWSENorth West/South East arrow
    curSizeWEEast/West arrow
    curSystemHandSystem hand
    curUpArrowUp arrow
    curWaitHourglass
<Element used>: Control name or window name
Name of the control or window whose associated cursor must be found.
Android

Changing the hover cursor defined for a window control or window Hide the details

<Element used>.MouseCursor = <Cursor name>
<Element used>: Control name or window name
Name of the control or window whose cursor must be modified
<Cursor name>: Character string or integer constant
Name of the cursor to use. Can correspond to:
  • A specific cursor name (file with a .CUR or .ANI extension):
    • name of the cursor if the file is found in the current directory,
    • name and full path of the cursor if the file is found in a directory other than the current directory.

      Android .ANI custom mouse cursors are not supported in Java.
  • A preset cursor identified by one of the following constants:
    curArrowStandard arrow
    curCrossStandard cross
    curForbiddenSign not allowed
    curHandHand
    curHelpHelp on an object
    curIbeamInput cursor
    curSizeCross arrow cursor
    curSizeNESWNorth East/South West arrow
    curSizeNSNorth/South arrow
    curSizeNWSENorth West/South East arrow
    curSizeWEEast/West arrow
    curSystemHandSystem hand
    curUpArrowUp arrow
    curWaitHourglass
Remarks
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/29/2024

Send a report | Local help