PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
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
AutomaticErase (Property)
In french: EffacementAutomatique
..AutomaticErase is used to:
  • find out whether an edit control is in "Automatic erase" mode
  • modify the "Automatic erase" characteristic of an edit control.
Note: If an edit control is in "Automatic erase" mode, the value found in the control is automatically selected when entering the control. This characteristic can be configured in the "Details" tab of the description window of control.
Versions 22 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 22
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Example
// Temporarily disables the automatic erase
// to avoid selecting everything during the call to SetFocus

// Stores the current automatic erase
AutoErase is boolean
AutoErase = EDT_Edit1..AutomaticErase
EDT_Edit1..AutomaticErase = False

// Gives focus back to the edit control
SetFocus(EDT_Edit1)

// Restores the automatic erase
EDT_Edit1..AutomaticErase = AutoErase
Syntax

Finding out the "Automatic erase" mode Hide the details

<Current Mode> = <Element Name>..AutomaticErase
<Current Mode>: Boolean
  • True if the "Automatic erase" mode is enabled,
  • False otherwise.
<Element Name>: Character string (with or without quotes)
Name of element used: edit control or Text table column.

Modifying the "Automatic erase" mode Hide the details

<Element Name>..AutomaticErase = <New Mode>
<Element Name>: Character string (with or without quotes)
Name of element used: edit control or Text table column.
<New Mode>: Boolean
  • True to enable the "Automatic erase" mode,
  • False otherwise.
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment