ValidationMsg
property (DataWindow object)
Description
The message that PowerBuilder displays instead of the default
message when an ItemError event occurs in the column.
Applies to
Column controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.columnname.ValidationMsg |
Describe and Modify argument:
|
1 |
"columnname.ValidationMsg { = ' string ' }" |
|
Parameter |
Description |
|---|---|
|
columnname |
The column for which you want to get or set the |
|
string |
(exp) A string specifying the error message you |
Usage
In the painter
Set the value using the Column Specifications view, Validation
Message option.
Examples
|
1 2 3 4 5 6 7 |
string setting setting = dw1.Object.emp_salary.ValidationMsg dw1.Object.emp_salary.ValidationMsg = & "Salary must be between 10,000 and 100,000" setting = dw1.Describe("emp_salary.ValidationMsg") dw1.Modify("emp_salary.ValidationMsg = " & "'Salary must be between 10,000 and 100,000'") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest