ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Invalid input functions
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
Warning
From version 26, It is recommended to use the new required or invalid input check. For more details, see Required or invalid input.
Shows an error icon next to an Edit control to indicate that the input is invalid.
Example
// Exit from EDT_PinCode
IF Length(EDT_PinCode)<4 THEN
InvalidInputShowIcon("The PIN code must contain at least 4 characters.",
icoLeft + icoTop)
SetFocusAndReturnToUserInput(EDT_PinCode)
END
Syntax
InvalidInputShowIcon(<Tooltip text> [, <Position> [, <Icon>]])
<Tooltip text>: Character string
Content of the tooltip displayed when the icon is hovered over or clicked on.
<Position>: Optional integer
Position of the displayed icon:
icoBottomThe icon is displayed below the control.
icoLeftThe icon is displayed to the left of the control.
icoRight
(Default value)
The icon is displayed to the right of the control.
icoTopThe icon is displayed above the control.
<Icon>: Optional character string
Full name of the image to display. This parameter can correspond to any type of image. It will be displayed as a 15 x 15 icon.
If this parameter is not specified, the default icon (! in a red circle) will be displayed.
Remarks
  • InvalidInputShowIcon must be called from an Edit control, otherwise it will have no effect.
  • If the value of the control changes, the icon will be deleted
Business / UI classification: UI Code
Component: wd300obj.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help