|
|
|
|
|
InvalidInputShowIcon (Function) In french: SaisieInvalideAfficheIcone
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.
// 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: | | icoBottom | The icon is displayed below the control. | icoLeft | The icon is displayed to the left of the control. | icoRight (Default value) | The icon is displayed to the right of the control. | icoTop | The 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
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|