method ShowErrorHint(Hint: String[, FieldName: String])
Display the Error Hint for a field or component.
ShowErrorHint method syntax has these named arguments:
Parameter |
Description |
|---|---|
Hint |
Required. Error hint to be displayed. |
Field Name |
Optional. Name of the field or component to have the error hint displayed. Defaults to the current field. |
For example in Form Designer:
Self.ShowErrorHint("Hello","eEdit1")
would show the hint "Hello" for the eEdit1 component.
For example in Scripted Forms:
scForm1.ShowErrorHint("Select Product","Product")
would show the hint "Select Product" for the Product field.