Table 8-8 lists unsupported events, the controls on which they are not supported, and any notes that apply to specific controls. If your application uses these events, rework it to avoid their use.
Custom events Custom events based on PowerBuilder Message (pbm) event IDs are not supported in Web Forms applications. However, you can call user-defined events without event IDs using the TriggerEvent and PostEvent functions.
Event |
Controls |
---|---|
BeginDrag |
All controls |
BeginLabelEdit |
ListView, TreeView |
BeginRightDrag |
All controls |
Clicked |
DatePicker, MonthCalendar (supported for DataWindow, but not triggered on editable controls that already have focus) |
CloseUp |
DatePicker |
Deactivate |
Window |
DeleteAllItems |
ListView |
DoubleClicked |
DatePicker, DropDownListBox, DropDownPictureListBox, HProgressBar, MonthCalendar, RichTextEdit, Tab, VProgressBar, Window (supported for other controls, but the Clicked event is not triggered on a double-click in a Picture or StaticText control) |
DragDrop |
All controls |
DragEnter |
All controls |
DragLeave |
All controls |
DragWithin |
All controls |
DropDown |
DatePicker |
EditChanged |
DataWindow |
EndLabelEdit |
ListView, TreeView |
FileExists |
RichTextEdit |
GetFocus |
All controls |
Help |
All controls |
Hide |
Window |
HotLinkAlarm |
Window |
InputFieldSelected |
RichTextEdit |
ItemActivate |
ListView |
ItemChanged |
DataStore |
Key |
All controls |
LoseFocus |
All controls |
MouseDown |
RichTextEdit, Window |
MouseMove |
RichTextEdit, Window |
MouseUp |
RichTextEdit, Window |
Notify |
TreeView |
Other |
All controls |
PrintEnd |
DataWindow |
PrintMarginChange |
DataWindow |
PrintPage |
DataWindow |
PrintStart |
DataWindow |
RButtonDown |
MultiLineEdit, SingleLineEdit, HScrollBar, VScrollBar |
RButtonUp |
RichTextEdit |
RemoteExec |
Window |
RemoteHotLinkStart |
Window |
RemoteHotLinkStop |
Window |
RemoteRequest |
Window |
RemoteSend |
Window |
RightClicked |
ListView |
RightDoubleClicked |
All controls |
ScrollHorizontal |
DataWindow |
ScrollVertical |
DataWindow |
Selected |
Menu |
Sort |
ListView, TreeView |
SystemKey |
Window |
ToolbarMoved |
Window |
ValueChanged |
DatePicker |
Clicked event In a Web Forms application, if an editable DataWindow text column does not have focus, clicking it sets the focus on the column and triggers the Clicked event. If the column already has focus, clicking it does not trigger the Clicked event. This intended behavior reduces postbacks.
Selected event The Selected event on a menu is not generally supported in Web Forms applications. However, if you set the AutoTriggerMenuSelectedEvents global property to true, the Selected event is supported for simple tasks that can be run prior to the rendering of Web Forms in a client browser.