| 4D v13.4Form Events | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v13.4
 Form Events 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Constant | Type | Value | Comment | 
| On Activate | Longint | 11 | The form’s window becomes the frontmost window | 
| On After Edit | Longint | 45 | The contents of the enterable object that has the focus has just been modified | 
| On After Keystroke | Longint | 28 | A character is about to be entered in the object that has the focus. Get edited text returns the object's text including this character. | 
| On After Sort | Longint | 30 | (List box only) A standard sort has just been carried out in a list box column | 
| On Arrow Click | Longint | 38 | (3D buttons only) The “arrow” area of a 3D button is clicked | 
| On Before Data Entry | Longint | 41 | (List box only) A list box cell is about to change to editing mode | 
| On Before Keystroke | Longint | 17 | A character is about to be entered in the object that has the focus. Get edited text returns the object's text without this character. | 
| On Begin Drag Over | Longint | 46 | An object is being dragged | 
| On Begin URL Loading | Longint | 47 | (Web areas only) A new URL is loaded in the Web area | 
| On bound variable change | Longint | 54 | The variable bound to a subform is modified. | 
| On Clicked | Longint | 4 | A click occurred on an object | 
| On Close Box | Longint | 22 | The window’s close box has been clicked | 
| On Close Detail | Longint | 26 | You left the input form and are going back to the output form | 
| On Collapse | Longint | 44 | (Hierarchical lists and hierarchical list boxes) An element of the hierarchical list or hierarchical list box has been collapsed using a click or a keystroke | 
| On Column Moved | Longint | 32 | (List box only) A list box column is moved by the user via drag and drop | 
| On Column Resize | Longint | 33 | (List box only) The width of a list box column is modified | 
| On Data Change | Longint | 20 | Object data has been modified | 
| On Deactivate | Longint | 12 | The form’s window ceases to be the frontmost window | 
| On Delete Action | Longint | 58 | (Hierarchical lists and List boxes) The user attempts to delete an item | 
| On Display Detail | Longint | 8 | A record is about to be displayed in a list or a row is about to be displayed in a list box. | 
| On Double Clicked | Longint | 13 | A double click occurred on an object | 
| On Drag Over | Longint | 21 | Data could be dropped onto an object | 
| On Drop | Longint | 16 | Data has been dropped onto an object | 
| On End URL Loading | Longint | 49 | (Web areas only) All the resources of the URL have been loaded | 
| On Expand | Longint | 43 | (Hierarchical lists and hierarchical list boxes) An element of the hierarchical list or hierarchical list box has been expanded using a click or a keystroke | 
| On Footer Click | Longint | 57 | (List boxes only) A click occurs in the footer of a list box or a list box column | 
| On Getting Focus | Longint | 15 | A form object is getting the focus | 
| On Header | Longint | 5 | The form’s header area is about to be printed or displayed | 
| On Header Click | Longint | 42 | (List box only) A click occurs in a column header of the list box | 
| On Load | Longint | 1 | The form is about to be displayed or printed | 
| On Load Record | Longint | 40 | During entry in list, a record is loaded during modification (the user clicks on a record line and a field changes to editing mode) | 
| On Long Click | Longint | 39 | (3D buttons only) A 3D button is clicked and the mouse button remains pushed for a certain lapse of time | 
| On Losing Focus | Longint | 14 | A form object is losing the focus | 
| On Mac toolbar button | Longint | 55 | The user clicks on the tool bar management button under Mac OS. | 
| On Menu Selected | Longint | 18 | A menu item has been chosen | 
| On Mouse Enter | Longint | 35 | The mouse cursor enters the graphic area of an object | 
| On Mouse Leave | Longint | 36 | The mouse cursor leaves the graphic area of an object | 
| On Mouse Move | Longint | 37 | The mouse cursor moves (at least one pixel) within the graphic area of an object | 
| On Open Detail | Longint | 25 | A record is double clicked and you are going to the input form | 
| On Open External Link | Longint | 52 | (Web areas only) An external URL has been opened in the browser | 
| On Outside Call | Longint | 10 | The form received a CALL PROCESS call | 
| On Page Change | Longint | 56 | The current page of the form is changed | 
| On Picture Scroll | Longint | 59 | The user scrolls the contents of a picture field or variable using the mouse or keyboard. | 
| On Plug in Area | Longint | 19 | An external object requested its object method to be executed | 
| On Printing Break | Longint | 6 | One of the form’s break areas is about to be printed | 
| On Printing Detail | Longint | 23 | The form’s detail area is about to be printed | 
| On Printing Footer | Longint | 7 | The form’s footer area is about to be printed | 
| On Resize | Longint | 29 | The form window is resized | 
| On Row Moved | Longint | 34 | (List box only) A list box row is moved by the user via drag and drop | 
| On Selection Change | Longint | 31 | 
 | 
| On Timer | Longint | 27 | The number of ticks defined by the SET TIMER command has passed | 
| On Unload | Longint | 24 | The form is about to be exited and released | 
| On URL Filtering | Longint | 51 | (Web areas only) A URL was blocked by the Web area | 
| On URL Loading Error | Longint | 50 | (Web areas only) An error occurred when the URL was loading | 
| On URL Resource Loading | Longint | 48 | (Web areas only) A new resource is loaded in the Web area | 
| On Validate | Longint | 3 | The record data entry has been validated | 
| On Window Opening Denied | Longint | 53 | (Web areas only) A pop-up window has been blocked | 
	Product:  4D
	Theme:  List of constant themes