DateSelected
PowerScript event
Description
Occurs when the user selects a date using the mouse.
Event ID
|
Event ID |
Objects |
|---|---|
|
pbm_mcdatesel |
MonthCalendar |
Arguments
None
Return Values
Long.
Return code: Ignored
Usage
This event is similar to DateChanged, but it occurs only when the
user has selected a specific date using the mouse. The DateChanged event
occurs whenever the date changes — when a date is selected using the
mouse, when the date is changed in a script, and when the user uses the
arrow key on the keyboard to select a different date or the arrow on the
control to scroll to a different month.
Examples
The following script in the DateSelected event writes the date the
user selected using the mouse to a single-line edit box:
|
1 2 3 4 5 6 7 |
date dt_selected integer li_ret string ls_date li_ret = GetSelectedDate( dt_selected) ls_date = string(dt_selected) sle_2.text = ls_date |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest