PowerScript Events

Table of Contents

About events
Activate
AddressChange
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
CategoryCollapsed
CategoryExpanded
CategorySelectionChanged
CategorySelectionChanging
CertificateError
Clicked
Syntax 1: For menus
Syntax 2: For ListView and Toolbar controls
Syntax 3: For Tab controls
Syntax 4: For TreeView controls
Syntax 5: For windows and progress bars
Syntax 6: For Ribbon controls
Syntax 7: 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
DownloadingStart
DownloadingStateChanged
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
Syntax 1: for Connection, DataWindow, DataStore, OLE, OLEObject, OLETxnObject
Syntax 2: for CompressorObject objects
Syntax 3: for ExtractorObject objects
ErrorMessage
ExternalException
FileExists
FileMessage
Finished
Gesture
GetFocus
Help
Hide
HotLinkAlarm
Idle
InputFieldSelected
InsertItem
ItemActivate
ItemChanged
ItemChanging
ItemCollapsed
ItemCollapsing
ItemExpanded
ItemExpanding
ItemPopulate
ItemUnselected
Key
LineDown
LineLeft
LineRight
LineUp
LoseFocus
Modified
Syntax 1: For Ribbon controls
Syntax 2: For all other controls
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
NavigationError
NavigationProgressIndex
NavigationStart
NavigationStateChanged
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)
PdfPrintFinished
ProcessingFile
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
ResourceRedirect
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
Syntax 1: For Ribbon controls
Syntax 2: for all other controls
SelectionChanged
Syntax 1: For Listboxes
Syntax 2: For Tab controls
Syntax 3: For TreeView controls
Syntax 4: For Ribbon controls
SelectionChanging
Syntax 1: For Tab controls
Syntax 2: For TreeView controls
Show
SizeCompleted
Sort
Syntax 1: For ListView controls
Syntax 2: For TreeView controls
SQLPreview
Start
Syntax 1: for Animation controls
Syntax 2: for CompressorObject and ExtractorObject objects
Stop
Stroke
SyncPreview
SystemError
SystemKey
Timer
TitleTextChanged
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.