PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • Preset cursors
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The Property MouseCursor allows you to know and modify the hover cursor defined for an control, a window or a page.
Reminder: You can define:
  • the rollover cursor used by a window control or by a window in the "UI" tab of the description window of the control or window.
  • the rollover cursor used by a page control or by a page in the "Details" tab of the description window of the control or page.
Versions 24 and later
Android This property is now available for Android applications.
New in version 24
Android This property is now available for Android applications.
Android This property is now available for Android applications.
Example
// Modify the cursor of the BTN_Validate button
BTN_Validate.CursorMouse = curHelp
Syntax
AndroidJavaUser code (UMC)

Finding out the rollover cursor used for a window or for a 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.
      Java ".CUR" or ".ANI" custom mouse cursors are not supported in Java.
      Android .ANI custom mouse cursors are not supported in Java.
  • A preset cursor identified by one of the following constants:
    curHelpHelp for an object
    curIbeamInput cursor
    curCrossStandard cross
    curArrowStandard arrow
    curUpArrowUp arrow
    curForbiddenSign not allowed
    curHandHand
    curSystemHandSystem hand Java Cursor identical to curHand.
    curWaitHourglass
    curSizeCross Arrow cursor
    curSizeNESWNorth East/South West arrow
    curSizeNWSENorth West/South East arrow
    curSizeWEWest East arrow
    curSizeNSNorth South arrow
<Element used>: Control name or window name
Name of the control or window whose associated cursor must be found.
AndroidJavaUser code (UMC)

Modifying the rollover cursor defined for a window control or for a 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.
      Java ".CUR" or ".ANI" custom mouse cursors are not supported in Java.
      Android .ANI custom mouse cursors are not supported in Java.
  • A preset cursor identified by one of the following constants:
    curHelp Help for an object
    curIbeamInput cursor
    curCrossStandard cross
    curArrowStandard arrow
    curUpArrowUp arrow
    curForbiddenSign not allowed
    curHandHand
    curSystemHandSystem hand
    Java Cursor identical to curHand.
    curWaitHourglass
    curSizeCross Arrow cursor
    curSizeNESWNorth East/South West arrow
    curSizeNWSENorth West/South East arrow
    curSizeWEWest East arrow
Remarks
Java

Preset cursors

The preset cursors correspond to the Windows cursors and they can be modified via the control panel (or the desktop themes). The illustrations correspond to the default values and they can change according to the user preferences.
Java

Limits

Java The Property MouseCursor applies only to the following items:
  • Button.
  • Libellé.
  • Edit control.
  • Image.
  • Check Box.
  • Radio Button.
  • List Box.
  • Combo Box.
  • TreeView.
  • Tab.
  • Table.
  • Table column.
Android The Property MouseCursor is only available from Android 7.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment