Object | --Persistent | --Component | --Control
Located in File: /controls.inc.php
Controls are visual components, meaning the user can see them and possibly interact with them at runtime. All controls have properties, methods, and events that describe aspects of their appearance, such as the position of the control, the cursor or hint associated with the control, methods to paint or move the control, and events that respond to user actions.
Control has many protected properties and methods that are used or published by its descendants.
![]() | Cursor | Change the value of Cursor to provide feedback to the user when the mouse pointer enters the control. |
![]() | Height | Specifies the vertical size of the control or form in pixels. |
![]() | Hint | Specifies the text to show in a tooltip when the mouse is over the control for some time. |
![]() | HintAttribute | If control has any Hint, then returns the hint in attribute format for the tag. |
![]() | Layer | Determines the layer in which this control is going to be rendered. |
![]() | Left | Uses the Left property to determine where the left side of the control begins, or to reposition the left side of the control. |
![]() | Top | Uses Top to locate the top of the control, or reposition the control to a different Y coordinate. |
![]() | Width | Specifies the horizontal size of the control or form in pixels. |
![]() | AdjustToLayout | A helper property for Layouts to know if the component should adjust to the layout or not |
![]() | Align | Determines how the control aligns within its container (parent control). |
![]() | Alignment | Specifies the alignment to be used by the control, it depends on the control on how to use this property to show information. |
![]() | Attributes | A property for tag based controls to allow component user to add attributes to the tag |
![]() | Autosize | Determines if the control is going to adjust itself to the parent size |
![]() | Caption | Specifies a text string that identifies the control to the user. |
![]() | Color | Specifies the main color of the control. |
![]() | ControlStyle | An array which holds the control style, with settings for the IDE. |
![]() | DesignColor | Specifies a color to use by the control at design time. |
![]() | DivWrap | Specifies if the control must be wrapped by a div or not |
![]() | DoParentReset | Performs a parent reset if true. |
![]() | Enabled | Controls whether the control responds to mouse, keyboard, and timer events. |
![]() | Font | Determines the Font to be used when generating this control. |
![]() | Hidden | This property, when true, allows controls to generate all code, but don't show the control on the browser. |
![]() | IsLayer | Specifies if this control is a Layer instead of being integrated into the document. |
![]() | JsEvents | Returns a string with all assigned javascript events, ready to be added to a control tag. |
![]() | JSWrapperHiddenFieldName | Gets the name of the hidden field used to submit the value for the event that was fired. |
![]() | Parent | Indicates the parent of the control. |
![]() | ParentColor | Determines where a control looks for its color information. |
![]() | ParentFont | Determines where a control looks for its font information. |
![]() | ParentShowHint | Determines where a control looks to find out if its Help Hint should be shown. |
![]() | PopupMenu | Identifies the pop-up menu associated with the control. |
![]() | ShowHint | Determines whether the control displays a Help Hint when the mouse pointer rests momentarily on the control. |
![]() | Style | Use this property to attach a css style to the control. |
![]() | StyleClass | Normalizes the css style class name |
![]() | Visible | Determines whether the component appears on the browser. |
Defined in class Component |
||
![]() | Name | Specifies the name for the component. The name is used as an identifier and should be unique. |
![]() | Tag | A versatile property of every Component that can be used in any way you want |
![]() | ComponentCount | Indicates the number of components owned by the component. |
![]() | Components | Lists all the components owned by this component. |
![]() | ControlState | A flag to know the state of the control, csLoading, csDesigning |
![]() | DataFieldValue | This property returns the value of the datafield if any. |
![]() | NamePath | Specifies the path to uniquely identify a component, qualified by the owner when required. |
![]() | Owner | Indicates the component that is responsible for streaming and freeing this component. |
Defined in class Persistent |
||
![]() | NamePath | Used to serialize/unserialize. It returns the full path to identify this component. |
![]() | Owner | Owner of the component. |
property Cached (line 1187)
property Cursor (line 2133)
The value of Cursor is one of the available cursors for the browser, in the IDE you have a drop-down list to select a valid value for this property, which can be one of the following:
crPointer - The cursor is a pointer that indicates a link.
crCrossHair - A simple crosshair (e.g., short line segments resembling a "+" sign).
crText - Indicates text that may be selected. Often rendered as an I-bar.
crWait - Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass.
crDefault - The platform-dependent default cursor. Often rendered as an arrow.
crHelp - Help is available for the object under the cursor. Often rendered as a question mark or a balloon.
crEResize - Indicate that some edge is to be moved. For example, the 'se-resize' cursor is used when the movement starts from the south-east corner of the box.
crNEResize - Indicate that some edge is to be moved. For example, the 'se-resize' cursor is used when the movement starts from the south-east corner of the box.
crNResize - Indicate that some edge is to be moved. For example, the 'se-resize' cursor is used when the movement starts from the south-east corner of the box.
crNWResize - Indicate that some edge is to be moved. For example, the 'se-resize' cursor is used when the movement starts from the south-east corner of the box.
crWResize - Indicate that some edge is to be moved. For example, the 'se-resize' cursor is used when the movement starts from the south-east corner of the box.
crSWResize - Indicate that some edge is to be moved. For example, the 'se-resize' cursor is used when the movement starts from the south-east corner of the box.
crSResize - Indicate that some edge is to be moved. For example, the 'se-resize' cursor is used when the movement starts from the south-east corner of the box.
crSEResize - Indicate that some edge is to be moved. For example, the 'se-resize' cursor is used when the movement starts from the south-east corner of the box.
crAuto - The UA determines the cursor to display based on the current context.
property Height (line 2089)
Use the Height property to read or change the height of the control.
property Hint (line 2158)
Use the Hint property to provide a string of help text, either as a Help Hint or as help text on a particular location such as a status bar.
A Help Hint is a box containing help text that appears for a control when the user moves the mouse pointer over the control and pauses momentarily.
To set up Help Hints:
Specify the Hint property of each control for which a Help Hint should appear.
Set the ShowHint property of each appropriate control to true, or set the ParentShowHint property of all controls to true and set the ShowHint property of the form to true.
property HintAttribute (line 1060)
This function returns the attribute for the hint that can be included in any tag. The attribute's name is "title". If the hint is defined and can be shown a is string with the attribute, otherwise an empty string.
property Layer (line 1658)
This property must match with the ActiveLayer property of the parent control for the component to be shown. It allows you to create stacked interfaces and then switch the active stack by changing ActiveLayer.
If parent control does not implement ActiveLayer, you do not have to worry about this property.
property Left (line 2047)
If the control is contained in another control, the Left and Top properties are relative to the parent control. If the control is contained directly by the form, the property values are relative to the form. For forms, the value of the Left property is always 0.
property Top (line 2065)
The Top property, like the Left property, is the position of the control relative to its container. Thus, if a control is contained in a Panel, the Left and Top properties are relative to the panel. If the control is contained directly by the form, it is relative to the form. For forms, the value of the Top property is always 0
property Width (line 2077)
Use the Width property to read or change the width of the control.
property AdjustToLayout (line 699)
If true, the control should adjust to the selected layout. This property can be used by a Layout component to render the component it contains.
property Align (line 1670)
In the current implementation, is only used in a few controls. The goal is to replicate the Align model present in VCL for Windows in VCL for PHP.
property Alignment (line 1684)
For example, Label uses it to align the text to show. If you are a component developer, you can implement this property and use it to change the alignment of information.
property Attributes (line 746)
This is an array property you can use to specify, for tag based controls, some extra attributes to be included in the tag generation.
property Autosize (line 714)
This property can be used by component developers to generate code that adjusts to the size of the parent cell/div/etc. It's useful for templated forms.
property Caption (line 1400)
Use Caption to specify the text string that labels the control.
Caption property which is defined in the Control class. If used by the control, is in sync with the Name when the control is first dropped on the designer. The usage of this property depends on the component, for example, Caption for Button components is the text inside the button while for Page components, is the title of the HTML document.
Note: Controls that display text use either the Caption property or the Text property to specify the text value. Which property is used depends on the type of control. In general, Caption is used for text that appears as a window title or label, while Text is used for text that appears as the content of a control.
property Color (line 1424)
Color property, defined in Control class, usually define the main color for the component, it's responsability of the component developer to use the property to generate the appropiate code and reflect the color setting. This property follows the HTML/CSS color specification, for example: #FF0000 -> red color or can also be "red"
If a control's ParentColor property is true, then changing the Color property of the control's parent automatically changes the Color property of the control. When the value of the Color property is changed, the control's ParentColor property is automatically set to false.
property ControlStyle (line 1978)
Valid settings are:
csAcceptsControls - Indicates to the IDE this control accepts children controls inside.
csImageContent - Indicates to the IDE the content dumped by this component is image binary data.
csSlowRedraw - Indicates to the IDE this component uses javascript and needs more time to get repainted.
csVerySlowRedraw - Indicates to the IDE this component uses javascript and needs a lot more time to get repainted.
csRenderOwner - Indicates to the IDE to render the Owner along with the control.
csDesignEncoding - Indicates to the IDE to use a different encoding for the HTML produced by the component.
csRenderAlso - Indicates to the IDE to also render components of a specific class.
csTopOffset - Indicates to the IDE to capture the control image from different coordinates.
csLeftOffset - Indicates to the IDE to capture the control image from different coordinates.
csTemplateOutput - Indicates this component produces output valid for a template
property DesignColor (line 1701)
This is a property a component developer can use to simplify the design of controls. The goal is that this property is only used at design-time. For example, Label control uses it to allow you set a background color which will only be visible at design-time, so you can freely set the Font color and still see the contents.
property DivWrap (line 729)
Use this property to specify if the control must be wrapped by a div or not. The usage of this property is leave to the component developer discretion.
property Enabled (line 1467)
Use Enabled to change the availability of the control to the user. To disable a control, set Enabled to false. Disabled controls appear dimmed. If Enabled is false, the control ignores mouse, keyboard, and timer events.
To re-enable a control, set Enabled to true. The control is no longer dimmed, and the user can use the control.
Disabled controls must not react to user interaction and must show a different color or aspect to specify that to the user. Do not confuse this with ReadOnly properties, as ReadOnly controls may allow the user to copy information. Disabled controls do not allow any operations with it.
property Font (line 1549)
This property is an object property, so you can individually set specific attributes for it, for example, Font->Color.
In the IDE, this property shows a list of all properties of Font class so you can set them individually
Checks the Style property also, as that property also influences the aspect of the Control.
property Hidden (line 764)
You can use this property to specify the control should not be shown on the browser, but the code for it will be generated, this is useful if you want to use javascript code to make the control visible.
property IsLayer (line 1587)
If true, control will be generated into a div tag and won't visible when the application is executed. You will need to use Javascript events to show it.
This is useful for creating hover areas. For example, on a Panel containing controls, if IsLayer is true, you can write javascript code on the OnMouseOver javascript event of a Button to show that layer so you get a nice effect.
property JsEvents (line 853)
Returns assigned javascript events as attributes for the tag. This function is useful to get the tags to assign javascript events to the right code.
property JSWrapperHiddenFieldName (line 1351)
There should be one hidden field for each component that can forward JS events to the PHP script. It is the responsiblity of the component to add this field.
property Parent (line 1933)
Use the Parent property to get or set the parent of this control. The parent of a control is the control that contains the control. For example, if an application includes three radio buttons in a group box, the group box is the parent of the three radio buttons, and the radio buttons are the child controls of the group box.
To serve as a parent, a control must be an instance of a descendant of FocusControl.
When creating a new control at runtime, assign a Parent property value for the new control. Usually, this is a form, panel, group box, or some control that is designed to contain another. Changing the parent of a control moves the control on the browser so that it is displayed within the new parent. When the parent control moves, the child moves with the parent.
property ParentColor (line 1506)
To have a control use the same color as its parent control, set ParentColor to true. If ParentColor is false, the control uses its own Color property.
Set ParentColor to true for all controls in order to ensure that all the controls on a form have a uniform appearance. For example, if ParentColor is true for all controls in a form, changing the background color of the form to gray causes all the controls on the form to also have a gray background.
When the value of a control's Color property changes, ParentColor becomes false automatically.
property ParentFont (line 1609)
To have a control use the same font as its parent control, set ParentFont to true. If ParentFont is false, the control uses its own Font property.
Many controls default ParentFont to true so that all the controls in a form or other container present a uniform appearance. When the value of a control's Font property changes, ParentFont becomes false automatically.
When ParentFont is true for a form, the form uses the default font.
property ParentShowHint (line 1779)
Use ParentShowHint to ensure that all the controls on a form either uniformly show their Help Hints or uniformly do not show them.
If ParentShowHint is true, the control uses the ShowHint property value of its parent. If ParentShowHint is false, the control uses the value of its own ShowHint property.
To provide Help Hints for only selected controls on a form, set the ShowHint property to true for those controls that should have Help Hints. ParentShowHint becomes false automatically.
Note: Enable or disable all Help Hints for the entire application using the ShowHint property of the application object.
property PopupMenu (line 1483)
Assign a value to PopupMenu to make a pop-up menu appear when the user selects the control and clicks the right mouse button.
The value for this property must be a PopupMenu component. If you are working on the IDE you will get a drop-down on the Object Inspector with valid values for it.
property ShowHint (line 1731)
The Help Hint is the value of the Hint property, which is displayed in a box just beneath the control. Use ShowHint to determine whether a Help Hint appears for the control.
To enable Help Hint for a particular control, the application ShowHint property must be true and either:
the controls own ShowHint property must be true, or
the controls ParentShowHint property must be true and its parent's ShowHint property must be true.
For example, imagine a check box within a group box. If the ShowHint property of the group box is true and the ParentShowHint property of the check box is true, but the ShowHint property of the check box is false, the check box still displays its Help Hint.
Changing the ShowHint value automatically sets the ParentShowHint property to false. Also checks the Hint property, which specifies the text to be shown.
property Style (line 683)
CSS style to be used when rendering the component, the style must be included in a .css file referenced by the Page component. You can use OnShowHeader to write the code to include the stylesheet or use the StyleSheet component. Using the StyleSheet component you will be able to see the style rendered in design-time, and this property will be shown as a drop-down with the styles available in the linked stylesheet
property StyleClass (line 777)
Return the normalized CSS style without the starting dot if any.
property Visible (line 1907)
This property determines if the control is visible at run-time or not. Use it to hide this control when generating the page. Note: The behaviour can be different than in VCL for Windows. Since the control uses javascript to get rendered, you might not be able to access it using javascript as the code won't be generated.
If you want to get a control code on the browser but not being visible, you should use javascript to hide the control.
property Name
property Tag
property ComponentCount
property Components
property ControlState
property DataFieldValue
property NamePath
property Owner
property NamePath
| __construct | Component constructor [Overrides Component::__construct()] |
| addJSWrapperToEvents | Adds or replaces the JS event attribute with the wrapper. |
| canShow | Determines whether a control can be shown or not. |
| dumpChildren | Dumps all children components. |
| dumpContents | Dumps the control contents. |
| dumpHeaderCode | Dumps header code required [Overrides Component::dumpHeaderCode()] |
| dumpJavascript | Dumps the javascript code needed by this component [Overrides Component::dumpJavascript()] |
| dumpJsEvents | Dumps all assigned javascript events code. |
| init | Initializes a component [Overrides Component::init()] |
| loaded | Initializes the component after the form file has been read into memory. [Overrides Component::loaded()] |
| show | Dumps the code for the control to the output. |
| updateParentColor | If ParentColor == true the parent's color is assigned to this control. |
| updateParentFont | If ParentFont == true the parent's font is assigned to this control. |
| updateParentProperties | Updates all properties that use the parent property as source. |
| updateParentShowHint | If ParentShowHint == true the parent's showhint is assigned to this control. |
Defined in class Component |
||
![]() | dumpChildrenJavascript | Dumps the javascript code for all the children |
![]() | dumpFormItems | Dumps code just after the form tag, useful to dump hidden fields for state retrieving for non visible components |
![]() | dumpHeaderCode | Dumps header code required |
![]() | dumpJavascript | Dumps the javascript code needed by this component |
![]() | hasValidDataField | Returns true if a valid data field is attached to the component |
![]() | init | Initializes a component |
![]() | loaded | Initializes the component after the form file has been read into memory. |
![]() | loadedChildren | Calls childrens loaded |
![]() | preinit | Method called before init() |
![]() | serializeChildren | Serializes all children |
![]() | unserializeChildren | Unserializes all children by calling unserialize for all the components |
Defined in class Persistent |
||
![]() | serialize | Stores this object into the session. |
![]() | unserialize | This method uses PHP reflection to iterate through published properties (the ones starting with get) and retrieve the properties stored by a previous serialize() call. |
Defined in class Object |
||
![]() | __construct | Constructs an object and initializes its data before the object is first used. |
![]() | className | Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). |
![]() | classParent | Returns the type of the immediate ancestor of a class. |
Constructor __construct (line 796)
Overrides : Component::__construct() Component constructor
Method addJSWrapperToEvents (line 1249)
The wrapper is used to notify the PHP script that an event occured. The script then may fire an event itself (for example OnClick of a button).
Method canShow (line 826)
A control can be shown if it has no parent and its Visible property is true.
If it has a parent:
-if parent has Layer handling properties, checks Visible property if Parent can be shown and Layer matches with the Activelayer.
-else, checks the visible property and if the parent can be shown.
Method dumpChildren (line 1202)
This method iterates through all the children list, dumping all of them to the output using the show method.
Method dumpContents (line 1227)
Inherit and fill this method with the code your control must generate. This is one of the main methods in the VCL for PHP as it is responsible for generating the code for the controls. When developing components, you should override this method and write your component code here.
Method dumpHeaderCode (line 1026)
Overrides : Component::dumpHeaderCode() Dumps header code required
Method dumpJavascript (line 987)
Overrides : Component::dumpJavascript() Dumps the javascript code needed by this component
Method dumpJsEvents (line 925)
Dumps Javascript events. This method is called by the Page component to dump in the <head> section of the document all the javascript functions containing the code the user has written. Control class dumps the standard HTML javascript events. You can override it to dump yours.
Don't forget to call the parent:: method if you want the standard ones to get dumped.
Method endCache (line 1105)
Method loaded (line 805)
Overrides : Component::loaded() Initializes the component after the form file has been read into memory.
Method show (line 1149)
Shows control contents. You can use this method to show the contents of the control, optionally, by setting $return_contents to true. You can get the contents of the control returned instead of having it dumped to the output.
This method also checks if the global var has $output_enabled. You can globally disable output of controls by setting that var to false.
This method is also responsible to call beforeshow and aftershow events
Method updateParentColor (line 1855)
Method updateParentFont (line 1833)
Method updateParentProperties (line 1817)
You don't need to call this method, is called by Control to update all properties that have a Parent relative.
These include ShowHint, Color and Font.
Method updateParentShowHint (line 1877)
![]() | OnAfterShow | Fires the Event after showing the control. |
![]() | OnBeforeShow | Fires the Event before showing the control. |
![]() | OnShow | Fires the Event at the same moment the control is shown. Some controls can prevent the control from being shown when this event is attached. |
property OnShow (line 2184)
![]() | OnActivate | Fires when the object is set as the active element. |
![]() | OnBeforeCopy | Fires on the source object before the selection is copied to the system clipboard. |
![]() | OnBeforeCut | Fires on the source object before the selection is deleted from the document. |
![]() | OnBeforeDeactivate | Fires immediately before the activeElement is changed from the current object to another object in the parent document. |
![]() | OnBeforeEditfocus | Fires before an object contained in an editable element enters a UI-activated state or when an editable container object is control selected. |
![]() | OnBeforePaste | Fires on the target object before the selection is pasted from the system clipboard to the document. |
![]() | OnBlur | Fires when the object loses the input focus. |
![]() | OnChange | Fires when the contents of the object or selection have changed. |
![]() | OnClick | Fires when the user clicks the left mouse button on the object. |
![]() | OnContextMenu | Fires when the user clicks the right mouse button in the client area, opening the context menu. |
![]() | OnControlSelect | Fires when the user is about to make a control selection of the object. |
![]() | OnCopy | Fires on the source element when the user copies the object or selection, adding it to the system clipboard. |
![]() | OnCut | Fires on the source element when the object or selection is removed from the document and added to the system clipboard. |
![]() | OnDblClick | Fires when the user double-clicks the object. |
![]() | OnDeActivate | Fires when the activeElement is changed from the current object to another object in the parent document. |
![]() | OnDrag | Fires on the source object continuously during a drag operation. |
![]() | OnDragEnter | Fires on the target element when the user drags the object to a valid drop target. |
![]() | OnDragLeave | Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation. |
![]() | OnDragOver | Fires on the target element continuously while the user drags the object over a valid drop target. |
![]() | OnDragStart | Fires on the source object when the user starts to drag a text selection or selected object. |
![]() | OnDrop | Fires on the target object when the mouse button is released during a drag-and-drop operation. |
![]() | OnFilterChange | Fires when a visual filter changes state or completes a transition. |
![]() | OnFocus | Fires when the object receives focus. |
![]() | OnHelp | Fires when the user presses the F1 key while the browser is the active window. |
![]() | OnKeyDown | Fires when the user presses a key. |
![]() | OnKeyPress | Fires when the user presses an alphanumeric key. |
![]() | OnKeyUp | Fires when the user releases a key. |
![]() | OnLoseCapture | Fires when the object loses the mouse capture. |
![]() | OnMouseDown | Fires when the user clicks the object with either mouse button. |
![]() | OnMouseEnter | Fires when the user moves the mouse pointer into the object. |
![]() | OnMouseLeave | Fires when the user moves the mouse pointer outside the boundaries of the object. |
![]() | OnMouseMove | Fires when the user moves the mouse over the object. |
![]() | OnMouseOut | Fires when the user moves the mouse pointer outside the boundaries of the object. |
![]() | OnMouseOver | Fires when the user moves the mouse pointer into the object. |
![]() | OnMouseUp | Fires when the user releases a mouse button while the mouse is over the object. |
![]() | OnPaste | Fires on the target object when the user pastes data, transferring the data from the system clipboard to the document. |
![]() | OnPropertyChange | Fires when a property changes on the object. |
![]() | OnReadyStateChange | Fires when the state of the object has changed. |
![]() | OnResize | Fires when the size of the object is about to change. |
![]() | OnResizeEnd | Fires when the user finishes changing the dimensions of the object in a control selection. |
![]() | OnResizeStart | Fires when the user begins to change the dimensions of the object in a control selection |
![]() | OnSelectStart | Fires when the object is being selected |
property OnActivate (line 158)
This event is fired when the user click an element, other than the active element of the document, or use the keyboard to move focus from the active element to another element. Also can be fired if the script invokes the setActive method on an element, when the element is not the active element.
property OnBeforeCopy (line 180)
Is fired if the user right-click to display the shortcut menu and select Copy or presses CTRL+C.
property OnBeforeCut (line 190)
Is fired if the user right-click to display the shortcut menu and select Cut or presses CTRL+X.
property OnBeforeDeactivate (line 202)
This event is fired when the user click an element, other than the active element of the document, or use the keyboard to move focus from the active element to another element. Also can be fired if the script invokes the setActive method on an element, when the element is not the active element.
property OnBeforeEditfocus (line 214)
To invoke this event, press the ENTER key or click an object when it has focus or double-click an object. The onbeforeeditfocus event differs from the onfocus event. The onbeforeeditfocus event fires before an object enters a UI-activated state, whereas the onfocus event fires when an object has focus.
property OnBeforePaste (line 224)
Is fired if the user right-click to display the shortcut menu and select Paste or presses CTRL+V.
property OnBlur (line 238)
The onblur event fires on the original object before the onfocus or onclick event fires on the object that is receiving focus. Where applicable, the onblur event fires after the onchange event.
Use the focus events to determine when to prepare an object to receive or validate input from the user.
property OnChange (line 252)
This event is fired when the contents are committed and not while the value is changing. For example, on a text box, this event is not fired while the user is typing, but rather when the user commits the change by leaving the text box that has focus. In addition, this event is executed before the code specified by onblur when the control is also losing the focus.
property OnClick (line 265)
If the user clicks the left mouse button, the onclick event for an object occurs only if the mouse pointer is over the object and an onmousedown and an onmouseup event occur in that order. For example, if the user clicks the mouse on the object but moves the mouse pointer away from the object before releasing, no onclick event occurs.
property OnContextMenu (line 273)
property OnControlSelect (line 283)
This event fires before the element is selected, so inspecting the selection object gives no information about the element to be selected.
property OnCopy (line 293)
Is fired if the user right-click to display the shortcut menu and select Copy or presses CTRL+C.
property OnCut (line 303)
Is fired if the user right-click to display the shortcut menu and select Cut or presses CTRL+X.
property OnDblClick (line 313)
The order of events leading to the ondblclick event is onmousedown, onmouseup, onclick, onmouseup, and then ondblclick.
property OnDeActivate (line 170)
This event is fired when the user click an element, other than the active element of the document, or use the keyboard to move focus from the active element to another element. Also can be fired if the script invokes the setActive method on an element, when the element is not the active element.
property OnDrag (line 324)
This event fires on the source object after the ondragstart event. The ondrag event fires throughout the drag operation, whether the selection being dragged is over the drag source, a valid target, or an invalid target.
property OnDragEnter (line 335)
You can handle the ondragenter event on the source or on the target object. Of the target events, it is the first to fire during a drag operation.
property OnDragLeave (line 341)
property OnDragOver (line 352)
The ondragover event fires on the target object after the ondragenter event has fired.
property OnDragStart (line 363)
The ondragstart event is the first to fire when the user starts to drag the mouse.
property OnDrop (line 373)
The ondrop event fires before the ondragleave and ondragend events.
property OnFilterChange (line 380)
property OnFocus (line 393)
When one object loses activation and another object becomes the activeElement, the onfocus event fires on the object becoming the activeElement only after the onblur event fires on the object losing activation. Use the focus events to determine when to prepare an object to receive input from the user.
property OnHelp (line 399)
property OnKeyDown (line 409)
This event is specifically fired when the key is pressed down and is repeated multiple times until the key is released.
property OnKeyPress (line 419)
This event can be used to detect key presses of standard keys, if you need to process other keys (like cursor keys), use jsOnKeyDown.
property OnKeyUp (line 429)
This event is fired whenever a key pressed is released, both for keypress and keydown events.
property OnLoseCapture (line 434)
property OnMouseDown (line 445)
Use this event to detect when the mouse is pressed on an element, you can use the button property of the event to determine which mouse button is clicked.
property OnMouseEnter (line 467)
The event fires only if the mouse pointer is outside the boundaries of the object and the user moves the mouse pointer inside the boundaries of the object.
property OnMouseLeave (line 478)
The event fires only if the mouse pointer is inside the boundaries of the object and the user moves the mouse pointer outside the boundaries of the object.
property OnMouseMove (line 488)
If the user presses a mouse button, use the button property to determine which button was pressed.
property OnMouseOut (line 500)
When the user moves the mouse over an object, one onmouseover event occurs, followed by one or more onmousemove events as the user moves the mouse pointer within the object. One onmouseout event occurs when the user moves the mouse pointer out of the object.
property OnMouseOver (line 511)
The event occurs when the user moves the mouse pointer into the object, and it does not repeat unless the user moves the mouse pointer out of the object and then back into it.
property OnMouseUp (line 456)
When any mouse button stops from being pressed over an element, this event is fired, you can use the button property to determine which mouse button is clicked.
property OnPaste (line 519)
property OnPropertyChange (line 530)
The onpropertychange event fires when properties of an object, expando, or style sub-object change. To retrieve the name of the changed property, use the event object's propertyName property.
property OnReadyStateChange (line 540)
You can use the readyState property to query the current state of the element when the onreadystatechange event fires.
property OnResize (line 550)
The onresize event fires for block and inline objects with layout, even if document or CSS (cascading style sheets) property values are changed.
property OnResizeEnd (line 560)
Only content editable objects can be included in a control selection.
property OnResizeStart (line 570)
Only content editable objects can be included in a control selection.
property OnSelectStart (line 579)
The object at the beginning of the selection fires the event.