ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The MouseCursor property gets and sets the cursor displayed when pointing over a control, window or page.
Reminder: You can define the hover cursor used in the "UI" tab of the element description window.
Example
// Modification du curseur du bouton BTN_Valider
BTN_Valider.CurseurSouris = curHelp
Syntax
Android

Getting 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 (.CUR or.ANI extension):
    • name of the cursor if the file is located in the current directory,
    • name and full path of the cursor if the file is located 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 for which the associated cursor is to 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 for which you want to change the cursor
<Cursor name>: Character string or integer constant
Name of the cursor to be used. Can correspond to:
  • A specific cursor name (.CUR or.ANI extension):
    • name of the cursor if the file is located in the current directory,
    • name and full path of the cursor if the file is located 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: 09/21/2024

Send a report | Local help