PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • 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
..MouseCursor is used to find out and modify the rollover cursor defined for a 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.
Example
// Modify the cursor of the BTN_Validate button
BTN_Validate..MouseCursor = curHelp
Syntax
WINDEVJavaUser code (UMC)

Finding out the rollover cursor used for a window or for a window control Hide the details

<Cursor name> = <Control name>..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.
  • 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
<Control name>: Character string (with or without quotes)
Name of the control or window whose associated cursor must be found.
WINDEVWindowsJavaUser code (UMC)

Modifying the rollover cursor defined for a window control or for a window Hide the details

<Control name>..MouseCursor = <Cursor name>
<Control name>: Character string (with or without quotes)
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.
  • 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
WINDEVWindowsJava

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.
WINDEVJava

Limits

WINDEV ..MouseCursor only applies to the:
  • Window controls.
  • Windows.
  • Versions 19 and later
    Control templates.
    New in version 19
    Control templates.
    Control templates.
This property cannot be used with:
  • The menus
  • The table rows
  • The table columns
Java ..MouseCursor only applies to the following elements:
  • Button.
  • Static control.
  • Edit control.
  • Image.
  • Check Box.
  • Radio Button.
  • List Box.
  • Combo Box.
  • TreeView.
  • Tab.
  • Table.
  • Table column.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment