ValueChanged
PowerScript event
Description
Occurs when the Value property in a DatePicker control
changes.
Event ID
|
Event ID |
Objects |
|---|---|
|
pbm_dtpvaluechanged |
DatePicker |
Arguments
|
Argument |
Description |
|---|---|
|
flag |
Unsigned long that defaults to 0 and can be |
|
dtm |
The new DateTime value |
Return Values
Long.
Return code: Ignored.
Usage
When a user selects a date from the drop-down calendar or changes
the date using the up-down control, the DateTime value selected is passed
to the ValueChanged event.
Examples
This code in the ValueChanged event script displays a confirmation
message to the user:
|
1 2 3 |
MessageBox("Start date", "You selected " + & String(dtm, "mmm dd, yyyy") + ".~r~n" + & "If this is incorrect, please select again.") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest