Occurs just before the list provided by a DropDownDataWindow is displayed. Use this event to retrieve new data for the child DataWindow.

A DropDownDataWindow is a drop-down choice list whose data is provided by retrieving data for another DataWindow. To create a DropDownDataWindow, you assign the DropDownDataWindow edit style to a column and associate it with another DataWindow that retrieves the data for the choice list.

PowerBuilder event information

Event ID: pbm_dwndropdown

DropDown is not a standard PowerBuilder DataWindow event. To write a script for this event, you must first define a user-defined event for the event ID pbm_dwndropdown.

Return Values

There are no special outcomes for this event. The only code is:

0 -- Continue processing