AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
MandatoryInputMessage (Property)
In french: TexteSaisieObligatoire
The MandatoryInputMessage property is used to identify and set the message that will be displayed if the control is left empty (when the MandatoryInput property is enabled).
Example
EDT_DateBirth.MandatoryInputMessage = ...
"Enter your date of birth. We'll wish you a Happy Birthday!"
Syntax

Identifying the message displayed if the input is required Hide the details

<Result> = <Control used>.MandatoryInputMessage
<Result>: Character string
  • Error message displayed if the input is required (MandatoryInput property set to True),
  • Empty string if the default error message is used ("Required input").
<Control used>: Control name
Name of the control used. This control can be:
  • an edit control,
  • a Check Box control,
  • a Radio Button control,
  • a Combo Box control,
  • a Rating control.

Changing the message displayed if the input is required Hide the details

<Control used>.MandatoryInputMessage = <Message>
<Control used>: Control name
Name of the control used. This control can be:
  • an edit control,
  • a Check Box control,
  • a Radio Button control,
  • a Combo Box control,
  • a Rating control.
<Message>: Character string
  • Error message displayed if the input is required (MandatoryInput property set to True),
  • Empty string if the default error message is used ("Required input").
Versión mínima requerida
  • Versión 26
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

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