Unsupported Events for Controls in Web Forms – PB Docs 120


Unsupported Events for Controls in Web Forms

Some PowerBuilder control events cannot be used in applications deployed to ASP.NET.

This table 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:

Event Controls for which the event is not supported
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, ListBox, 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
RichTextCurrentStyleChanged DataWindow
RichTextLimitError DataWindow
RichTextLoseFocus DataWindow
RightClicked ListView
RightDoubleClicked All controls
ScrollHorizontal DataWindow
ScrollVertical DataWindow
Selected Menu
Sort ListView, TreeView
SystemKey Window
ToolbarMoved Window
ValueChanged DatePicker

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.

Partially supported control events

  • 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.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x