AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
The AutomaticErase property 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 "Borrado automático" mode, the value in the field is automatically selected when the field is entered. This characteristic can be configured in the "Details" tab of the description window of control.
Ejemplo
// 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 = True
Sintaxis

Finding out the "Automatic erase" mode Ocultar los detalles

<Current mode> = <Control used>.AutomaticErase
<Current mode>: Boolean
  • True if "Automatic deletion" mode is enabled,
  • False otherwise.
<Control used>: Control name
Name of item handled:
  • Edit control,
  • Text table column.

Modifying the "Automatic erase" mode Ocultar los detalles

<Control to use>.AutomaticErase = <New mode>
<Control to use>: Control name
Name of item handled:
  • Edit control,
  • Text table column.
<New mode>: Boolean
  • True to activate "Automatic deletion" mode,
  • False otherwise.
Versión mínima requerida
  • Versión 12
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 10/05/2025

Señalar un error o enviar una sugerencia | Ayuda local