PowerScript Events

Table of Contents

About events
Activate
BeginDownload
BeginDrag
Syntax 1: For ListView controls
Syntax 2: For TreeView controls
BeginLabelEdit
Syntax 1: For ListView controls
Syntax 2: For TreeView controls
BeginLogScan
BeginRightDrag
Syntax 1: For ListView controls
Syntax 2: For TreeView controls
BeginSync
BeginUpload
Clicked
Syntax 1: For menus
Syntax 2: For ListView controls
Syntax 3: For Tab controls
Syntax 4: For TreeView controls
Syntax 5: For windows and progress bars
Syntax 6: For other controls
Close
Syntax 1: For the application object
Syntax 2: For OLE controls
Syntax 3: For windows
CloseQuery
CloseUp
ColumnClick
ConnectMobiLink
Constructor
DataChange
DateChanged
DateSelected
DBError
DBNotification
Deactivate
DeleteAllItems
DeleteItem
Syntax 1: For ListView controls
Syntax 2: For TreeView controls
Destructor
DisconnectMobiLink
DisplayMessage
DoubleClicked
Syntax 1: For ListBox, PictureListBox, ListView, and Tab controls
Syntax 2: For TreeView controls
Syntax 3: For windows
Syntax 4: For other controls
DragDrop
Syntax 1: For ListBox, PictureListBox, ListView, and Tab controls
Syntax 2: For TreeView controls
Syntax 3: For windows and other controls
DragEnter
DragLeave
DragWithin
Syntax 1: For ListBox, PictureListBox, ListView, and Tab controls
Syntax 2: For TreeView controls
Syntax 3: For windows and other controls
DropDown
EndDownload
EndLabelEdit
Syntax 1: For ListView controls
Syntax 2: For TreeView controls
EndLogScan
EndSync
EndUpload
Error
ErrorMessage
ExternalException
FileExists
FileMessage
Gesture
GetFocus
Help
Hide
HotLinkAlarm
Idle
InputFieldSelected
InsertItem
ItemActivate
ItemChanged
ItemChanging
ItemCollapsed
ItemCollapsing
ItemExpanded
ItemExpanding
ItemPopulate
Key
LineDown
LineLeft
LineRight
LineUp
LoseFocus
Modified
MouseDown
Syntax 1: For RichTextEdit controls
Syntax 2: For windows
MouseMove
Syntax 1: For RichTextEdit controls
Syntax 2: For windows
MouseUp
Syntax 1: For RichTextEdit controls
Syntax 2: For windows
Moved
Notify
Open
Syntax 1: For the application object
Syntax 2: For windows
Other
PageDown
PageLeft
PageRight
PageUp
PictureSelected
PipeEnd
PipeMeter
PipeStart
PrintFooter (obsolete)
PrintHeader (obsolete)
ProgressIndex
PropertyChanged
PropertyRequestEdit
RButtonDown
Syntax 1: For controls and windows, except RichTextEdit
Syntax 2: For RichTextEdit controls
RButtonUp
RecognitionResult
RemoteExec
RemoteHotLinkStart
RemoteHotLinkStop
RemoteRequest
RemoteSend
Rename
Resize
RightClicked
Syntax 1: For ListView and Tab controls
Syntax 2: For TreeView controls
RightDoubleClicked
Syntax 1: For ListView and Tab controls
Syntax 2: For TreeView controls
Save
SaveObject
Selected
SelectionChanged
Syntax 1: For Listboxes
Syntax 2: For Tab controls
Syntax 3: For TreeView controls
SelectionChanging
Syntax 1: For Tab controls
Syntax 2: For TreeView controls
Show
Sort
Syntax 1: For ListView controls
Syntax 2: For TreeView controls
SQLPreview
Start
Stop
Stroke
SyncPreview
SystemError
SystemKey
Timer
ToolbarMoved
UploadAck
UserString
ValueChanged
ViewChange
WaitForUploadAck
WarningMessage

About this chapter

This chapter discusses events in general and then documents the arguments, event IDs, and return codes for the events defined for all PowerBuilder controls and objects except the DataWindow and DataStore. Usage notes and examples provide information about what is typically done in an event's script.

For information about DataWindow and DataStore events, see DataWindow Reference.

Contents

The events are listed in alphabetical order.