Skip to content

Events for TreeView

View event list in alphabetical order.

Name Description Defining Class
OnCheckStateChange Fired when the checked state changes for an item Fired when the checked state changes for an item, by either clicking on the checkbox or pressing the spacebar. TreeView
OnCreateTree Fired when the tree is created OnCreateTree is the key event of this class. TreeView

Inherited Events from AbstractTreeView

Name Description Defining Class
OnBeginDrag Fired on a mouse drag operation using the left mouse button Fired on a mouse drag operation using the left mouse button. AbstractTreeView
OnBeginLabelEdit Fired just prior to the user starting in-line editing of an item label AbstractTreeView
OnBeginRDrag Fired on a mouse drag operation using the right mouse button Fired on a mouse drag operation using the right mouse button. AbstractTreeView
OnDeleteItem Fired prior to item deletion Fired prior to item deletion, giving the developer the opportunity to perform any related cleanup. AbstractTreeView
OnEndLabelEdit Fired if the user completes the edit when user performs in-line editing of the label AbstractTreeView
OnGetDispInfo Fired when control receives TVN_GETDISPINFO notification Fired when control receives TVN_GETDISPINFO notification. AbstractTreeView
OnGetInfoTip Fired when info tips for an item is requested AbstractTreeView
OnItemChanged Fired whenever the current item has just changed The OnItemChanged event is fired whenever the current item has just changed. AbstractTreeView
OnItemChanging Fired whenever the current item is about to change The OnItemChanging event is fired whenever the current item is about to change. AbstractTreeView
OnItemClick Fired whenever a user clicks an item The OnItemClick event is fired whenever a user clicks an item to make it become the current item. AbstractTreeView
OnItemCollapsed Fired whenever a parent item has just been collapsed and its children hidden The OnItemCollapsed event is fired whenever a parent item has just been collapsed and its children hidden. AbstractTreeView
OnItemCollapsing Fired whenever a parent item is about to be collapsed The OnItemCollapsing event is fired whenever a parent item is about to be collapsed. AbstractTreeView
OnItemDblClick Fired whenever a user double-clicks an item The OnItemDblClick event is fired whenever a user double-clicks an item. AbstractTreeView
OnItemEnter Fired whenever a user presses Enter on an item The OnItemEnter event is fired whenever a user presses Enter on an item. AbstractTreeView
OnItemExpanded Fired whenever a parent item has just been expanded to display its child items The OnItemExpanded event is fired whenever a parent item has just been expanded to display its child items. AbstractTreeView
OnItemExpanding Fired whenever an item is about to be opened The OnItemExpanding event is fired whenever an item is about to be opened. AbstractTreeView
OnItemRClick Fired whenever a user clicks an item using the right mouse button The OnItemRClick event is fired whenever a user clicks an item using the right mouse button. AbstractTreeView
OnItemRDblClick Fired whenever a user double-clicks an item using the right mouse button The OnItemRDblClick event is fired whenever a user double-clicks an item using the right mouse button. AbstractTreeView
OnKeyDown Fired when a key is pressed Fired when a key is pressed. AbstractTreeView
OnSetDispInfo Fired when control receives TVN_SETDISPINFO notification Fired when control receives TVN_SETDISPINFO notification. AbstractTreeView

Inherited Events from List

Name Description Defining Class
OnChange Called when the data in this object changes The OnChange message is a "hook" procedure for you to use for any action you wish to occur when the data in this object changes. List
OnKillFocus Sent whenever the object is about to lose the focus This event message is sent whenever the object is about to lose the focus. List
OnSetFocus Sent whenever windows is about to give this object the focus This event message is sent whenever windows is about to give this object the focus. List
Prompt_Callback Sends a callback event to an object that requested a prompt object List

Inherited Events from DfBaseList

Name Description Defining Class
Item_Change A programming hook to perform an action when moving to another item The Item_Change event is triggered each time the current item has changed (navigation is about to move to another item). DfBaseList
Key Augmented to implement the GUI keyboard interface The Key message is augmented to implement the GUI keyboard interface. DfBaseList

Inherited Events from DfBaseUIWindow

Name Description Defining Class
Command Sent from external controls Command messages are sent from external controls. DfBaseUIWindow

Inherited Events from DfBaseObject

Name Description Defining Class
Form_Button_Mouse_Down A notification that the form's button has been selected with the mouse Form_button_mouse_down is a notification that the form's button has been selected with the mouse. DfBaseObject
Form_Button_Notification A notification of a form button event Form_button_notification is a notification of a form button event. DfBaseObject
Notify_Application_Activation Sends OnActivateApp or OnDeactivateApp This procedure is augmented to send OnActivateApp when bIsActivating is True and OnDeactivateApp when bIsActivating is False. DfBaseObject
OnDeltaPos Provides actions based on the amount of change in this object and/or its value at the point the focus is moved off it The OnDeltaPos event message has no definition by default. DfBaseObject

Inherited Events from cUIObject

Name Description Defining Class
Activating Sent by the object to itself whenever the object is first activated (placed on the screen) cUIObject
Deactivating Sent to the object when it is being removed from the focus tree The Deactivating event is sent to the object when it is being removed from the focus tree. cUIObject
Entering Fires when the focus is about to move to a new object, sent to the object receiving the focus cUIObject
Entering_Scope Sent to the object if its scope_state is true, and one of the objects within its scope takes the focus cUIObject
Error_Report Used by the error object to display errors The Error_Report procedure is used by the error object to display errors. cUIObject
Exiting Fires when the focus is about to move to a new object, sent to the object losing the focus When the focus is about to move to a new object, the exiting event is sent to the object losing the focus. cUIObject
Exiting_Scope Sent whenever the focus is moving to an object that is outside the current scope The Exiting_Scope event is sent whenever the focus is moving to an object that is outside the current scope. cUIObject
Mouse_Click Sent whenever the first button of the mouse is double clicked on an item or in the edit window of the object cUIObject
Mouse_Click2 Sent whenever the second button of the mouse is double clicked on an item or in the edit window of the object cUIObject
Mouse_Down Sent whenever the first button of the mouse is pressed down while on an item or in the edit window of the object cUIObject
Mouse_Down2 Sent whenever the second button of the mouse is pressed down while on an item or in the edit window of the object cUIObject
Mouse_Drag Sent whenever the first button of the mouse is being held down while users drag the mouse cursor from one item or edit line of the object to the next cUIObject
Mouse_Drag2 Sent whenever the second button of the mouse is being held down while users drag the mouse cursor from one item or edit line of the object to the next cUIObject
Mouse_Up Sent whenever the first button of the mouse is released while on an item is in the edit window of the object Mouse_Up is sent whenever the first (normally the left) mouse button is released. cUIObject
Mouse_Up2 Sent whenever the second button of the mouse is released while on an item is in the edit window of the object Mouse_Up2 is sent whenever the second (normally the right) mouse button is released. cUIObject
OnChildWrapping Called any time a wrapping event occurs The OnChildWrapping message is sent any time a wrapping event occurs. cUIObject
OnEnterArea Hook for entering an area, sent to the entered object's container and its parent containers cUIObject
OnEnterObject Hook for entering an object, sent to the entered object Called after the navigation event is complete, so Focus(Self) is always the "to" object. cUIObject
OnExitArea Hook for exiting an area, sent to the exited object's container and its parent containers cUIObject
OnExitObject Hook for exiting an object, sent to the exited object Called after the navigation event is complete, so Focus(Self) is always the "to" object. cUIObject
Page Used internally to create a Windows control for a DataFlex object Used internally to create a Windows control for a DataFlex object. cUIObject
Page_Delete Used internally to delete a Windows control for a DataFlex object Used internally to delete a Windows control for a DataFlex object. cUIObject

Inherited Events from cObject

Name Description Defining Class
Construct_Object Object constructor. cObject
Destroy_Object Sent when an object is about to be destroyed The Destroy_Object event is sent to an object when it is about to be destroyed. cObject
End_Construct_Object End of object constructor. cObject