Browser Framework - Class Methods

Form.BuildFilterOnCtrlValues

Defined in: SystemForm

Function BuildFilterOnCtrlValues: String;

Form.CancelRecordChanges

If the form has an active data source, CancelRecordChanges() reverts the active record data to it's previous state.

Use the Form CancelRecordChanges() method to cancel any changes made tothe currently active record, provided they have not already been committedto the active data source.

This method is useful to allow a user to back out of changes made to theactive record data.

Defined in: SystemForm

Procedure CancelRecordChanges(Event : TDOMEvent);

Form.DeleteRecord

If the form has an active data source, DeleteRecord() removes the activerecord from the record set.

Use the Form DeleteRecord() method to remove the currently active recordfrom the record set.

After the record has been removed from the active data source, therecord set cursor is repositioned to the next record.

Defined in: SystemForm

Procedure DeleteRecord(Event : TDOMEvent);

Form.EditRecord

Defined in: SystemForm

Procedure EditRecord(Event : TDOMEvent);

Form.FirstPage

If the form has an active data source, FirstPage() binds the Form tothe first page of data in the record set.

Use the Form FirstPage() method to position the record set cursor ofthe active data source to the first page. Any changes to the activerecord will be posted to the underlying Dataset.

Prior to repositioning the record set cursor, the Form OnBeforeDBNavigate()event handler will be called if it is assigned. This is also applicableto the OnAfterDBNavigate() event handler after the cursor has beenrepositioned.

NOTE:The behavior of this method is dependent on the ViewMode property.

If the form is defined as begin continuous (ViewMode = vmContinuous),then a new form (page) is opened.

Defined in: SystemForm

Procedure FirstPage(Event : TDOMEvent);

Form.FirstRecord

If the form has an active data source, FirstRecord() binds the Form tothe first record of the data in the record set.

Use the Form FirstRecord() method to position the record set cursor ofthe active data source to the first record. Any changes to the activerecord will be posted to the underlying Dataset.

If a filter clause has been specified for the SQLFilter property, thenthis will be respected and the record located will satisfy the conditionsof the filter clause.

Prior to repositioning the record set cursor, the Form OnBeforeDBNavigate()event handler will be called if it is assigned. This is also applicableto the OnAfterDBNavigate() event handler after the cursor has beenrepositioned.

NOTE:If required, FirstPage is indirectly called when invoking this method.

Defined in: SystemForm

Procedure FirstRecord(Event : TDOMEvent);

Form.LastPage

If the form has an active data source, LastPage() binds the Form tothe last page of data in the record set.

Use the Form LastPage() method to position the record set cursor ofthe active data source to the last page. Any changes to the activerecord will be posted to the underlying Dataset.

Prior to repositioning the record set cursor, the Form OnBeforeDBNavigate()event handler will be called if it is assigned. This is also applicableto the OnAfterDBNavigate() event handler after the cursor has beenrepositioned.

NOTE:The behavior of this method is dependent on the ViewMode property.

If the form is defined as begin continuous (ViewMode = vmContinuous),then a new form (page) is opened.

Defined in: SystemForm

Procedure LastPage(Event : TDOMEvent);

Form.LastRecord

If the form has an active data source, LastRecord() binds the Form tothe last record of the data in the record set.

Use the Form LastRecord() method to position the record set cursor ofthe active data source to the last record. Any changes to the activerecord will be posted to the underlying Dataset.

If a filter clause has been specified for the SQLFilter property, thenthis will be respected and the record located will satisfy the conditionsof the filter clause.

Prior to repositioning the record set cursor, the Form OnBeforeDBNavigate()event handler will be called if it is assigned. This is also applicableto the OnAfterDBNavigate() event handler after the cursor has beenrepositioned.

NOTE:If required, LastPage is indirectly called when invoking this method.

Defined in: SystemForm

Procedure LastRecord(Event : TDOMEvent);

Form.NewRecord

If the form has an active data source, NewRecord() creates a new recordin the record set.

Use the Form NewRecord() method to add a new empty record in therecord set. The newly created record becomes the active record.

This method is useful to allow users to enter data into the fields ofa blank record, and then commit those changes to the active data source.

Defined in: SystemForm

Procedure NewRecord(Event : TDOMEvent);

Form.NextPage

If the form has an active data source, NextPage() binds the Form tothe next page of data in the record set.

Use the Form NextPage() method to position the record set cursor ofthe active data source to the next page. Any changes to the activerecord will be posted to the underlying Dataset.

Prior to repositioning the record set cursor, the Form OnBeforeDBNavigate()event handler will be called if it is assigned. This is also applicableto the OnAfterDBNavigate() event handler after the cursor has beenrepositioned.

NOTE:The behavior of this method is dependent on the ViewMode property.

If the form is defined as begin continuous (ViewMode = vmContinuous),then a new form (page) is opened.

Defined in: SystemForm

Procedure NextPage(Event : TDOMEvent);

Form.NextRecord

If the form has an active data source, NextRecord() binds the Form tothe next record of the data in the record set.

Use the Form NextRecord() method to position the record set cursor ofthe active data source to the next record. Any changes to the activerecord will be posted to the underlying Dataset.

If a filter clause has been specified for the SQLFilter property, thenthis will be respected and the record located will satisfy the conditionsof the filter clause.

Prior to repositioning the record set cursor, the Form OnBeforeDBNavigate()event handler will be called if it is assigned. This is also applicableto the OnAfterDBNavigate() event handler after the cursor has beenrepositioned.

NOTE:If required, NextPage is indirectly called when invoking this method.

Defined in: SystemForm

Procedure NextRecord(Event : TDOMEvent);

Form.PreviousPage

If the form has an active data source, PreviousPage() binds the Form tothe previous page of data in the record set.

Use the Form PreviousPage() method to position the record set cursor ofthe active data source to the previous page. Any changes to the activerecord will be posted to the underlying Dataset.

Prior to repositioning the record set cursor, the Form OnBeforeDBNavigate()event handler will be called if it is assigned. This is also applicableto the OnAfterDBNavigate() event handler after the cursor has beenrepositioned.

NOTE:The behavior of this method is dependent on the ViewMode property.

If the form is defined as begin continuous (ViewMode = vmContinuous),then a new form (page) is opened.

Defined in: SystemForm

Procedure PreviousPage(Event : TDOMEvent);

Form.PreviousRecord

If the form has an active data source, PreviousRecord() binds the Form tothe previous record of the data in the record set.

Use the Form PreviousRecord() method to position the record set cursor ofthe active data source to the previous record. Any changes to the activerecord will be posted to the underlying Dataset.

If a filter clause has been specified for the SQLFilter property, thenthis will be respected and the record located will satisfy the conditionsof the filter clause.

Prior to repositioning the record set cursor, the Form OnBeforeDBNavigate()event handler will be called if it is assigned. This is also applicableto the OnAfterDBNavigate() event handler after the cursor has beenrepositioned.

NOTE:If required, PreviousPage is indirectly called when invoking this method.

Defined in: SystemForm

Procedure PreviousRecord(Event : TDOMEvent);

Form.UpdateRecord

If the form has an active data source, UpdateRecord() commits theactive record data to the active data source.

Use the Form UpdateRecord() method to persist any changes made to thecurrently active record.

Defined in: SystemForm

Procedure UpdateRecord(Event : TDOMEvent);

ListBox.Add

Add a new item to the end of the Listbox.

Defined in: SystemControlsSTD

Procedure Add(S : String);

ListBox.AddItemWithValue

Add a new item to the end of the Listbox and provides a value associated with it.

Defined in: SystemControlsSTD

Procedure AddItemWithValue(Text : String; Value : String);

ListBox.Clear

Removes all items from the Listbox.

Defined in: SystemControlsSTD

Procedure Clear;

ListBox.ClearSelection

Removes selection from all items in the Listbox.

Defined in: SystemControlsSTD

Procedure ClearSelection;

ListBox.Delete

Removes an item at the specified position.

Defined in: SystemControlsSTD

Procedure Delete(i : Integer);

ListBox.IndexOf

Returns the index of the specified item within the list of items.

If the specified item is not found, IndexOf returns -1.

Defined in: SystemControlsSTD

Function IndexOf(S : String): Integer;

ListBox.IndexOfValue

Returns the index of the item with a given value within the list of items.

If the specified item is not found, IndexOf returns -1.

Defined in: SystemControlsSTD

Function IndexOfValue(S : String): Integer;

ListBox.SelectAll

Selects all items in the Listbox.

Defined in: SystemControlsSTD

Procedure SelectAll;

SubForm.BeginBusy

Dims the Subform indicating to the user that the system is currently busy.

Defined in: SystemControlsSTD

Procedure BeginBusy;

SubForm.ClearInactiveForms

Clears the internal cache of forms previously opened inside the Subform.

Defined in: SystemControlsSTD

Procedure ClearInactiveForms;

SubForm.EndBusy

Resumes the normal display of the Subfom after it has been dimmed by the BeginBusy.

Defined in: SystemControlsSTD

Procedure EndBusy(NewForm : TAbstractForm);

SubForm.OpenForm

Opens given form inside the Subform.

Defined in: SystemControlsSTD

Procedure OpenForm(FormRef : String);

TabSheet.IsActivePage

Returns True if the Tabsheet is currently active. Otherwise returns False.

Defined in: SystemControlsSTD

Function IsActivePage: Boolean;

TAbstractControl.CancelEventBubble

Prevents further propagation of the event.

Defined in: SystemControls

Procedure CancelEventBubble(Event : TDOMEvent);

TAbstractControl.ChildCount

Returns the number of controls contained within the control.

Defined in: SystemControls

Function ChildCount: Integer;

TAbstractControl.Destroy

Disposes the control and all its child controls, and releases browser objects used by the control

Defined in: SystemControls

Destructor Destroy;

TAbstractControl.DOMHandle

Provides access to DOM object used to represent this control in the browser in the current band.

Defined in: SystemControls

Function DOMHandle: THTML_ElementExt;

TAbstractControl.DOMHandleCreated

This virtual method is called when an underlying DOM structure has been set up for the control.

Defined in: SystemControls

Function DOMHandleCreated: Boolean;

TAbstractControl.DOMStyle

Provides access to DOM style object for this control in the current band.

Defined in: SystemControls

Function DOMStyle: THTML_CSSStyleDeclarationExt;

TAbstractForm.Close

The form Close method closes the current form.

Use the Close method to close the current instance of the form.

Defined in: SystemControls

Procedure Close;

TAbstractForm.Destroy

This is the form destructor. It is called automatically when a form isto be released (freed).

If an OnDestroy() event handler has been assigned then this will becalled first. The form destructor then removes itself from theapplication open forms list, unhooks all form DOM event methods andfrees all form resources (e.g. Navigator bar and all contained web controls)NOTE:The destructor should never be called directly, instead Free the form,which in turn will call the destructor.

Defined in: SystemControls

Destructor Destroy;

TAbstractForm.OpenForm

The OpenForm function opens a form in the browser at a specified location with thegiven set of parameters. The parameters for open form use the following syntax:\n Remarks:\nThis function is executed asynchronously and therefore it returns immediately.\nUse OnReady event to perform any action after the form is opened.

Defined in: SystemControls

Procedure OpenForm(FormName : String; Target : String; Parameters : String);

TAbstractForm.OpenReport

The OpenReport function opens a report in the browser.

Remarks:\nThis function is executed asynchronously and therefore it returns immediately.\n

Defined in: SystemControls

Procedure OpenReport(ReportName : String; Parameters : String);

TAbstractForm.RunWebMethod

The RunWebMethod function executes web method which represents soap call to serveror a sequence of macros. The parameters for runwebmethod use the following syntax:\n Remarks:\nThis function is executed asynchronously and therefore it returns immediately.\n

Defined in: SystemControls

Procedure RunWebMethod(WebMethodName : String; Parameters : String);

TArray.concat

Returns a new array comprised of this array joined with other array(s) and/orvalue(s). concat does not alter the original arrays, but returns a "one level deep"copy that contains copies of the same elements combined from the original arrays.

Elements of the original arrays are copied into the new array as follows:* Object references (and not the actual object): concat copies object referencesinto the new array. Both the original and new array refer to the same object. Thatis, if a referenced object is modified, the changes are visible to both the newand original arrays.

* Strings and numbers (not String and Number objects): concat copies the valuesof strings and numbers into the new array.

Any operation on the new array will have no effect on the original arrays, and viceversa.

Defined in: System

Function concat(Const elements : TArray): TArray;

TArray.every

Tests whether all elements in the array pass the test implemented by the providedfunction. every executes the provided callback function once for each element presentin the array until it finds one where callback returns a false value. If such anelement is found, the every method immediately returns false. Otherwise, if callbackreturned a true value for all elements, every will return true. callback is invokedonly for indexes of the array which have assigned values; it is not invoked forindexes which have been deleted or which have never been assigned values.

callback is invoked with three arguments: the value of the element, the index ofthe element, and the Array object being traversed.

If a thisObject parameter is provided to every, it will be used as the this foreach invocation of the callback. If it is not provided, or is null, the global objectassociated with callback is used instead.

every does not mutate the array on which it is called.

The range of elements processed by every is set before the first invocation of callback.

Elements which are appended to the array after the call to every begins will notbe visited by callback. If existing elements of the array are changed, their valueas passed to callback will be the value at the time every visits them; elementsthat are deleted are not visited.

Defined in: System

Function every(Const callBack : Pointer; Const thisObject : TJObject): Boolean;

TArray.filter

Creates a new array with all elements that pass the test implemented by theprovided function. filter calls a provided callback function once for each elementin an array, and constructs a new array of all the values for which callback returnsa true value. callback is invoked only for indexes of the array which have assignedvalues; it is not invoked for indexes which have been deleted or which have neverbeen assigned values. Array elements which do not pass the callback test are simplyskipped, and are not included in the new array.

callback is invoked with three arguments: the value of the element, the index ofthe element, and the Array object being traversed.

If a thisObject parameter is provided to filter, it will be used as the this foreach invocation of the callback. If it is not provided, or is null, the global objectassociated with callback is used instead.

filter does not mutate the array on which it is called.

The range of elements processed by filter is set before the first invocation ofcallback. Elements which are appended to the array after the call to filter beginswill not be visited by callback. If existing elements of the array are changed,or deleted, their value as passed to callback will be the value at the time filtervisits them; elements that are deleted are not visited.

Defined in: System

Function filter(Const callBack : Pointer; Const thisObject : TJObject): TArray;

TArray.forEach

Executes a provided function once per array element. forEach executes the providedfunction (callback) once for each element present in the array. callback is invokedonly for indexes of the array which have assigned values; it is not invoked forindexes which have been deleted or which have never been assigned values.

callback is invoked with three arguments: the value of the element, the index ofthe element, and the Array object being traversed.

If a thisObject parameter is provided to forEach, it will be used as the this foreach invocation of the callback. If it is not provided, or is null, the global objectassociated with callback is used instead.

forEach does not mutate the array on which it is called.

The range of elements processed by forEach is set before the first invocation ofcallback. Elements which are appended to the array after the call to forEach beginswill not be visited by callback. If existing elements of the array are changed,or deleted, their value as passed to callback will be the value at the time forEachvisits them; elements that are deleted are not visited.

Defined in: System

Procedure forEach(Const callBack : Pointer; Const thisObject : TJObject);

TArray.indexOf

Returns the first index at which a given element can be found in the array,or -1 if it is not present. indexOf compares searchElement to elements of the Arrayusing strict equality (the same method used by the =, or triple-equals, operator).

Defined in: System

Function indexOf(Const searchElement : MetaType; Const fromIndex : Integer): Integer;

TArray.join

Joins all elements of an array into a string. The string conversions of allarray elements are joined into one string.

Defined in: System

Function join(separator : String): String;

TArray.lastIndexOf

Returns the last index at which a given element can be found in the array, or-1 if it is not present. The array is searched backwards, starting at fromIndex.

lastIndexOf compares searchElement to elements of the Array using strict equality(the same method used by the =, or triple-equals, operator).

Defined in: System

Function lastIndexOf(Const searchElement : TJObject; Const fromIndex : Integer): Integer;

TArray.map

Creates a new array with the results of calling a provided function on everyelement in this array. map calls a provided callback function once for each elementin an array, in order, and constructs a new array from the results. callback isinvoked only for indexes of the array which have assigned values; it is not invokedfor indexes which have been deleted or which have never been assigned values.

callback is invoked with three arguments: the value of the element, the index ofthe element, and the Array object being traversed.

If a thisObject parameter is provided to map, it will be used as the this for eachinvocation of the callback. If it is not provided, or is null, the global objectassociated with callback is used instead.

map does not mutate the array on which it is called.

The range of elements processed by map is set before the first invocation of callback.

Elements which are appended to the array after the call to map begins will not bevisited by callback. If existing elements of the array are changed, or deleted,their value as passed to callback will be the value at the time map visits them;elements that are deleted are not visited.

Defined in: System

Function map(Const callBack : Pointer; Const thisObject : TJObject): TArray;

TArray.pop

Removes the last element from an array and returns that element. This methodchanges the length of the array.

Defined in: System

Procedure pop;

TArray.push

Adds one or more elements to the end of an array and returns the new lengthof the array. This method changes the length of the array. The behavior of the pushmethod is analogous to the push function in Perl 4. Note that this behavior is differentin Perl 5.

Defined in: System

Procedure push(Const value : MetaType);

TArray.reverse

Transposes the elements of an array: the first array element becomes the lastand the last becomes the first. The reverse method transposes the elements of thecalling array object.

Defined in: System

Procedure reverse;

TArray.shift

Removes the first element from an array and returns that element. This methodchanges the length of the array.

Defined in: System

Procedure shift;

TArray.slice

Extracts a section of an array and returns a new array. slice does not alterthe original array, but returns a new "one level deep" copy that contains copiesof the elements sliced from the original array. Elements of the original array arecopied into the new array as follows:* For object references (and not the actual object), slice copies object referencesinto the new array. Both the original and new array refer to the same object. Ifa referenced object changes, the changes are visible to both the new and originalarrays.

* For strings and numbers (not String and Number objects), slice copies stringsand numbers into the new array. Changes to the string or number in one array doesnot affect the other array.

If a new element is added to either array, the other array is not affected.

Defined in: System

Function slice(Const begin_ : Integer; Const end_ : Integer): TArray;

TArray.some

Tests whether some element in the array passes the test implemented by the providedfunction. some executes the callback function once for each element present in thearray until it finds one where callback returns a true value. If such an elementis found, some immediately returns true. Otherwise, some returns false. callbackis invoked only for indexes of the array which have assigned values; it is not invokedfor indexes which have been deleted or which have never been assigned values.

callback is invoked with three arguments: the value of the element, the index ofthe element, and the Array object being traversed.

If a thisObject parameter is provided to some, it will be used as the this for eachinvocation of the callback. If it is not provided, or is null, the global objectassociated with callback is used instead.

some does not mutate the array on which it is called.

The range of elements processed by some is set before the first invocation of callback.

Elements that are appended to the array after the call to some begins will not bevisited by callback. If an existing, unvisited element of the array is changed bycallback, its value passed to the visiting callback will be the value at the timethat some visits that element's index; elements that are deleted are not visited.

Defined in: System

Function some(Const callBack : Pointer; Const thisObject : TJObject): Boolean;

TArray.sort

Sorts the elements of an array. If compareFunction is not supplied, elementsare sorted by converting them to strings and comparing strings in lexicographic("dictionary" or "telephone book," not numerical) order. For example, "80" comesbefore "9" in lexicographic order, but in a numeric sort 9 comes before 80.

If compareFunction is supplied, the array elements are sorted according to the returnvalue of the compare function. If a and b are two elements being compared, then:* If compareFunction(a, b) is less than 0, sort b to a lower index than a.

* If compareFunction(a, b) returns 0, leave a and b unchanged with respect to eachother, but sorted with respect to all different elements. Note: the ECMAscript standarddoes not guarantee this behaviour, and thus not all browsers (e.g. Mozilla versionsdating back to at least 2003) respect this.

* If compareFunction(a, b) is greater than 0, sort b to a higher index than a.

Defined in: System

Procedure sort;

TArray.splice

Changes the content of an array, adding new elements while removing old elements.

If you specify a different number of elements to insert than the number you're removing,the array will have a different length at the end of the call. The splice methodreturns an array containing the removed elements. If only one element is removed,an array of one element is returned.

Defined in: System

Function splice(Const index : Integer;
                Const howMany : Integer;
                Const elements : TArray): TArray;

TArray.toSource

Returns a string representing the source code of the array.

Defined in: System

Function toSource: String;

TArray.toString

Returns a string representing the specified array and its elements. The Arrayobject overrides the toString method of Object. For Array objects, the toStringmethod joins the array and returns one string containing each array element separatedby commas. For example, the following code creates an array and uses toString toconvert the array to a string.

Defined in: System

Function toString: String;

TArray.unshift

Adds one or more elements to the beginning of an array and returns the new lengthof the array.

Defined in: System

Function unshift(Const elements : TArray): Integer;

TArray.valueOf

Returns the primitive value of an array. The Array object inherits the valueOfmethod of Object. The valueOf method of Array returns the primitive value of anarray or the primitive value of its elements.

Defined in: System

Function valueOf: TJObject;

TBoolean.toSource

Returns a string representing the source code of the object.

Defined in: System

Function toSource: String;

TBoolean.toString

Returns a string representing the specified Boolean object. The Boolean objectoverrides the toString method of the Object object; it does not inherit Object.toString.

For Boolean objects, the toString method returns a string representation of theobject.

JavaScript calls the toString method automatically when a Boolean is to be representedas a text value or when a Boolean is referred to in a string concatenation.

For Boolean objects and values, the built-in toString method returns the string"true" or "false" depending on the value of the boolean object. In the followingcode, flag.toString returns "true".

Defined in: System

Function toString: String;

TBoolean.valueOf

Returns the primitive value of a Boolean object. The valueOf method of Booleanreturns the primitive value of a Boolean object or literal Boolean as a Booleandata type. This method is usually called internally by JavaScript and not explicitlyin code.

Defined in: System

Function valueOf: Boolean;

TBrowserNavigator.javaEnabled

Indicates whether the host browser is Java-enabled or not.

Defined in: SystemDOMHtml

Function javaEnabled: Boolean;

TBrowserNavigator.registerContentHandler

Allows web sites to register themselves as a possible handler for a given MIME type.

Defined in: SystemDOMHtml

Procedure registerContentHandler(mimeType : String; uri : String; title : String);

TBrowserNavigator.taintEnabled

Obsolete. Returns false. JavaScript taint/untaint functions removed in JavaScript 1.2[1]

Defined in: SystemDOMHtml

Function taintEnabled: Boolean;

TControlStyle.Create

Creates a new instance of TControlStyle class.

NOTE:Normally you do not need to use this method directly; control styles are instantiatedby the Framework in the process of initialization of the Form.

Defined in: SystemCatalog

Constructor Create(Props : TArray): TControlStyle;

TControlStyle.FindImage

Returns TBackground object within Images collection based on specified search criteria.

Defined in: SystemCatalog

Function FindImage(Const aImage : String; Const aSlice : String): TBackground;

TControlStyles.ApplyStyle

Copies style information of the given TControlStyle object to CSS properties of theunderlying HTML element.

Defined in: SystemControls

Procedure ApplyStyle(aBandIndex : Integer; Style : TControlStyle);

TControlStyles.Assign

Copies the contents of another TControlStyles object.

Defined in: SystemControls

Procedure Assign(Source : TControlStyles);

TControlStyles.Clear

Removes all elements from the Items collection.

Defined in: SystemControls

Procedure Clear;

TControlStyles.Create

Creates a new instance of TControlStyles class.

NOTE:Normally you do not need to use this method directly; TControlStyles object is instantiatedby its owner Control in its initialization process.

Defined in: SystemControls

Constructor Create(AOwner : TWebControl): TControlStyles;

TControlStyles.Destroy

Disposes of the style and frees allocated resources.

NOTE:Do not call the Destroy method directly. Call the Free method instead.

Defined in: SystemControls

Destructor Destroy;

TControlStyles.InitStyles

Populates collection of the styles from the owner Form.

Defined in: SystemControls

Procedure InitStyles;

TControlStyles.InitSystemStyles

Populates collection of the styles from the global Catalog object.

This method is only applicable for objects that are instantiated at run-time like PopupWindow.

Defined in: SystemControls

Procedure InitSystemStyles(Const StyleName : String);

TControlStyles.UpdateCurrentStyle

Applies style corresponding to the current run-time state to the web control.

Defined in: SystemControls

Procedure UpdateCurrentStyle(aBandIndex : Integer; ForceUpdate : Boolean);

TDataPage.ClearDBList

Clears list of records.

Defined in: SystemForm

Procedure ClearDBList(DestroyList : Boolean);

TDataPage.ClearSubmitList

Clears list of records to be submitted.

Defined in: SystemForm

Procedure ClearSubmitList(DestroyList : Boolean);

TDataPage.Create

Creates a new instance of TDataPage class.

NOTE:Normally you do not need to use this method directly; DataPage is getting instantiatedby the owner Dataset when getting or updating data.

Defined in: SystemForm

Constructor Create(aOwnerDataset : TDataSet): TDataPage;

TDataPage.Destroy

Disposes of the DataPage and frees associated resources.

NOTE:Do not call the Destroy method directly. Call the Free method instead.

Defined in: SystemForm

Destructor Destroy;

TDataPage.Prepare

Prepares DataPage to retrieve data from underlying Table or Query.

NOTE:Normally you do not need to use this method directly; it's executed in the process of requesting new data.

Defined in: SystemForm

Procedure Prepare;

TDataPage.Refresh

Refreshes contents of the DataPage by executing GetData web method.

Defined in: SystemForm

Procedure Refresh;

TDataPage.Submit

Commits changes to the underlying Table or Query by executing UpdateData web method.

Defined in: SystemForm

Procedure Submit;

TDataset.Create

Creates a new instance of TDataset class with a specified parameters.

Defined in: SystemForm

Constructor Create(aOwnerForm : Form; aDataSource : String): TDataSet;

TDataset.DeleteRecord

Deletes the active record int the Dataset.

Call Delete to delete current record in the Datasetand positions the Dataset on the previous record.

Defined in: SystemForm

Procedure DeleteRecord;

TDataset.Destroy

Disposes of the Dataset and frees allocated resources.

NOTE:Do not call the Destroy method directly. Call the Free method instead.

Defined in: SystemForm

Destructor Destroy;

TDataset.FirstPage

Moves to the first page in the Dataset.

Call FirstPage to make the first page in the Dataset activeand update values of data-bound controls linked to this Dataset.

NOTE:FirstPage requests data from the server if necessary.

Defined in: SystemForm

Procedure FirstPage;

TDataset.FirstRecord

Moves to the first record in the Dataset.

Call FirstRecord to make the first record in the Dataset activeand update values of data-bound controls linked to this Dataset.

NOTE:FirstRecord requests data from the server if necessary.

Defined in: SystemForm

Procedure FirstRecord;

TDataset.ForceSubmitPage

Commits changes to the Dataset to the underlying Table or Query.

Modified records are committed even if they were modified by another user.

Defined in: SystemForm

Procedure ForceSubmitPage;

TDataset.GetCurrentPage

Retrieves zero-based index of the current DataPage in the underlying Table or Query.

Defined in: SystemForm

Function GetCurrentPage: Integer;

TDataset.GetCurrentRecord

Retrieves zero-based index of the current record in the current DataPage.

Defined in: SystemForm

Function GetCurrentRecord: Integer;

TDataset.GetPageCount

Retrieves amount of the data pages in the underlying Table or Query.

NOTE:GetPageCount does not return exact number of pages unless CountRecordsExactly property is set to true.

Defined in: SystemForm

Function GetPageCount: Integer;

TDataset.GetPageRecordCount

Retrieves number of records in the current DataPage.

Defined in: SystemForm

Function GetPageRecordCount: Integer;

TDataset.HandleRequestPage

The HandleRequestPage method is called after DataPage has been refreshed.

NOTE:Normally you do not need to call HandleRequestPage directly.

Defined in: SystemForm

Procedure HandleRequestPage(GetData : TGetDataWebMethod);

TDataset.HandleSubmitPage

The HandleSubmitPage method is called after DataPage has been committed to the server.

NOTE:Normally you do not need to call HandleSubmitPage directly.

Defined in: SystemForm

Procedure HandleSubmitPage(UpdateData : TUpdateDataWebMethod);

TDataset.LastPage

Moves to the last page in the Dataset.

Call LastPage to make the last page in the Dataset activeand update values of data-bound controls linked to this Dataset.

NOTE:LastPage requests data from the server if necessary.

Defined in: SystemForm

Procedure LastPage;

TDataset.LastRecord

Moves to the last record in the Dataset.

Call LastRecord to make the last record in the Dataset activeand update values of data-bound controls linked to this Dataset.

NOTE:LastRecord requests data from the server if necessary.

Defined in: SystemForm

Procedure LastRecord;

TDataset.MarkRecord

Changes status of the current record to New, Modified, Deleted or Unchanged.

Defined in: SystemForm

Procedure MarkRecord(Status : TDBObjectStatus);

TDataset.NewRecord

Inserts a new, empty record in the Dataset.

Call Insert to open new, empty record in the Datasetand update values of data-bound controls linked to this Dataset.

Defined in: SystemForm

Procedure NewRecord;

TDataset.NextPage

Moves to the next page in the Dataset, making it the active page.

Call NextPage to move to the previous page in the Datasetand update values of data-bound controls linked to this Dataset.

NOTE:NextPage requests data from the server if necessary.

Defined in: SystemForm

Procedure NextPage;

TDataset.NextRecord

Moves to the next record in the Dataset, making it the active record.

Call NextRecord to move to the next record in the Datasetand update values of data-bound controls linked to this Dataset.

NOTE:NextRecord requests data from the server if necessary.

Defined in: SystemForm

Function NextRecord: Boolean;

TDataset.PreviousPage

Moves to the previous page in the Dataset, making it the active page.

Call PreviousPage to move to the previous page in the Datasetand update values of data-bound controls linked to this Dataset.

NOTE:PreviousPage requests data from the server if necessary.

Defined in: SystemForm

Procedure PreviousPage;

TDataset.PreviousRecord

Moves to the previous record in the Dataset, making it the active record.

Call PreviousRecord to move to the previous record in the Datasetand update values of data-bound controls linked to this Dataset.

NOTE:PreviousRecord requests data from the server if necessary.

Defined in: SystemForm

Function PreviousRecord: Boolean;

TDataset.RefreshPage

Re-reads current DataPage from the underlying Table or Query.

Defined in: SystemForm

Procedure RefreshPage;

TDataset.RequestPage

Refreshes contents of the Dataset by retrieving new Datapage from the server.

Defined in: SystemForm

Procedure RequestPage(NewPage : Integer; NewRecPos : Integer);

TDataset.SubmitPage

Commits changes made to the Dataset to the underlying Table or Query,skipping records were modified by another user.

Defined in: SystemForm

Procedure SubmitPage;

TDataset.UpdateRecord

Copies values from the data-bound controls to the active record in the Dataset.

NOTE:Normally you do not need to call this method directly; values of controls are copied to theactive Dataset record automatically when navigating through Dataset or submitting changes.

Defined in: SystemForm

Procedure UpdateRecord;

TDBObject.AutoInitialize

Sets values of the fields of TDBObject instance to their default values.

Defined in: System

Procedure AutoInitialize;

TDOM_CharacterData.appendData

Append the string to the end of the character data of the node. Upon success,data provides access to the concatenation of data and the String specified.

Defined in: SystemDOM

Procedure appendData(Const arg : String);

TDOM_CharacterData.deleteData

Remove a range of 16-bit units from the node. Upon success, data and lengthreflect the change.

Defined in: SystemDOM

Procedure deleteData(Const offset : Integer; Const count : Integer);

TDOM_CharacterData.insertData

Insert a string at the specified 16-bit unit offset.

Defined in: SystemDOM

Procedure insertData(Const offset : Integer; Const arg : String);

TDOM_CharacterData.replaceData

Replace the characters starting at the specified 16-bit unit offset with thespecified string.

Defined in: SystemDOM

Procedure replaceData(Const offset : Integer;
                      Const count : Integer;
                      Const arg : String);

TDOM_CharacterData.substringData

Extracts a range of data from the node.

Defined in: SystemDOM

Function substringData(Const offset : Integer; Const count : Integer): String;

TDOM_Document.createAttribute

Creates an Attr of the given name. Note that the Attr instance can then be seton an Element using the setAttributeNode method.

To create an attribute with a qualified name and namespace URI, use the createAttributeNSmethod.

Defined in: SystemDOM

Function createAttribute(Const name : String): TDOM_Attr;

TDOM_Document.createAttributeNS

Creates an attribute of the given qualified name and namespace URI. HTML-onlyDOM implementations do not need to implement this method.

Defined in: SystemDOM

Function createAttributeNS(Const namespaceURI : String;
                           Const qualifiedName : String): TDOM_Attr;

TDOM_Document.createCDATASection

Creates a CDATASection node whose value is the specified string.

Defined in: SystemDOM

Function createCDATASection(Const data : String): TDOM_CDATASection;

TDOM_Document.createComment

Creates a Comment node given the specified string.

Defined in: SystemDOM

Function createComment(Const data : String): TDOM_Comment;

TDOM_Document.createDocumentFragment

Creates an empty DocumentFragment object.

Defined in: SystemDOM

Function createDocumentFragment: TDOM_DocumentFragment;

TDOM_Document.createElement

Creates an element of the type specified. Note that the instance returned implementsthe Element interface, so attributes can be specified directly on the returned object.

In addition, if there are known attributes with default values, Attr nodes representingthem are automatically created and attached to the element.

To create an element with a qualified name and namespace URI, use the createElementNSmethod.

Defined in: SystemDOM

Function createElement(Const tagName : String): TDOM_Element;

TDOM_Document.createElementNS

Creates an element of the given qualified name and namespace URI. HTML-onlyDOM implementations do not need to implement this method.

Defined in: SystemDOM

Function createElementNS(Const namespaceURI : String;
                         Const qualifiedName : String): TDOM_Element;

TDOM_Document.createEntityReference

Creates an EntityReference object. In addition, if the referenced entity isknown, the child list of the EntityReference node is made the same as that of thecorresponding Entity node.

Note: If any descendant of the Entity node has an unbound namespace prefix, thecorresponding descendant of the created EntityReference node is also unbound; (itsnamespaceURI is null). The DOM Level 2 does not support any mechanism to resolvenamespace prefixes.

Defined in: SystemDOM

Function createEntityReference(Const name : String): TDOM_EntityReference;

TDOM_Document.createProcessingInstruction

Creates a ProcessingInstruction node given the specified name and data strings.

Defined in: SystemDOM

Function createProcessingInstruction(Const target : String; Const data : String): TDOM_ProcessingInstruction;

TDOM_Document.createTextNode

Creates a Text node given the specified string.

Defined in: SystemDOM

Function createTextNode(Const data : String): TDOM_Text;

TDOM_Document.getElementById

Returns the Element whose ID is given by elementId. If no such element exists,returns null. Behavior is not defined if more than one element has this ID.

Note: The DOM implementation must have information that says which attributes areof type ID. Attributes with the name "ID" are not of type ID unless so defined.

Implementations that do not know whether attributes are of type ID or not are expectedto return null.

Defined in: SystemDOM

Function getElementById(Const elementId : String): TDOM_Element;

TDOM_Document.getElementsByTagName

Returns a NodeList of all the Elements with a given tag name in the order inwhich they are encountered in a preorder traversal of the Document tree.

Defined in: SystemDOM

Function getElementsByTagName(Const tagname : String): TDOM_NodeList;

TDOM_Document.getElementsByTagNameNS

Returns a NodeList of all the Elements with a given local name and namespaceURI in the order in which they are encountered in a preorder traversal of the Documenttree.

Defined in: SystemDOM

Function getElementsByTagNameNS(Const namespaceURI : String;
                                Const localName : String): TDOM_NodeList;

TDOM_Document.importNode

Imports a node from another document to this document. The returned node hasno parent; (parentNode is null). The source node is not altered or removed fromthe original document; this method creates a new copy of the source node.

For all nodes, importing a node creates a node object owned by the importing document,with attribute values identical to the source node's nodeName and nodeType, plusthe attributes related to namespaces (prefix, localName, and namespaceURI). As inthe cloneNode operation on a Node, the source node is not altered.

Additional information is copied as appropriate to the nodeType, attempting to mirrorthe behavior expected if a fragment of XML or HTML source was copied from one documentto another, recognizing that the two documents may have different DTDs in the XMLcase.

The following list describes the specifics for each type of node.

ATTRIBUTE_NODE: The ownerElement attribute is set to null and the specified flagis set to true on the generated Attr. The descendants of the source Attr are recursivelyimported and the resulting nodes reassembled to form the corresponding subtree.

Note that the deep parameter has no effect on Attr nodes; they always carrytheir children with them when imported.

DOCUMENT_FRAGMENT_NODE: If the deep option was set to true, the descendants of thesource element are recursively imported and the resulting nodes reassembled to formthe corresponding subtree. Otherwise, this simply generates an empty DocumentFragment.

DOCUMENT_NODE: Document nodes cannot be imported.

DOCUMENT_TYPE_NODE: DocumentType nodes cannot be imported.

ELEMENT_NODE: Specified attribute nodes of the source element are imported, andthe generated Attr nodes are attached to the generated Element. Default attributesare not copied, though if the document being imported into defines default attributesfor this element name, those are assigned. If the importNode deep parameter wasset to true, the descendants of the source element are recursively imported andthe resulting nodes reassembled to form the corresponding subtree.

ENTITY_NODE: Entity nodes can be imported, however in the current release of theDOM the DocumentType is readonly. Ability to add these imported nodes to a DocumentTypewill be considered for addition to a future release of the DOM. On import,the publicId, systemId, and notationName attributes are copied. If a deep importis requested, the descendants of the the source Entity are recursively importedand the resulting nodes reassembled to form the corresponding subtree.

ENTITY_REFERENCE_NODE: Only the EntityReference itself is copied, even if a deepimport is requested, since the source and destination documents might have definedthe entity differently. If the document being imported into provides a definitionfor this entity name, its value is assigned.

NOTATION_NODE: Notation nodes can be imported, however in the current release ofthe DOM the DocumentType is readonly. Ability to add these imported nodes to a DocumentTypewill be considered for addition to a future release of the DOM. On import, the publicIdand systemId attributes are copied. Note that the deep parameter has no effect onNotation nodes since they never have any children.

PROCESSING_INSTRUCTION_NODE: The imported node copies its target and data valuesfrom those of the source node.

TEXT_NODE, CDATA_SECTION_NODE, COMMENT_NODE: These three types of nodes inheritingfrom CharacterData copy their data and length attributes from those of the sourcenode.Parameters

Defined in: SystemDOM

Function importNode(Const importedNode : TDOM_Node; Const deep : Boolean): TDOM_Node;

TDOM_DocumentEvent.createEvent

The createEvent method is used in creating Events when it is either inconvenientor unnecessary for the user to create an Event themselves. In cases where the implementationprovided Event is insufficient, users may supply their own Event implementationsfor use with the dispatchEvent method.

Defined in: SystemDOM

Function createEvent(Const eventType : String): TDOM_Event;

TDOM_DocumentRange.createRange

This interface can be obtained from the object implementing the Document interfaceusing binding-specific casting methods.

Defined in: SystemDOM

Function createRange: TDOM_Range;

TDOM_DocumentTraversal.createNodeIterator

Create a new NodeIterator over the subtree rooted at the specified node.

Defined in: SystemDOM

Function createNodeIterator(Const root : TDOM_Node;
                            Const whatToShow : Integer;
                            Const filter : TDOM_NodeFilter;
                            Const entityReferenceExpansion : Boolean): TDOM_NodeIterator;

TDOM_DocumentTraversal.createTreeWalker

Create a new TreeWalker over the subtree rooted at the specified node.

Defined in: SystemDOM

Function createTreeWalker(Const root : TDOM_Node;
                          Const whatToShow : Integer;
                          Const filter : TDOM_NodeFilter;
                          Const entityReferenceExpansion : Boolean): TDOM_TreeWalker;

TDOM_Element.getAttribute

Retrieves an attribute value by name.

Defined in: SystemDOM

Function getAttribute(Const name : String): String;

TDOM_Element.getAttributeNode

Retrieves an attribute node by name.

To retrieve an attribute node by qualified name and namespace URI, use the getAttributeNodeNSmethod.

Defined in: SystemDOM

Function getAttributeNode(Const name : String): TDOM_Attr;

TDOM_Element.getAttributeNodeNS

Retrieves an Attr node by local name and namespace URI. HTML-only DOM implementationsdo not need to implement this method.

Defined in: SystemDOM

Function getAttributeNodeNS(Const namespaceURI : String; Const localName : String): TDOM_Attr;

TDOM_Element.getAttributeNS

Retrieves an attribute value by local name and namespace URI. HTML-only DOMimplementations do not need to implement this method.

Defined in: SystemDOM

Function getAttributeNS(Const namespaceURI : String; Const localName : String): String;

TDOM_Element.getElementsByTagName

Returns a NodeList of all descendant Elements with a given tag name, in theorder in which they are encountered in a preorder traversal of this Element tree.

Defined in: SystemDOM

Function getElementsByTagName(Const name : String): TDOM_NodeList;

TDOM_Element.getElementsByTagNameNS

Returns a NodeList of all the descendant Elements with a given local name andnamespace URI in the order in which they are encountered in a preorder traversalof this Element tree.

HTML-only DOM implementations do not need to implement this method.

Defined in: SystemDOM

Function getElementsByTagNameNS(Const namespaceURI : String;
                                Const localName : String): TDOM_NodeList;

TDOM_Element.hasAttribute

Returns true when an attribute with a given name is specified on this elementor has a default value, false otherwise.

Defined in: SystemDOM

Function hasAttribute(Const name : String): Boolean;

TDOM_Element.hasAttributeNS

Returns true when an attribute with a given local name and namespace URI isspecified on this element or has a default value, false otherwise. HTML-only DOMimplementations do not need to implement this method.

Defined in: SystemDOM

Function hasAttributeNS(Const namespaceURI : String; Const localName : String): Boolean;

TDOM_Element.removeAttribute

Removes an attribute by name. If the removed attribute is known to have a defaultvalue, an attribute immediately appears containing the default value as well asthe corresponding namespace URI, local name, and prefix when applicable.

To remove an attribute by local name and namespace URI, use the removeAttributeNSmethod.

Defined in: SystemDOM

Procedure removeAttribute(Const name : String);

TDOM_Element.removeAttributeNode

Removes the specified attribute node. If the removed Attr has a default valueit is immediately replaced. The replacing attribute has the same namespace URI andlocal name, as well as the original prefix, when applicable.

Defined in: SystemDOM

Function removeAttributeNode(Const oldAttr : TDOM_Attr): TDOM_Attr;

TDOM_Element.removeAttributeNS

Removes an attribute by local name and namespace URI. If the removed attributehas a default value it is immediately replaced. The replacing attribute has thesame namespace URI and local name, as well as the original prefix.

HTML-only DOM implementations do not need to implement this method.

Defined in: SystemDOM

Procedure removeAttributeNS(Const namespaceURI : String; Const localName : String);

TDOM_Element.setAttribute

Adds a new attribute. If an attribute with that name is already present in theelement, its value is changed to be that of the value parameter. This value is asimple string; it is not parsed as it is being set. So any markup (such as syntaxto be recognized as an entity reference) is treated as literal text, and needs tobe appropriately escaped by the implementation when it is written out. In orderto assign an attribute value that contains entity references, the user must createanAttr node plus any Text and EntityReference nodes, build the appropriate subtree,and use setAttributeNode to assign it as the value of an attribute.

To set an attribute with a qualified name and namespace URI, use the setAttributeNSmethod.

Defined in: SystemDOM

Procedure setAttribute(Const name : String; Const value : String);

TDOM_Element.setAttributeNode

Adds a new attribute node. If an attribute with that name (nodeName) is alreadypresent in the element, it is replaced by the new one.

To add a new attribute node with a qualified name and namespace URI, use the setAttributeNodeNSmethod.

Defined in: SystemDOM

Function setAttributeNode(Const newAttr : TDOM_Attr): TDOM_Attr;

TDOM_Element.setAttributeNodeNS

Adds a new attribute. If an attribute with that local name and that namespaceURI is already present in the element, it is replaced by the new one.

HTML-only DOM implementations do not need to implement this method.

Defined in: SystemDOM

Function setAttributeNodeNS(Const newAttr : TDOM_Attr): TDOM_Attr;

TDOM_Element.setAttributeNS

Adds a new attribute. If an attribute with the same local name and namespaceURI is already present on the element, its prefix is changed to be the prefix partof the qualifiedName, and its value is changed to be the value parameter. This valueis a simple string; it is not parsed as it is being set. So any markup (such assyntax to be recognized as an entity reference) is treated as literal text, andneeds to be appropriately escaped by the implementation when it is written out.

Inorder to assign an attribute value that contains entity references, the user mustcreate an Attr node plus any Text and EntityReference nodes, build the appropriatesubtree, and use setAttributeNodeNS or setAttributeNode to assign it as the valueof an attribute.

HTML-only DOM implementations do not need to implement this method.

Defined in: SystemDOM

Procedure setAttributeNS(Const namespaceURI : String;
                         Const qualifiedName : String;
                         Const value : String);

TDOM_Event.initEvent

The initEvent method is used to initialize the value of an Event created throughthe DocumentEvent interface. This method may only be called before the Event hasbeen dispatched via the dispatchEvent method, though it may be called multiple timesduring that phase if necessary. If called multiple times the final invocation takesprecedence. If called from a subclass of Event interface only the values specifiedin the initEvent method are modified, all other attributes are leftunchanged.

Defined in: SystemDOM

Procedure initEvent(Const eventTypeArg : String;
                    Const canBubbleArg : Boolean;
                    Const cancelableArg : Boolean);

TDOM_Event.preventDefault

If an event is cancelable, the preventDefault method is used to signify thatthe event is to be canceled, meaning any default action normally taken by the implementationas a result of the event will not occur. If, during any stage of event flow, thepreventDefault method is called the event is canceled. Any default action associatedwith the event will not occur. Calling this method for a non-cancelable event hasno effect. Once preventDefault has been called it will remain in effectthroughout the remainder of the event's propagation. This method may be used duringany stage of event flow.

Defined in: SystemDOM

Procedure preventDefault;

TDOM_Event.stopPropagation

The stopPropagation method is used prevent further propagation of an event duringevent flow. If this method is called by any EventListener the event will cease propagatingthrough the tree. The event will complete dispatch to all listeners on the currentEventTarget before event flow stops. This method may be used during any stage ofevent flow.

Defined in: SystemDOM

Procedure stopPropagation;

TDOM_EventListener.handleEvent

This method is called whenever an event occurs of the type for which the EventListenerinterface was registered. Parameters

Defined in: SystemDOM

Procedure handleEvent(Const evt : TDOM_Event);

TDOM_EventTarget.addEventListener

This method allows the registration of event listeners on the event target.

If an EventListener is added to an EventTarget while it is processing an event,it will not be triggered by the current actions but may be triggered during a laterstage of event flow, such as the bubbling phase.

If multiple identical EventListeners are registered on the same EventTarget withthe same parameters the duplicate instances are discarded. They do not cause theEventListener to be called twice and since they are discarded they do not need tobe removed with the removeEventListener method.

Defined in: SystemDOM

Procedure addEventListener(Const type_ : String;
                           Const listener : TDOM_EventListener;
                           Const useCapture : Boolean);

TDOM_EventTarget.removeEventListener

This method allows the removal of event listeners from the event target. Ifan EventListener is removed from an EventTarget while it is processing an event,it will not be triggered by the current actions. EventListeners can never be invokedafter being removed.

Calling removeEventListener with arguments which do not identify any currently registeredEventListener on the EventTarget has no effect. Parameters

Defined in: SystemDOM

Procedure removeEventListener(Const type_ : String;
                              Const listener : TDOM_EventListener;
                              Const useCapture : Boolean);

TDOM_Implementation.createDocument

Creates an XML Document object of the specified type with its document element.

HTML-only DOM implementations do not need to implement this method.

Defined in: SystemDOM

Function createDocument(Const namespaceURI : String;
                        Const qualifiedName : String;
                        Const doctype : TDOM_DocumentType): TDOM_Document;

TDOM_Implementation.createDocumentType

Creates an empty DocumentType node. Entity declarations and notations are notmade available. Entity reference expansions and default attribute additions do notoccur. It is expected that a future version of the DOM will provide a way for populatinga DocumentType. HTML-only DOM implementations do not need to implement this method.

Defined in: SystemDOM

Function createDocumentType(Const qualifiedName : String;
                            Const publicId : String;
                            Const systemId : String): TDOM_DocumentType;

TDOM_Implementation.hasFeature

Test if the DOM implementation implements a specific feature.

Defined in: SystemDOM

Function hasFeature(Const feature : String; Const version : String): Boolean;

TDOM_MouseEvent.initMouseEvent

The initMouseEvent method is used to initialize the value of a MouseEvent createdthrough the DocumentEvent interface. This method may only be called before the MouseEventhas been dispatched via the dispatchEvent method, though it may be called multipletimes during that phase if necessary. If called multiple times, the final invocationtakes precedence. Parameters

Defined in: SystemDOM

Procedure initMouseEvent(Const typeArg : String;
                         Const canBubbleArg : Boolean;
                         Const cancelableArg : Boolean;
                         Const viewArg : TDOM_AbstractView;
                         Const detailArg : Integer;
                         Const screenXArg : Integer;
                         Const screenYArg : Integer;
                         Const clientXArg : Integer;
                         Const clientYArg : Integer;
                         Const ctrlKeyArg : Boolean;
                         Const altKeyArg : Boolean;
                         Const shiftKeyArg : Boolean;
                         Const metaKeyArg : Boolean;
                         Const buttonArg : Integer;
                         Const relatedTargetArg : TDOM_EventTarget);

TDOM_MutationEvent.initMutationEvent

The initMutationEvent method is used to initialize the value of a MutationEventcreated through the DocumentEvent interface. This method may only be called beforethe MutationEvent has been dispatched via the dispatchEvent method, though it maybe called multiple times during that phase if necessary. If called multiple times,the final invocation takes precedence. Parameters

Defined in: SystemDOM

Procedure initMutationEvent(Const typeArg : String;
                            Const canBubbleArg : Boolean;
                            Const cancelableArg : Boolean;
                            Const relatedNodeArg : TDOM_Node;
                            Const prevValueArg : String;
                            Const newValueArg : String;
                            Const attrNameArg : String;
                            Const attrChangeArg : Integer);

TDOM_NamedNodeMap.getNamedItem

Retrieves a node specified by name.

Defined in: SystemDOM

Function getNamedItem(Const name : String): TDOM_Node;

TDOM_NamedNodeMap.getNamedItemNS

Retrieves a node specified by local name and namespace URI. HTML-only DOM implementationsdo not need to implement this method.

Defined in: SystemDOM

Function getNamedItemNS(Const namespaceURI : String; Const localName : String): TDOM_Node;

TDOM_NamedNodeMap.item

Returns the indexth item in the map. If index is greater than or equal to thenumber of nodes in this map, this returns null.

Defined in: SystemDOM

Function item(Const index : Integer): TDOM_Node;

TDOM_NamedNodeMap.removeNamedItem

Removes a node specified by name. When this map contains the attributes attachedto an element, if the removed attribute is known to have a default value, an attributeimmediately appears containing the default value as well as the corresponding namespaceURI, local name, and prefix when applicable.

Defined in: SystemDOM

Function removeNamedItem(Const name : String): TDOM_Node;

TDOM_NamedNodeMap.removeNamedItemNS

Removes a node specified by local name and namespace URI. A removed attributemay be known to have a default value when this map contains the attributes attachedto an element, as returned by the attributes attribute of the Node interface. Ifso, an attribute immediately appears containing the default value as well as thecorresponding namespace URI, local name, and prefix when applicable.

HTML-only DOM implementations do not need to implement this method.

Defined in: SystemDOM

Function removeNamedItemNS(Const namespaceURI : String; Const localName : String): TDOM_Node;

TDOM_NamedNodeMap.setNamedItem

Adds a node using its nodeName attribute. If a node with that name is alreadypresent in this map, it is replaced by the new one.

As the nodeName attribute is used to derive the name which the node must be storedunder, multiple nodes of certain types (those that have a "special" string value)cannot be stored as the names would clash. This is seen as preferable to allowingnodes to be aliased.

Defined in: SystemDOM

Function setNamedItem(Const arg : TDOM_Node): TDOM_Node;

TDOM_NamedNodeMap.setNamedItemNS

Adds a node using its namespaceURI and localName. If a node with that namespaceURI and that local name is already present in this map, it is replaced by the newone.

HTML-only DOM implementations do not need to implement this method.

Defined in: SystemDOM

Function setNamedItemNS(Const arg : TDOM_Node): TDOM_Node;

TDOM_Node.appendChild

Adds the node newChild to the end of the list of children of this node. If thenewChild is already in the tree, it is first removed.

Defined in: SystemDOM

Function appendChild(Const newChild : TDOM_Node): TDOM_Node;

TDOM_Node.cloneNode

Returns a duplicate of this node, i.e., serves as a generic copy constructorfor nodes. The duplicate node has no parent; (parentNode is null.).

Cloning an Element copies all attributes and their values, including those generatedby the XML processor to represent defaulted attributes, but this method does notcopy any text it contains unless it is a deep clone, since the text is containedin a child Text node. Cloning an Attribute directly, as opposed to be cloned aspart of an Element cloning operation, returns a specified attribute (specified istrue). Cloning any other type of node simply returns a copy of this node.

Note that cloning an immutable subtree results in a mutable copy, but the childrenof an EntityReference clone are readonly. In addition, clones of unspecified Attrnodes are specified. And, cloning Document, DocumentType, Entity, and Notation nodesis implementation dependent.

Defined in: SystemDOM

Function cloneNode(Const deep : Boolean): TDOM_Node;

TDOM_Node.hasAttributes

Returns whether this node (if it is an element) has any attributes.

Defined in: SystemDOM

Function hasAttributes: Boolean;

TDOM_Node.hasChildNodes

Returns whether this node has any children.

Defined in: SystemDOM

Function hasChildNodes: Boolean;

TDOM_Node.insertBefore

Inserts the node newChild before the existing child node refChild. If refChildis null, insert newChild at the end of the list of children.

If newChild is a DocumentFragment object, all of its children are inserted, in thesame order, before refChild. If the newChild is already in the tree, it is firstremoved.

Defined in: SystemDOM

Function insertBefore(Const newChild : TDOM_Node; Const refChild : TDOM_Node): TDOM_Node;

TDOM_Node.isSupported

Tests whether the DOM implementation implements a specific feature and thatfeature is supported by this node.

Defined in: SystemDOM

Function isSupported(Const feature : String; Const version : String): Boolean;

TDOM_Node.normalize

modified in DOM Level 2Puts all Text nodes in the full depth of the sub-tree underneath this Node, includingattribute nodes, into a "normal" form where only structure (e.g., elements, comments,processing instructions, CDATA sections, and entity references) separates Text nodes,i.e., there are neither adjacent Text nodes nor empty Text nodes. This can be usedto ensure that the DOM view of a document is the same as if it were saved and re-loaded,and is useful when operations (such as XPointer [XPointer] lookups) that dependon a particular document tree structure are to be used.

Note: In cases where the document contains CDATASections, the normalize operationalone may not be sufficient, since XPointers do not differentiate between Text nodesand CDATASection nodes.

Defined in: SystemDOM

Procedure normalize;

TDOM_Node.removeChild

Removes the child node indicated by oldChild from the list of children, andreturns it.

Defined in: SystemDOM

Function removeChild(Const oldChild : TDOM_Node): TDOM_Node;

TDOM_Node.replaceChild

Replaces the child node oldChild with newChild in the list of children, andreturns the oldChild node.

If newChild is a DocumentFragment object, oldChild is replaced by all of the DocumentFragmentchildren, which are inserted in the same order. If the newChild is already in thetree, it is first removed.

Defined in: SystemDOM

Function replaceChild(Const newChild : TDOM_Node; Const oldChild : TDOM_Node): TDOM_Node;

TDOM_NodeFilter.acceptNode

Test whether a specified node is visible in the logical view of a TreeWalkeror NodeIterator. This function will be called by the implementation of TreeWalkerand NodeIterator; it is not normally called directly from user code. (Though youcould do so if you wanted to use the same filter to guide your own application logic.)

Defined in: SystemDOM

Function acceptNode(Const n : TDOM_Node): Integer;

TDOM_NodeIterator.detach

Detaches the NodeIterator from the set which it iterated over, releasing anycomputational resources and placing the iterator in the INVALID state. After detachhas been invoked, calls to nextNode or previousNode will raise the exception INVALID_STATE_ERR.

Defined in: SystemDOM

Procedure detach;

TDOM_NodeIterator.nextNode

Returns the next node in the set and advances the position of the iterator inthe set. After a NodeIterator is created, the first call to nextNode() returns thefirst node in the set.

Defined in: SystemDOM

Function nextNode: TDOM_Node;

TDOM_NodeIterator.previousNode

Returns the previous node in the set and moves the position of the NodeIteratorbackwards in the set.

Defined in: SystemDOM

Function previousNode: TDOM_Node;

TDOM_NodeList.item

Returns the indexth item in the collection. If index is greater than or equalto the number of nodes in the list, this returns null.

Defined in: SystemDOM

Function item(Const index : Integer): TDOM_Node;

TDOM_Range.cloneContents

Duplicates the contents of a Range

Defined in: SystemDOM

Function cloneContents: TDOM_DocumentFragment;

TDOM_Range.cloneRange

Produces a new Range whose boundary-points are equal to the boundary-pointsof the Range.

Defined in: SystemDOM

Function cloneRange: TDOM_Range;

TDOM_Range.collapse

Collapse a Range onto one of its boundary-points Parameters

Defined in: SystemDOM

Procedure collapse(Const toStart : Boolean);

TDOM_Range.compareBoundaryPoints

Compare the boundary-points of two Ranges in a document.

Defined in: SystemDOM

Function compareBoundaryPoints(Const how : Integer;
                               Const sourceRange : TDOM_Range): Integer;

TDOM_Range.deleteContents

Removes the contents of a Range from the containing document or document fragmentwithout returning a reference to the removed content.

Defined in: SystemDOM

Procedure deleteContents;

TDOM_Range.detach

Called to indicate that the Range is no longer in use and that the implementationmay relinquish any resources associated with this Range. Subsequent calls to anymethods or attribute getters on this Range will result in a DOMException being thrownwith an error code of INVALID_STATE_ERR.

Defined in: SystemDOM

Procedure detach;

TDOM_Range.extractContents

Moves the contents of a Range from the containing document or document fragmentto a new DocumentFragment.

Defined in: SystemDOM

Function extractContents: TDOM_DocumentFragment;

TDOM_Range.insertNode

Inserts a node into the Document or DocumentFragment at the start of the Range.

If the container is a Text node, this will be split at the start of the Range (asif the Text node's splitText method was performed at the insertion point) and theinsertion will occur between the two resulting Text nodes. Adjacent Text nodes willnot be automatically merged. If the node to be inserted is a DocumentFragment node,the children will be inserted rather than the DocumentFragment node itself.

Defined in: SystemDOM

Procedure insertNode(Const newNode : TDOM_Node);

TDOM_Range.selectNode

Select a node and its contents

Defined in: SystemDOM

Procedure selectNode(Const refNode : TDOM_Node);

TDOM_Range.selectNodeContents

Select the contents within a node Parameters

Defined in: SystemDOM

Procedure selectNodeContents(Const refNode : TDOM_Node);

TDOM_Range.setEnd

Sets the attributes describing the end of a Range.

Defined in: SystemDOM

Procedure setEnd(Const refNode : TDOM_Node; Const offset : Integer);

TDOM_Range.setEndAfter

Sets the end of a Range to be after a node

Defined in: SystemDOM

Procedure setEndAfter(Const refNode : TDOM_Node);

TDOM_Range.setEndBefore

Sets the end position to be before a node.

Defined in: SystemDOM

Procedure setEndBefore(Const refNode : TDOM_Node);

TDOM_Range.setStart

Sets the attributes describing the start of the Range.

Defined in: SystemDOM

Procedure setStart(Const refNode : TDOM_Node; Const offset : Integer);

TDOM_Range.setStartAfter

Sets the start position to be after a node

Defined in: SystemDOM

Procedure setStartAfter(Const refNode : TDOM_Node);

TDOM_Range.setStartBefore

Sets the start position to be before a node

Defined in: SystemDOM

Procedure setStartBefore(Const refNode : TDOM_Node);

TDOM_Range.surroundContents

Reparents the contents of the Range to the given node and inserts the node atthe position of the start of the Range.

Defined in: SystemDOM

Procedure surroundContents(Const newParent : TDOM_Node);

TDOM_Text.splitText

Breaks this node into two nodes at the specified offset, keeping both in thetree as siblings. After being split, this node will contain all the content up tothe offset point. A new node of the same type, which contains all the content atand after the offset point, is returned. If the original node had a parent node,the new node is inserted as the next sibling of the original node. When the offsetis equal to the length of this node, the new node has no data.

Defined in: SystemDOM

Function splitText(Const offset : Integer): TDOM_Text;

TDOM_TreeWalker.firstChild

Moves the TreeWalker to the first visible child of the current node, and returnsthe new node. If the current node has no visible children, returns null, and retainsthe current node.

Defined in: SystemDOM

Function firstChild: TDOM_Node;

TDOM_TreeWalker.lastChild

Moves the TreeWalker to the last visible child of the current node, and returnsthe new node. If the current node has no visible children, returns null, and retainsthe current node.

Defined in: SystemDOM

Function lastChild: TDOM_Node;

TDOM_TreeWalker.nextNode

Moves the TreeWalker to the next visible node in document order relative tothe current node, and returns the new node. If the current node has no next node,or if the search for nextNode attempts to step upward from the TreeWalker's rootnode, returns null, and retains the current node.

Defined in: SystemDOM

Function nextNode: TDOM_Node;

TDOM_TreeWalker.nextSibling

Moves the TreeWalker to the next sibling of the current node, and returns thenew node. If the current node has no visible next sibling, returns null, and retainsthe current node.

Defined in: SystemDOM

Function nextSibling: TDOM_Node;

TDOM_TreeWalker.parentNode

Moves to and returns the closest visible ancestor node of the current node.

If the search for parentNode attempts to step upward from the TreeWalker's rootnode, or if it fails to find a visible ancestor node, this method retains the currentposition and returns null.

Defined in: SystemDOM

Function parentNode: TDOM_Node;

TDOM_TreeWalker.previousNode

Moves the TreeWalker to the previous visible node in document order relativeto the current node, and returns the new node. If the current node has no previousnode, or if the search for previousNode attempts to step upward from the TreeWalker'sroot node, returns null, and retains the current node.

Defined in: SystemDOM

Function previousNode: TDOM_Node;

TDOM_TreeWalker.previousSibling

Moves the TreeWalker to the previous sibling of the current node, and returnsthe new node. If the current node has no visible previous sibling, returns null,and retains the current node.

Defined in: SystemDOM

Function previousSibling: TDOM_Node;

TDOM_UIEvent.initUIEvent

The initUIEvent method is used to initialize the value of a UIEvent createdthrough the DocumentEvent interface. This method may only be called before the UIEventhas been dispatched via the dispatchEvent method, though it may be called multipletimes during that phase if necessary. If called multiple times, the final invocationtakes precedence.

Defined in: SystemDOM

Procedure initUIEvent(Const typeArg : String;
                      Const canBubbleArg : Boolean;
                      Const cancelableArg : Boolean;
                      Const viewArg : TDOM_AbstractView;
                      Const detailArg : Integer);

TDOMHandleArray.Add

Adds HTML element handle to the Handles array.

Defined in: SystemControls

Procedure Add(H : THTML_Element);

TDOMHandleArray.AddEventHandler

Attaches event handler to the underlying HTML element.

Defined in: SystemControls

Procedure AddEventHandler(EventName : String; EventHandler : Pointer);

TDOMHandleArray.AppendWrapperProperty

Links HTML element handle to the owner Web Control.

Defined in: SystemControls

Procedure AppendWrapperProperty(PropValue : Pointer);

TDOMHandleArray.AttachEffectsEventHandler

Attaches event handler required for the tracking of Web Control state changing to the underlying HTML element.

Defined in: SystemControls

Procedure AttachEffectsEventHandler(EventHandler : Pointer);

TDOMHandleArray.AttachEventHandler

Attaches event handler to the underlying HTML element.

Defined in: SystemControls

Procedure AttachEventHandler(EventName : String; EventHandler : Pointer);

TDOMHandleArray.Create

Creates new instance of TDOMHandleArray class.

Defined in: SystemControls

Constructor Create: TDOMHandleArray;

TDOMHandleArray.Destroy

Disposes of the DOMHandleArray and releases allocated resources and disconnects events.

NOTE:Do not call the Destroy method directly. Call the Free method instead.

Defined in: SystemControls

Destructor Destroy;

TDOMHandleArray.DestroyDOMHandles

Dispose of HTML element handles.

Normally you do not need to call this method directly; use FreeDOM method of Web Control instead.

Defined in: SystemControls

Procedure DestroyDOMHandles;

TDOMHandleArray.DetachEventHandler

Detaches event handler from the underlying HTML element.

Defined in: SystemControls

Procedure DetachEventHandler(EventName : String; EventHandler : Pointer);

TDOMHandleArray.DetachEventHandlers

Detaches all event handler associated with underlying HTML element.

NOTE:Normally you do not need to call this method directly; it's called when during Web Control finalization.

Defined in: SystemControls

Procedure DetachEventHandlers;

TDOMHandleArray.Handle

Gets HTML element handle from the Handles array by the given Band index.

@returns HTML element handle from by its index.

NOTE:If - 1 is passed as Inx parameter, this function will return the first element in the Handles array.

Defined in: SystemControls

Function Handle(Inx : Integer): THTML_ElementExt;

TDOMHandleArray.Setup

Establish link between Web Control and the underlying HTML element handles by populating Handles array.

Defined in: SystemControls

Procedure Setup(ID : String; aForm : TAbstractForm);

TDOMRange.cloneContents

Returns a document fragment copying the nodes of a Range.

Defined in: SystemDOMHtml

Function cloneContents: TDOM_Node;

TDOMRange.cloneRange

Returns a Range object with boundary points identical to the cloned Range.

Defined in: SystemDOMHtml

Function cloneRange: TDOMRange;

TDOMRange.collapse

Collapses the Range to one of its boundary points.

Defined in: SystemDOMHtml

Procedure collapse(toStart : Boolean);

TDOMRange.compareBoundaryPoints

Compares the boundary points of two Ranges.

Defined in: SystemDOMHtml

Function compareBoundaryPoints: Integer;

TDOMRange.compareNode

Obsolete. Returns a constant representing whether the node is before, after, inside, or surrounding the range.

Defined in: SystemDOMHtml

Function compareNode: Integer;

TDOMRange.comparePoint

Returns -1, 0, or 1 indicating whether the point occurs before, inside, or after the range.

Defined in: SystemDOMHtml

Function comparePoint: Integer;

TDOMRange.createContextualFragment

Returns a document fragment created from a given string of code.

Defined in: SystemDOMHtml

Function createContextualFragment: TDOM_Node;

TDOMRange.deleteContents

Removes the contents of a Range from the document.

Defined in: SystemDOMHtml

Procedure deleteContents;

TDOMRange.detach

Releases Range from use to improve performance.

Defined in: SystemDOMHtml

Procedure detach;

TDOMRange.extractContents

Moves contents of a Range from the document tree into a document fragment

Defined in: SystemDOMHtml

Function extractContents: TDOM_Node;

TDOMRange.insertNode

Insert a node at the start of a Range.

Defined in: SystemDOMHtml

Procedure insertNode(newNode : TDOM_Node);

TDOMRange.intersectsNode

Obsolete. Returns a boolean indicating whether the given node intersects the range.

Defined in: SystemDOMHtml

Function intersectsNode(referenceNode : TDOM_Node): Boolean;

TDOMRange.isPointInRange

Returns a boolean indicating whether the given point is in the range.

Defined in: SystemDOMHtml

Function isPointInRange: Boolean;

TDOMRange.selectNode

Sets the Range to contain the node and its contents.

Defined in: SystemDOMHtml

Procedure selectNode(referenceNode : TDOM_Node);

TDOMRange.selectNodeContents

Sets the Range to contain the contents of a Node.

Defined in: SystemDOMHtml

Procedure selectNodeContents(referenceNode : TDOM_Node);

TDOMRange.setEnd

Sets the end position of a Range.

Defined in: SystemDOMHtml

Procedure setEnd(startNode : TDOM_Node; startOffset : Integer);

TDOMRange.setEndAfter

Sets the end position of a Range relative to another Node.

Defined in: SystemDOMHtml

Procedure setEndAfter(referenceNode : TDOM_Node);

TDOMRange.setEndBefore

Sets the end position of a Range relative to another Node.

Defined in: SystemDOMHtml

Procedure setEndBefore(referenceNode : TDOM_Node);

TDOMRange.setStart

Sets the start position of a Range.

Defined in: SystemDOMHtml

Procedure setStart(startNode : TDOM_Node; startOffset : Integer);

TDOMRange.setStartAfter

Sets the start position of a Range relative to another Node.

Defined in: SystemDOMHtml

Procedure setStartAfter(referenceNode : TDOM_Node);

TDOMRange.setStartBefore

Sets the start position of a Range relative to another Node.

Defined in: SystemDOMHtml

Procedure setStartBefore(referenceNode : TDOM_Node);

TDOMRange.surroundContents

Moves content of a Range into a new node.

Defined in: SystemDOMHtml

Procedure surroundContents(newNode : TDOM_Node);

TDOMRange.toString

Returns the text of the Range

Defined in: SystemDOMHtml

Function toString: String;

TDOMSelection.cloneContents

Returns a document fragment copying the nodes of a Range.

Defined in: SystemDOMHtml

Function cloneContents: TDOM_Node;

TDOMSelection.cloneRange

Returns a Range object with boundary points identical to the cloned Range.

Defined in: SystemDOMHtml

Function cloneRange: TDOMRange;

TDOMSelection.collapse

Returns the node in which the selection begins.

Defined in: SystemDOMHtml

Procedure collapse(toStart : Boolean);

TDOMSelection.compareBoundaryPoints

Returns an Integer, 1, 0, or -1, indicating whether the corresponding boundary-pointof range is respectively before, equal to, or after the corresponding boundary-pointof sourceRange.

Defined in: SystemDOMHtml

Function compareBoundaryPoints: Integer;

TDOMSelection.compareNode

Obsolete. Returns a constant representing whether the node is before, after, inside, or surrounding the range.

Defined in: SystemDOMHtml

Function compareNode: Integer;

TDOMSelection.comparePoint

Returns -1, 0, or 1 indicating whether the point occurs before, inside, or after the range.

Defined in: SystemDOMHtml

Function comparePoint: Integer;

TDOMSelection.createContextualFragment

Returns a document fragment created from a given string of code.

Defined in: SystemDOMHtml

Function createContextualFragment: TDOM_Node;

TDOMSelection.deleteContents

Removes the contents of a Range from the document.

Defined in: SystemDOMHtml

Procedure deleteContents;

TDOMSelection.detach

Releases Range from use to improve performance.

Defined in: SystemDOMHtml

Procedure detach;

TDOMSelection.extractContents

Moves contents of a Range from the document tree into a document fragment

Defined in: SystemDOMHtml

Function extractContents: TDOM_Node;

TDOMSelection.insertNode

Insert a node at the start of a Range.

Defined in: SystemDOMHtml

Procedure insertNode(newNode : TDOM_Node);

TDOMSelection.intersectsNode

Returns a boolean indicating whether the given node intersects the range.

Defined in: SystemDOMHtml

Function intersectsNode: Boolean;

TDOMSelection.isPointInRange

Returns a boolean indicating whether the given point is in the range.

Defined in: SystemDOMHtml

Function isPointInRange: Boolean;

TDOMSelection.selectNode

Sets the Range to contain the node and its contents.

Defined in: SystemDOMHtml

Procedure selectNode(referenceNode : TDOM_Node);

TDOMSelection.selectNodeContents

Sets the Range to contain the contents of a Node.

Defined in: SystemDOMHtml

Procedure selectNodeContents(referenceNode : TDOM_Node);

TDOMSelection.setEnd

Sets the end position of a Range.

Defined in: SystemDOMHtml

Procedure setEnd(endNode : TDOM_Node; endOffset : Integer);

TDOMSelection.setEndAfter

Sets the end position of a Range relative to another Node.

Defined in: SystemDOMHtml

Procedure setEndAfter(referenceNode : TDOM_Node);

TDOMSelection.setEndBefore

Sets the end position of a Range relative to another Node.

Defined in: SystemDOMHtml

Procedure setEndBefore(referenceNode : TDOM_Node);

TDOMSelection.setStart

Sets the start position of a Range.

Defined in: SystemDOMHtml

Procedure setStart(startNode : TDOM_Node; startOffset : Integer);

TDOMSelection.setStartAfter

Sets the start position of a Range relative to another Node.

Defined in: SystemDOMHtml

Procedure setStartAfter(referenceNode : TDOM_Node);

TDOMSelection.setStartBefore

Sets the start position of a Range relative to another Node.

Defined in: SystemDOMHtml

Procedure setStartBefore(referenceNode : TDOM_Node);

TDOMSelection.surroundContents

Moves content of a Range into a new node.

Defined in: SystemDOMHtml

Procedure surroundContents(newNode : TDOM_Node);

TDOMSelection.toString

Returns the text of the Range

Defined in: SystemDOMHtml

Function toString: String;

TException.Create

Creates an instance of an exception with a message string.

Defined in: System

Constructor Create(aMsg : String): TException;

TextEdit.Select

Selects the text inside the TextEdit.

Defined in: SystemControlsSTD

Procedure Select;

TextEdit.SelectRange

Selects a portion of text inside the TextEdit.

Defined in: SystemControlsSTD

Procedure SelectRange(SelStart : Integer; SelEnd : Integer);

TextLabel.IsHyperLink

Returns True if the TextLabel is used as a hyperlink; returns False otherwise.

Defined in: SystemControlsSTD

Function IsHyperLink: Boolean;

TFunction.apply

Allows you to apply a method of another object in the context of a differentobject (the calling object). You can assign a different this object when callingan existing function. this refers to the current object, the calling object. Withapply, you can write a method once and then inherit it in another object, withouthaving to rewrite the method for the new object.

apply is very similar to call, except for the type of arguments it supports. Youcan use an arguments array instead of a named set of parameters. With apply, youcan use an array literal, for example, apply(this, [name, value]), or an Array object,for example, apply(this, new Array(name, value)).

You can also use arguments for the argArray parameter. arguments is a local variableof a function. It can be used for all unspecified arguments of the called object.

Thus, you do not have to know the arguments of the called object when you use theapply method. You can use arguments to pass all the arguments to the called object.

The called object is then responsible for handling the arguments.

Defined in: System

Procedure apply(Const thisArg : TJObject);

TFunction.call

Allows you to call (execute) a method of another object in the context of adifferent object (the calling object). You can assign a different this object whencalling an existing function. this refers to the current object, the calling object.

With call, you can write a method once and then inherit it in another object, withouthaving to rewrite the method for the new object.

Defined in: System

Procedure call(Const thisArg : TJObject);

TFunction.toSource

Returns a string representing the source code for the function.

Defined in: System

Function toSource: String;

TFunction.toString

Returns a string representing the source code of the function. The Functionobject overrides the toString method of the Object object; it does not inherit Object.toString.

For Function objects, the toString method returns a string representation of theobject.

JavaScript calls the toString method automatically when a Function is to be representedas a text value or when a Function is referred to in a string concatenation.

For Function objects, the built-in toString method decompiles the function backinto the JavaScript source that defines the function. This string includes the functionkeyword, the argument list, curly braces, and function body.

Defined in: System

Function toString: String;

TFunction.valueOf

Retrns a string representing the source code of the function.

Defined in: System

Function valueOf: String;

THTML_AnchorElement.blur

Removes keyboard focus from this element.

Defined in: SystemDOMHtml

Procedure blur;

THTML_AnchorElement.focus

Gives keyboard focus to this element.

Defined in: SystemDOMHtml

Procedure focus;

THTML_Collection.item

This method retrieves a node specified by ordinal index. Nodes are numberedin tree order (depth-first traversal order).

Defined in: SystemDOMHtml

Function item(Const index : Integer): TDOM_Node;

THTML_Collection.namedItem

This method retrieves a Node using a name. With [HTML 4.01] documents, it firstsearches for a Node with a matching id attribute. If it doesn't find one, it thensearches for a Node with a matching name attribute, but only on those elements thatare allowed a name attribute. With [XHTML 1.0] documents, this method only searchesfor Nodes with a matching id attribute. This method is case insensitive in HTMLdocuments and case sensitive in XHTML documents.

Defined in: SystemDOMHtml

Function namedItem(Const name : String): TDOM_Node;

THTML_CSSMediaRule.deleteRule

Used to delete a rule from the media block.

Defined in: SystemDOMHtml

Procedure deleteRule(Const index : Integer);

THTML_CSSMediaRule.insertRule

Used to insert a new rule into the media block.

Defined in: SystemDOMHtml

Function insertRule(Const rule : String; Const index : Integer): Integer;

THTML_CSSPrimitiveValue.getCounterValue

This method is used to get the Counter value. If this CSS value doesn't containa counter value, a DOMException is raised. Modification to the corresponding styleproperty can be achieved using the Counter interface.

Defined in: SystemDOMHtml

Function getCounterValue: THTML_Counter;

THTML_CSSPrimitiveValue.getFloatValue

This method is used to get a float value in a specified unit. If this CSS valuedoesn't contain a float value or can't be converted into the specified unit, a DOMExceptionis raised.

Defined in: SystemDOMHtml

Function getFloatValue(Const unitType : Integer): Double;

THTML_CSSPrimitiveValue.getRectValue

This method is used to get the Rect value. If this CSS value doesn't containa rect value, a DOMException is raised. Modification to the corresponding styleproperty can be achieved using the Rect interface.

Defined in: SystemDOMHtml

Function getRectValue: THTML_Rect;

THTML_CSSPrimitiveValue.getRGBColorValue

This method is used to get the RGB color. If this CSS value doesn't containa RGB color value, a DOMException is raised. Modification to the corresponding styleproperty can be achieved using the RGBColor interface.

Defined in: SystemDOMHtml

Function getRGBColorValue: THTML_RGBColor;

THTML_CSSPrimitiveValue.getStringValue

This method is used to get the string value. If the CSS value doesn't containa string value, a DOMException is raised.

Note: Some properties (like 'font-family' or 'voice-family') convert a whitespaceseparated list of idents to a string.

Defined in: SystemDOMHtml

Function getStringValue: String;

THTML_CSSPrimitiveValue.setFloatValue

A method to set the float value with a specified unit. If the property attachedwith this value can not accept the specified unit or the float value, the valuewill be unchanged and a DOMException will be raised.

Defined in: SystemDOMHtml

Procedure setFloatValue(Const unitType : Integer; Const floatValue : Double);

THTML_CSSPrimitiveValue.setStringValue

A method to set the string value with the specified unit. If the property attachedto this value can't accept the specified unit or the string value, the value willbe unchanged and a DOMException will be raised.

Defined in: SystemDOMHtml

Procedure setStringValue(Const stringType : Integer; Const stringValue : String);

THTML_CSSRuleList.item

Used to retrieve a CSS rule by ordinal index. The order in this collection representsthe order of the rules in the CSS style sheet. If index is greater than or equalto the number of rules in the list, this returns null.

Parameters:index of type unsigned longIndex into the collectionReturn Value:CSSRule, The style rule at the index position in the CSSRuleList, or null if thatis not a valid index.

No Exceptions

Defined in: SystemDOMHtml

Function item(Const index : Integer): THTML_CSSRule;

THTML_CSSStyleDeclaration.getPropertyCSSValue

Used to retrieve the object representation of the value of a CSS property ifit has been explicitly set within this declaration block. This method returns nullif the property is a shorthand property. Shorthand property values can only be accessedand modified as strings, using the getPropertyValue and setProperty methods.

Defined in: SystemDOMHtml

Function getPropertyCSSValue(Const propertyName : String): THTML_CSSValue;

THTML_CSSStyleDeclaration.getPropertyPriority

Used to retrieve the priority of a CSS property (e.g. the "important" qualifier)if the property has been explicitly set in this declaration block.

Defined in: SystemDOMHtml

Function getPropertyPriority(Const propertyName : String): String;

THTML_CSSStyleDeclaration.getPropertyValue

Used to retrieve the value of a CSS property if it has been explicitly set withinthis declaration block. Parameters

Defined in: SystemDOMHtml

Function getPropertyValue(Const propertyName : String): String;

THTML_CSSStyleDeclaration.item

Used to retrieve the properties that have been explicitly set in this declarationblock. The order of the properties retrieved using this method does not have tobe the order in which they were set. This method can be used to iterate over allproperties in this declaration block. Parametersindex of type unsigned longIndex of the property name to retrieve.

Defined in: SystemDOMHtml

Function item(Const index : Integer): String;

THTML_CSSStyleSheet.deleteRule

Used to delete a rule from the style sheet.

Parameters:index of type unsigned longThe index within the style sheet's rule list of the rule to remove.

Exceptions: DOMException,INDEX_SIZE_ERR: Raised if the specified index does not correspond to a rule in thestyle sheet's rule list.

NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is readonly.

No Return Value

Defined in: SystemDOMHtml

Procedure deleteRule(Const index : Integer);

THTML_CSSStyleSheet.insertRule

Used to insert a new rule into the style sheet. The new rule now becomes partof the cascade.

Parameters:rule of type StringThe parsable text representing the rule. For rule sets this contains both the selectorand the style declaration. For at-rules, this specifies both the at-identifier andthe rule content.

index of type unsigned longThe index within the style sheet's rule list of the rule before which to insertthe specified rule. If the specified index is equal to the length of the style sheet'srule collection, the rule will be added to the end of the style sheet.

Return Value:unsigned long, The index within the style sheet's rule collection of the newly insertedrule.

Exceptions: DOMException,HIERARCHY_REQUEST_ERR: Raised if the rule cannot be inserted at the specified indexe.g. if an @import rule is inserted after a standard rule set or other at-rule.

INDEX_SIZE_ERR: Raised if the specified index is not a valid insertion point.

NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is readonly.

SYNTAX_ERR: Raised if the specified rule has a syntax error and is unparsable.

Defined in: SystemDOMHtml

Function insertRule(Const rule : String; Const index : Integer): Integer;

THTML_CSSValueList.item

Used to retrieve a CSSValue by ordinal index. The order in this collection representsthe order of the values in the CSS style property. If index is greater than or equalto the number of values in the list, this returns null.

Defined in: SystemDOMHtml

Function item(Const index : Integer): THTML_CSSValue;

THTML_Document.close

Closes a document stream opened by open() and forces rendering. No ParametersNo Return Value No Exceptions

Defined in: SystemDOMHtml

Procedure close;

THTML_Document.getElementsByName

With [HTML 4.01] documents, this method returns the (possibly empty) collectionof elements whose name value is given by elementName. In [XHTML 1.0] documents,this methods only return the (possibly empty) collection of form controls with matchingname. This method is case sensitive.

Defined in: SystemDOMHtml

Function getElementsByName(Const elementName : String): TDOM_NodeList;

THTML_Document.open

Open a document stream for writing. If a document exists in the target, thismethod clears it.

Note: This method and the ones following allow a user to add to or replace the structuremodel of a document using strings of unparsed HTML. At the time of writing alternatemethods for providing similar functionality for both HTML and XML documents werebeing considered (see [DOM Level 3 Load and Save]).

Defined in: SystemDOMHtml

Procedure open;

THTML_Document.write

Write a string of text to a document stream opened by open(). Note that thefunction will produce a document which is not necessarily driven by a DTD and thereforemight be produce an invalid result in the context of the document.

Defined in: SystemDOMHtml

Procedure write(Const text : String);

THTML_Document.writeln

Write a string of text followed by a newline character to a document streamopened by open(). Note that the function will produce a document which is not necessarilydriven by a DTD and therefore might be produce an invalid result in the contextof the document

Defined in: SystemDOMHtml

Procedure writeln(Const text : String);

THTML_DocumentCSS.getOverrideStyle

This method is used to retrieve the override style declaration for a specifiedelement and a specified pseudo-element.

Defined in: SystemDOMHtml

Function getOverrideStyle(Const elt : TDOM_Element; Const pseudoElt : String): THTML_CSSStyleDeclaration;

THTML_DOMImplementationCSS.createCSSStyleSheet

Creates a new CSSStyleSheet.

Defined in: SystemDOMHtml

Function createCSSStyleSheet(Const title : String; Const media : String): THTML_CSSStyleSheet;

THTML_FormElement.reset

Restores a form element's default values. It performs the same action as a resetbutton.

Defined in: SystemDOMHtml

Procedure reset;

THTML_FormElement.submit

Submits the form. It performs the same action as a submit button.

Defined in: SystemDOMHtml

Procedure submit;

THTML_InputElement.blur

Removes keyboard focus from this element.

Defined in: SystemDOMHtml

Procedure blur;

THTML_InputElement.click

Simulate a mouse-click. For INPUT elements whose type attribute has one of thefollowing values: "button", "checkbox", "radio", "reset", or "submit".

Defined in: SystemDOMHtml

Procedure click;

THTML_InputElement.focus

Gives keyboard focus to this element.

Defined in: SystemDOMHtml

Procedure focus;

THTML_InputElement.select

Select the contents of the text area. For INPUT elements whose type attributehas one of the following values: "text", "file", or "password".

Defined in: SystemDOMHtml

Procedure select;

THTML_MediaList.appendMedium

Adds the medium newMedium to the end of the list. If the newMedium is alreadyused, it is first removed.

Parameters:newMedium of type StringThe new medium to add.

Exceptions: DOMException,INVALID_CHARACTER_ERR: If the medium contains characters that are invalid in theunderlying style language.

NO_MODIFICATION_ALLOWED_ERR: Raised if this list is readonly.

No Return Value

Defined in: SystemDOMHtml

Procedure appendMedium(Const newMedium : String);

THTML_MediaList.deleteMedium

Deletes the medium indicated by oldMedium from the list.

Parameters:oldMedium of type StringThe medium to delete in the media list.

Exceptions: DOMException,NO_MODIFICATION_ALLOWED_ERR: Raised if this list is readonly.

NOT_FOUND_ERR: Raised if oldMedium is not in the list.

No Return Value

Defined in: SystemDOMHtml

Procedure deleteMedium(Const oldMedium : String);

THTML_MediaList.item

Returns the indexth in the list. If index is greater than or equal to the numberof media in the list, this returns null.

Parameters:index of type unsigned longIndex into the collection.

Return Value:String, The medium at the indexth position in the MediaList, or null if that isnot a valid index.

Defined in: SystemDOMHtml

Function item(Const index : Integer): String;

THTML_OptionsCollection.item

This method retrieves a node specified by ordinal index. Nodes are numberedin tree order (depth-first traversal order).

Defined in: SystemDOMHtml

Function item(Const index : Integer): TDOM_Node;

THTML_SelectElement.add

Add a new element to the collection of OPTION elements for this SELECT. Thismethod is the equivalent of the appendChild method of the Node interface if thebefore parameter is null. It is equivalent to the insertBefore method on the parentof before in all other cases. This method may have no effect if the new elementis not an OPTION or an OPTGROUP.

Parameters

Defined in: SystemDOMHtml

Procedure add(Const element : THTML_Element; Const before : THTML_Element);

THTML_SelectElement.blur

Removes keyboard focus from this element.

Defined in: SystemDOMHtml

Procedure blur;

THTML_SelectElement.focus

Gives keyboard focus to this element.

Defined in: SystemDOMHtml

Procedure focus;

THTML_SelectElement.remove

Remove an element from the collection of OPTION elements for this SELECT. Doesnothing if no element has the given index.

Defined in: SystemDOMHtml

Procedure remove(Const index : Integer);

THTML_StyleSheetList.item

Used to retrieve a style sheet by ordinal index. If index is greater than orequal to the number of style sheets in the list, this returns null. Parametersindex of type unsigned long Index into the collectionReturn Value:StyleSheet, The style sheet at the index position in the StyleSheetList, or nullif that is not a valid index.

No Exceptions

Defined in: SystemDOMHtml

Function item(Const index : Integer): THTML_StyleSheet;

THTML_TableElement.createCaption

Create a new table caption object or return an existing one. Return ValueHTMLElement, CAPTION element. Parameters No Exceptions

Defined in: SystemDOMHtml

Function createCaption: THTML_Element;

THTML_TableElement.createTFoot

Create a table footer row or return an existing one. Return ValueHTMLElement, A footer element (TFOOT). No Parameters No Exceptions

Defined in: SystemDOMHtml

Function createTFoot: THTML_Element;

THTML_TableElement.createTHead

Create a table header row or return an existing one. Return ValueHTMLElement,A new table header element (THEAD). No Parameters No Exceptions

Defined in: SystemDOMHtml

Function createTHead: THTML_Element;

THTML_TableElement.deleteCaption

Delete the table caption, if one exists. No Parameters No Return Value No Exceptions

Defined in: SystemDOMHtml

Procedure deleteCaption;

THTML_TableElement.deleteRow

modified in DOM Level 2 Delete a table row. Parametersindex of type longThe index of the row to be deleted. This index starts from 0 and is relative tothe logical order (not document order) of all the rows contained inside the table.

If the index is -1 the last row in the table is deleted.

ExceptionsDOMException,INDEX_SIZE_ERR: Raised if the specified index is greater than or equalto the number of rows or if the index is a negative number other than -1.

No Return Value

Defined in: SystemDOMHtml

Procedure deleteRow(Const index : Integer);

THTML_TableElement.deleteTFoot

Delete the footer from the table, if one exists. No Parameters No Return ValueNo Exceptions

Defined in: SystemDOMHtml

Procedure deleteTFoot;

THTML_TableElement.deleteTHead

Delete the header from the table, if one exists. No Parameters No Return ValueNo Exceptions

Defined in: SystemDOMHtml

Procedure deleteTHead;

THTML_TableElement.insertRow

modified in DOM Level 2 Insert a new empty row in the table. The new row isinserted immediately before and in the same section as the current indexth row inthe table. If index is -1 or equal to the number of rows, the new row is appended.

In addition, when the table is empty the row is inserted into a TBODY which is createdand inserted into the table.

Note: A table row cannot be empty according to [HTML 4.01].

Parametersindex of type longThe row number where to insert a new row. This index starts from 0 and is relativeto the logical order (not document order) of all the rows contained inside the table.

Return Value:HTMLElement, The newly created row.

Exceptions: DOMException,INDEX_SIZE_ERR: Raised if the specified index is greater than the number of rowsor if the index is a negative number other than -1.

Defined in: SystemDOMHtml

Function insertRow(Const index : Integer): THTML_Element;

THTML_TableRowElement.deleteCell

modified in DOM Level 2. Delete a cell from the current row. Parametersindex of type longThe index of the cell to delete, starting from 0. If the index is -1 the last cellin the row is deleted.

Exceptions:DOMException,INDEX_SIZE_ERR: Raised if the specified index is greater than or equal to the numberof cells or if the index is a negative number other than -1.

No Return Value

Defined in: SystemDOMHtml

Procedure deleteCell(Const index : Integer);

THTML_TableRowElement.insertCell

modified in DOM Level 2. Insert an empty TD cell into this row. If index is-1 or equal to the number of cells, the new cell is appended.

Parameters:index of type longThe place to insert the cell, starting from 0.

Return Value:HTMLElement, The newly created cell.

Exceptions:DOMException,INDEX_SIZE_ERR: Raised if the specified index is greater than the number of cellsor if the index is a negative number other than -1.

Defined in: SystemDOMHtml

Function insertCell(Const index : Integer): THTML_Element;

THTML_TableSectionElement.deleteRow

modified in DOM Level 2 Delete a row from this section. Parametersindex of type longThe index of the row to be deleted, or -1 to delete the last row. This index startsfrom 0 and is relative only to the rows contained inside this section, not all therows in the table.

Exceptions:DOMException, INDEX_SIZE_ERR: Raised if the specified index is greater than or equalto the number of rows or if the index is a negative number other than -1.

No Return Value

Defined in: SystemDOMHtml

Procedure deleteRow(Const index : Integer);

THTML_TableSectionElement.insertRow

modified in DOM Level 2 Insert a row into this section. The new row is insertedimmediately before the current indexth row in this section. If index is -1 or equalto the number of rows in this section, the new row is appended.

Parameters:index of type longThe row number where to insert a new row. This index starts from 0 and is relativeonly to the rows contained inside this section, not all the rows in the table.

Return Value:HTMLElement, The newly created row.

Exceptions:DOMException,INDEX_SIZE_ERR: Raised if the specified index is greater than the number of rowsof if the index is a negative number other than -1.

Defined in: SystemDOMHtml

Function insertRow(Const index : Integer): THTML_Element;

THTML_TextAreaElement.blur

Removes keyboard focus from this element.

Defined in: SystemDOMHtml

Procedure blur;

THTML_TextAreaElement.focus

Gives keyboard focus to this element.

Defined in: SystemDOMHtml

Procedure focus;

THTML_TextAreaElement.select

Select the contents of the TEXTAREA.

Defined in: SystemDOMHtml

Procedure select;

THTML_ViewCSS.getComputedStyle

This method is used to get the computed style as it is defined in [CSS2].

Parameters

Defined in: SystemDOMHtml

Function getComputedStyle(Const elt : TDOM_Element; Const pseudoElt : String): THTML_CSSStyleDeclaration;

TItemData.Create

Creates a new instance of SystemCatalog.TItemData class.

NOTE:Normally you do not need to use this method directly; it's executedby the Framework in the process of loading of the global Catalog.

Defined in: SystemCatalog

Constructor Create: TItemData;

TJDate.getDate

Returns the day of the month for the specified date according to local time.

The value returned by getDate is an integer between 1 and 31.

Defined in: System

Function getDate: Integer;

TJDate.getDay

Returns the day of the week for the specified date according to local time.

The value returned by getDay is an integer corresponding to the day of the week:0 for Sunday, 1 for Monday, 2 for Tuesday, and so on.

Defined in: System

Function getDay: Integer;

TJDate.getFullYear

Returns the year of the specified date according to local time. The value returnedby getFullYear is an absolute number. For dates between the years 1000 and 9999,getFullYear returns a four-digit number, for example, 1995. Use this function tomake sure a year is compliant with years after 2000.

Use this method instead of the getYear method.

Defined in: System

Function getFullYear: Integer;

TJDate.getHours

Returns the hour for the specified date according to local time. The value returnedby getHours is an integer between 0 and 23.

Defined in: System

Function getHours: Integer;

TJDate.getMilliseconds

Returns the milliseconds in the specified date according to local time. Thevalue returned by getMilliseconds is a number between 0 and 999.

Defined in: System

Function getMilliseconds: Integer;

TJDate.getMinutes

Returns the minutes in the specified date according to local time. The valuereturned by getMinutes is an integer between 0 and 59.

Defined in: System

Function getMinutes: Integer;

TJDate.getMonth

Returns the month in the specified date according to local time. The value returnedby getMonth is an integer between 0 and 11. 0 corresponds to January, 1 to February,and so on.

Defined in: System

Function getMonth: Integer;

TJDate.getSeconds

Returns the seconds in the specified date according to local time. The valuereturned by getSeconds is an integer between 0 and 59.

Defined in: System

Function getSeconds: Integer;

TJDate.getTime

Returns the numeric value corresponding to the time for the specified date accordingto universal time. The value returned by the getTime method is the number of millisecondssince 1 January 1970 00:00:00. You can use this method to help assign a date andtime to another Date object. This method is functionally equivalent to the valueOfmethod.

Defined in: System

Function getTime: Integer;

TJDate.getTimezoneOffset

Returns the time-zone offset in minutes for the current locale. The time-zoneoffset is the minutes in difference, the Greenwich Mean Time (GMT) is relative toyour local time. For example, if your time zone is GMT+10, -600 will be returned.

Daylight savings time prevents this value from being a constant.

Defined in: System

Function getTimezoneOffset: Integer;

TJDate.getUTCDate

Returns the day (date) of the month in the specified date according to universaltime. The value returned by getUTCDate is an integer between 1 and 31.

Defined in: System

Function getUTCDate: Integer;

TJDate.getUTCDay

Returns the day of the week in the specified date according to universal time.

The value returned by getUTCDay is an integer corresponding to the day of the week:0 for Sunday, 1 for Monday, 2 for Tuesday, and so on.

Defined in: System

Function getUTCDay: Integer;

TJDate.getUTCFullYear

Returns the year in the specified date according to universal time. The valuereturned by getUTCFullYear is an absolute number that is compliant with year-2000,for example, 1995.

Defined in: System

Function getUTCFullYear: Integer;

TJDate.getUTCHours

Returns the hours in the specified date according to universal time. The valuereturned by getUTCHours is an integer between 0 and 23.

Defined in: System

Function getUTCHours: Integer;

TJDate.getUTCMilliseconds

Returns the milliseconds in the specified date according to universal time.

The value returned by getUTCMilliseconds is an integer between 0 and 999.

Defined in: System

Function getUTCMilliseconds: Integer;

TJDate.getUTCMinutes

Returns the minutes in the specified date according to universal time. The valuereturned by getUTCMinutes is an integer between 0 and 59.

Defined in: System

Function getUTCMinutes: Integer;

TJDate.getUTCMonth

Returns the month of the specified date according to universal time. The valuereturned by getUTCMonth is an integer between 0 and 11 corresponding to the month.

0 for January, 1 for February, 2 for March, and so on.

Defined in: System

Function getUTCMonth: Integer;

TJDate.getUTCSeconds

Returns the seconds in the specified date according to universal time. The valuereturned by getUTCSeconds is an integer between 0 and 59.

Defined in: System

Function getUTCSeconds: Integer;

TJDate.getYear

Returns the year in the specified date according to local time. getYear is nolonger used and has been replaced by the getFullYear method.

The getYear method returns the year minus 1900; thus:* For years greater than or equal to 2000, the value returned by getYear is 100or greater. For example, if the year is 2026, getYear returns 126.

* For years between and including 1900 and 1999, the value returned by getYear isbetween 0 and 99. For example, if the year is 1976, getYear returns 76.

* For years less than 1900, the value returned by getYear is less than 0. For example,if the year is 1800, getYear returns -100.

To take into account years before and after 2000, you should use getFullYear insteadof getYear so that the year is specified in full.

Defined in: System

Function getYear: Integer;

TJDate.now

Returns the numeric value corresponding to the current time.

Defined in: System

Function now: Integer;

TJDate.parse

Parses a string representation of a date, and returns the number of millisecondssince January 1, 1970, 00:00:00, local time. The parse method takes a date string(such as "Dec 25, 1995") and returns the number of milliseconds since January 1,1970, 00:00:00 (local time). This function is useful for setting date values basedon string values, for example in conjunction with the setTime method and the Dateobject.

Given a string representing a time, parse returns the time value. It accepts theIETF standard date syntax: "Mon, 25 Dec 1995 13:30:00 GMT". It understands the continentalUS time-zone abbreviations, but for general use, use a time-zone offset, for example,"Mon, 25 Dec 1995 13:30:00 GMT+0430" (4 hours, 30 minutes west of the Greenwichmeridian). If you do not specify a time zone, the local time zone is assumed. GMTand UTC are considered equivalent.

Because parse is a static method of Date, you always use it as Date.parse(), ratherthan as a method of a Date object you created.

Defined in: System

Function parse(Const dateString : String): Integer;

TJDate.setDate

Sets the day of the month for a specified date according to local time.

Defined in: System

Procedure setDate(Const dayValue : Integer);

TJDate.setFullYear

Sets the full year for a specified date according to local time. If you do notspecify the monthValue and dayValue parameters, the values returned from the getMonthand getDate methods are used.

If a parameter you specify is outside of the expected range, setFullYear attemptsto update the other parameters and the date information in the Date object accordingly.

For example, if you specify 15 for monthValue, the year is incremented by 1 (year+ 1), and 3 is used for the month.

Defined in: System

Procedure setFullYear(Const yearValue : Integer);

TJDate.setHours

Sets the hours for a specified date according to local time. If you do not specifythe minutesValue, secondsValue, and msValue parameters, the values returned fromthe getUTCMinutes, getUTCSeconds, and getMilliseconds methods are used.

If a parameter you specify is outside of the expected range, setHours attempts toupdate the date information in the Date object accordingly. For example, if youuse 100 for secondsValue, the minutes will be incremented by 1 (min + 1), and 40will be used for seconds.

Defined in: System

Procedure setHours(Const hoursValue : Integer);

TJDate.setMilliseconds

Sets the milliseconds for a specified date according to local time. If you specifya number outside the expected range, the date information in the Date object isupdated accordingly. For example, if you specify 1005, the number of seconds isincremented by 1, and 5 is used for the milliseconds.

Defined in: System

Procedure setMilliseconds(Const milisecondsValue : Integer);

TJDate.setMinutes

Sets the minutes for a specified date according to local time. If you do notspecify the secondsValue and msValue parameters, the values returned from getSecondsand getMilliseconds methods are used. If a parameter you specify is outside of theexpected range, setMinutes attempts to update the date information in the Date objectaccordingly. For example, if you use 100 for secondsValue, the minutes (minutesValue)will be incremented by 1 (minutesValue + 1), and 40 will be used for seconds.

Defined in: System

Procedure setMinutes(Const minutesValue : Integer);

TJDate.setMonth

Set the month for a specified date according to local time. If you do not specifythe dayValue parameter, the value returned from the getDate method is used.

If a parameter you specify is outside of the expected range, setMonth attempts toupdate the date information in the Date object accordingly. For example, if youuse 15 for monthValue, the year will be incremented by 1 (year + 1), and 3 willbe used for month.

Defined in: System

Procedure setMonth(Const monthVlaue : Integer);

TJDate.setSeconds

Sets the seconds for a specified date according to local time. If you do notspecify the msValue parameter, the value returned from the getMilliseconds methodis used.

If a parameter you specify is outside of the expected range, setSeconds attemptsto update the date information in the Date object accordingly. For example, if youuse 100 for secondsValue, the minutes stored in the Date object will be incrementedby 1, and 40 will be used for seconds.

Defined in: System

Procedure setSeconds(Const secondsvalue : Integer);

TJDate.setTime

Sets the value of a Date object according to local time. Use the setTime methodto help assign a date and time to another Date object.

Defined in: System

Procedure setTime(Const timeValue : Integer);

TJDate.setUTCDate

Sets the day of the month for a specified date according to universal time.

If a parameter you specify is outside of the expected range, setUTCDate attemptsto update the date information in the Date object accordingly. For example, if youuse 40 for dayValue, and the month stored in the Date object is June, the day willbe changed to 10 and the month will be incremented to July.

Defined in: System

Procedure setUTCDate(Const dayValue : Integer);

TJDate.setUTCFullYear

Sets the full year for a specified date according to universal time. If youdo not specify the monthValue and dayValue parameters, the values returned fromthe getMonth and getDate methods are used.

If a parameter you specify is outside of the expected range, setUTCFullYear attemptsto update the other parameters and the date information in the Date object accordingly.

For example, if you specify 15 for monthValue, the year is incremented by 1 (year+ 1), and 3 is used for the month.

Defined in: System

Procedure setUTCFullYear(Const yearValue : Integer);

TJDate.setUTCHours

Sets the hour for a specified date according to universal time. If you do notspecify the minutesValue, secondsValue, and msValue parameters, the values returnedfrom the getUTCMinutes, getUTCSeconds, and getUTCMilliseconds methods are used.

If a parameter you specify is outside of the expected range, setUTCHours attemptsto update the date information in the Date object accordingly. For example, if youuse 100 for secondsValue, the minutes will be incremented by 1 (min + 1), and 40will be used for seconds.

Defined in: System

Procedure setUTCHours(Const hourValue : Integer);

TJDate.setUTCMilliseconds

Sets the milliseconds for a specified date according to universal time. If aparameter you specify is outside of the expected range, setUTCMilliseconds attemptsto update the date information in the Date object accordingly. For example, if youuse 1100 for millisecondsValue, the seconds stored in the Date object will be incrementedby 1, and 100 will be used for milliseconds.

Defined in: System

Procedure setUTCMilliseconds(Const milisecondValue : Integer);

TJDate.setUTCMinutes

Sets the minutes for a specified date according to universal time. If you donot specify the secondsValue and msValue parameters, the values returned from getUTCSecondsand getUTCMilliseconds methods are used.

If a parameter you specify is outside of the expected range, setUTCMinutes attemptsto update the date information in the Date object accordingly. For example, if youuse 100 for secondsValue, the minutes (minutesValue) will be incremented by 1 (minutesValue+ 1), and 40 will be used for seconds.

Defined in: System

Procedure setUTCMinutes(Const minuteValue : Integer);

TJDate.setUTCMonth

Sets the month for a specified date according to universal time. If you do notspecify the dayValue parameter, the value returned from the getUTCDate method isused.

If a parameter you specify is outside of the expected range, setUTCMonth attemptsto update the date information in the Date object accordingly. For example, if youuse 15 for monthValue, the year will be incremented by 1 (year + 1), and 3 willbe used for month.

Defined in: System

Procedure setUTCMonth(Const monthValue : Integer);

TJDate.setUTCSeconds

Sets the seconds for a specified date according to universal time. If you donot specify the msValue parameter, the value returned from the getUTCMillisecondsmethods is used.

If a parameter you specify is outside of the expected range, setUTCSeconds attemptsto update the date information in the Date object accordingly. For example, if youuse 100 for secondsValue, the minutes stored in the Date object will be incrementedby 1, and 40 will be used for seconds.

Defined in: System

Procedure setUTCSeconds(Const secondValue : Integer);

TJDate.setYear

Sets the year for a specified date according to local time. setYear is no longerused and has been replaced by the setFullYear method.

If yearValue is a number between 0 and 99 (inclusive), then the year for dateObjectName is set to 1900 + yearValue. Otherwise, the year for dateObjectNameis set to yearValue.

To take into account years before and after 2000, you should use setFullYear insteadof setYear so that the year is specified in full.

Defined in: System

Procedure setYear(Const yearvalue : Integer);

TJDate.toGMTString

Converts a date to a string, using Internet GMT conventioins. toGMTString isno longer used and has been replaced by the toUTCString method.

The exact format of the value returned by toGMTString varies according to the platform.

You should use Date.toUTCString instead of toGMTSTring.

Defined in: System

Function toGMTString: String;

TJDate.toLocaleDateString

Converts a date to a string, returning the "date" portion using the currentlocale's conventions. The toLocaleDateString method relies on the underlying operatingsystem in formatting dates. It converts the date to a string using the formattingconvention of the operating system where the script is running. For example, inthe United States, the month appears before the date (04/15/98), whereas in Germanythe date appears before the month (15.04.98). If the operating system is not year-2000compliant and does not use the full year for years before 1900 or over 2000, toLocaleDateStringreturns a string that is not year-2000 compliant. toLocaleDateString behaves similarlyto toString when converting a year that the operating system does not properly format.

Methods such as getHours, getMinutes, and getSeconds give more portable resultsthan toLocaleDateString.

Defined in: System

Function toLocaleDateString: String;

TJDate.toLocaleString

Converts a date to a string, using the current locale's conventions. The toLocaleStringmethod relies on the underlying operating system in formatting dates. It convertsthe date to a string using the formatting convention of the operating system wherethe script is running. For example, in the United States, the month appears beforethe date (04/15/98), whereas in Germany the date appears before the month (15.04.98).

If the operating system is not year-2000 compliant and does not use the full yearfor years before 1900 or over 2000, toLocaleString returns a string that is notyear-2000 compliant. toLocaleString behaves similarly to toString when convertinga year that the operating system does not properly format.

Methods such as getHours, getMinutes, and getSeconds give more portable resultsthan toLocaleString.

Defined in: System

Function toLocaleString: String;

TJDate.toLocaleTimeString

Converts a date to a string, returning the "date" portion using the currentlocale's conventions. The toLocaleTimeString method relies on the underlying operatingsystem in formatting dates. It converts the date to a string using the formattingconvention of the operating system where the script is running. For example, inthe United States, the month appears before the date (04/15/98), whereas in Germanythe date appears before the month (15.04.98). If the operating system is not year-2000compliant and does not use the full year for years before 1900 or over 2000, toLocaleTimeStringreturns a string that is not year-2000 compliant. toLocaleTimeString behaves similarlyto toString when converting a year that the operating system does not properly format.

Methods such as getHours, getMinutes, and getSeconds give more portable resultsthan toLocaleTimeString.

Defined in: System

Function toLocaleTimeString: String;

TJDate.toSource

Returns a string representing the source code of the object.

Defined in: System

Function toSource: String;

TJDate.toString

Returns a string representing the specified Date object. The Date object overridesthe toString method of the Object object; it does not inherit Object.toString. ForDate objects, the toString method returns a string representation of the object.

JavaScript calls the toString method automatically when a date is to be representedas a text value or when a date is referred to in a string concatenation.

Defined in: System

Function toString: String;

TJDate.toUTCString

Converts a date to a string, using the universal time convention. The valuereturned by toUTCString is a readable string formatted according to UTC convention.

The format of the return value may vary according to the platform.

Defined in: System

Function toUTCString: String;

TJDate.UTC

Accepts the same parameters as the longest form of the constructor, and returnsthe number of milliseconds in a Date object since January 1, 1970, 00:00:00, universaltime. UTC takes comma-delimited date parameters and returns the number of millisecondsbetween January 1, 1970, 00:00:00, universal time and the time you specified.

You should specify a full year for the year; for example, 1998. If a year between0 and 99 is specified, the method converts the year to a year in the 20th century(1900 + year); for example, if you specify 95, the year 1995 is used.

The UTC method differs from the Date constructor in two ways.

* Date.UTC uses universal time instead of the local time.

* Date.UTC returns a time value as a number instead of creating a Date object.

If a parameter you specify is outside of the expected range, the UTC method updatesthe other parameters to allow for your number. For example, if you use 15 for month,the year will be incremented by 1 (year + 1), and 3 will be used for the month.

Because UTC is a static method of Date, you always use it as Date.UTC(), ratherthan as a method of a Date object you created.

Defined in: System

Function UTC(Const dateString : String): Integer;

TJDate.valueOf

Returns the primitive value of a Date object. The valueOf method returns theprimitive value of a Date object as a number data type, the number of millisecondssince midnight 01 January, 1970 UTC. This method is functionally equivalent to thegetTime method. This method is usually called internally by JavaScript and not explicitlyin code.

Defined in: System

Function valueOf: String;

TJObject.eval

Deprecated. Evaluates a string of JavaScript code in the context of an object.

The eval method should no longer be used as a method of Object. Use the top-leveleval function instead.

Defined in: System

Function eval(Const String : String): Boolean;

TJObject.hasOwnProperty

Returns a boolean indicating whether the object has the specified property.

Every object descended from Object inherits the hasOwnProperty method. This methodcan be used to determine whether an object has the specified property as a directproperty of that object; unlike the in operator, this method does not check downthe object's prototype chain.

Defined in: System

Function hasOwnProperty(Const prop : String): Boolean;

TJObject.propertyIsEnumerable

Returns a boolean indicating whether the specified property is enumerable. Everyobject descended from Object has the propertyIsEnumerable method. This method candetermine whether an object's property can be enumerated by a for...in loop. Ifthe object does not have the specified property, this method returns false. Althoughfor...in does consider the object's prototype chain, this method cannot be usedon an object's property that has been inherited through the prototype chain.

Defined in: System

Function propertyIsEnumerable(Const prop : String): Boolean;

TJObject.toSource

Returns a string representing the source code of the object. This method isusually called internally by JavaScript and not explicitly in code. You can calltoSource while debugging to examine the contents of an object.

Defined in: System

Function toSource: String;

TJObject.toString

Returns a string representing the object. Every object has a toString methodthat is automatically called when it is to be represented as a text value or whenan object is referred to in a string concatenation. By default, the toString methodis inherited by every object descended from Object. You can override this methodfor custom objects that you create. If you do not override toString in a customobject, toString returns [object type], where type is the object type or the nameof the constructor function that created the object.

Defined in: System

Function toString: String;

TJObject.unwatch

Removes a watchpoint set with the watch method. The JavaScript debugger hasfunctionality similar to that provided by this method, as well as other debuggingoptions. For information on the debugger, see Venkman.

By default, this method is inherited by every object descended from Object.

Defined in: System

Procedure unwatch(Const prop : String);

TJObject.valueOf

Returns the primitive value of the specified object. JavaScript calls the valueOfmethod to convert an object to a primitive value. You rarely need to invoke thevalueOf method yourself; JavaScript automatically invokes it when encountering anobject where a primitive value is expected.

By default, the valueOf method is inherited by every object descended from Object.

Every built-in core object overrides this method to return an appropriate value.

Defined in: System

Function valueOf: String;

TJObject.watch

Watches for a property to be assigned a value and runs a function when thatoccurs. Watches for assignment to a property named prop in this object, callinghandler(prop, oldval, newval) whenever prop is set and storing the return valuein that property. A watchpoint can filter (or nullify) the value assignment, byreturning a modified newval (or by returning oldval).

If you delete a property for which a watchpoint has been set, that watchpoint doesnot disappear. If you later recreate the property, the watchpoint is still in effect.

To remove a watchpoint, use the unwatch method. By default, the watch method isinherited by every object descended from Object. The JavaScript debugger has functionalitysimilar to that provided by this method, as well as other debugging options. Forinformation on the debugger, see Venkman.

In NES 3.0 and 4.x, handler is called from assignments in script as well as nativecode. In Firefox, handler is only called from assignments in script, not from nativecode. For example, window.watch('location', myHandler) will not call myHandler ifthe user clicks a link to an anchor within the current document.

Defined in: System

Procedure watch(Const prop : String; Const handler : Pointer);

TMath.abs

Returns the absolute value of a number. abs is a static method of Math, so youalways use it as Math.abs(), rather than as a method of a Math object you created.

Defined in: System

Function abs(Const value : Double): Integer;

TMath.acos

Returns the arccosine (in radians) of a number. The acos method returns a numericvalue between 0 and pi radians for x between -1 and 1. If the value of number isoutside this range, it returns NaN. acos is a static method of Math, so you alwaysuse it as Math.acos(), rather than as a method of a Math object you created.

Defined in: System

Function acos(Const value : Double): Double;

TMath.asin

Returns the arcsine (in radians) of a number. The asin method returns a numericvalue between -pi/2 and pi/2 radians. If the value of number is outside this range,it returns NaN. asin is a static method of Math, so you always use it as Math.asin(),rather than as a method of a Math object you created.

Defined in: System

Function asin(Const value : Double): Double;

TMath.atan

Returns the arctangent (in radians) of a number. The atan method returns a numericvalue between -pi/2 and pi/2 radians. atan is a static method of Math, so you alwaysuse it as Math.atan(), rather than as a method of a Math object you created.

Defined in: System

Function atan(Const value : Double): Double;

TMath.atan2

Returns the arctangent of the quotient of its arguments. The atan2 method returnsa numeric value between -pi and pi representing the angle theta of an (x,y) point.

This is the counterclockwise angle, measured in radians, between the positive Xaxis, and the point (x,y). Note that the arguments to this function pass the y-coordinatefirst and the x-coordinate second.

atan2 is passed separate x and y arguments, and atan is passed the ratio of thosetwo arguments.

Because atan2 is a static method of Math, you always use it as Math.atan2(), ratherthan as a method of a Math object you created.

Defined in: System

Function atan2(Const value : Double): Double;

TMath.ceil

Returns the smallest integer greater than or equal to a number. Because ceilis a static method of Math, you always use it as Math.ceil(), rather than as a methodof a Math object you created.

Defined in: System

Function ceil(Const value : Double): Integer;

TMath.cos

Returns the cosine of a number. The cos method returns a numeric value between-1 and 1, which represents the cosine of the angle. Because cos is a static methodof Math, you always use it as Math.cos(), rather than as a method of a Math objectyou created.

Defined in: System

Function cos(Const value : Double): Double;

TMath.exp

Returns Ex, where x is the argument, and E is Euler's constant, the base ofthe natural logarithms. Because exp is a static method of Math, you always use itas Math.exp(), rather than as a method of a Math object you created.

Defined in: System

Function exp(Const value : Double): Double;

TMath.floor

Returns the largest integer less than or equal to a number. Because floor isa static method of Math, you always use it as Math.floor(), rather than as a methodof a Math object you created.

Defined in: System

Function floor(Const value : Double): Integer;

TMath.log

Returns the natural logarithm (base E) of a number. If the value of number isnegative, the return value is always NaN. Because log is a static method of Math,you always use it as Math.log(), rather than as a method of a Math object you created.

Defined in: System

Function log(Const value : Double): Double;

TMath.max

Returns the largest of zero or more numbers. Because max is a static methodof Math, you always use it as Math.max(), rather than as a method of a Math objectyou created. If no arguments are given, the results is -Infinity If at least oneof arguments cannot be converted to a number, the result is NaN.

Defined in: System

Function max(Const value1 : Integer; Const value2 : Integer): Integer;

TMath.min

Returns the smallest of zero or more numbers. Because min is a static methodof Math, you always use it as Math.min(), rather than as a method of a Math objectyou created. If no arguments are given, the result is Infinity. If at least oneof arguments cannot be converted to a number, the result is NaN.

Defined in: System

Function min(Const value1 : Integer; Const value2 : Integer): Integer;

TMath.pow

Returns base to the exponent power, that is, base exponent. Because pow is astatic method of Math, you always use it as Math.pow(), rather than as a methodof a Math object you created.

Defined in: System

Function pow(Const value1 : Double; Const value2 : Double): Double;

TMath.random

Returns a pseudo-random number in the range [0,1) — that is, between 0 (inclusive)and 1 (exclusive). The random number generator is seeded from the current time,as in Java. Note that Math is not a constructor, so you always invoke random asMath.random() and never create instances of Math. Some may thus call the method"static" due to analogy with class-based OO languages like Java.

Defined in: System

Function random: Integer;

TMath.round

Returns the value of a number rounded to the nearest integer. If the fractionalportion of number is .5 or greater, the argument is rounded to the next higher integer.

If the fractional portion of number is less than .5, the argument is rounded tothe next lower integer. Because round is a static method of Math, you always useit as Math.round(), rather than as a method of a Math object you created.

Defined in: System

Function round(Const value : Double): Integer;

TMath.sin

Returns the sine of a number. The sin method returns a numeric value between-1 and 1, which represents the sine of the argument. Because sin is a static methodof Math, you always use it as Math.sin(), rather than as a method of a Math objectyou created.

Defined in: System

Function sin(Const value : Double): Double;

TMath.sqrt

Returns the square root of a number. If the value of number is negative, sqrtreturns NaN. Because sqrt is a static method of Math, you always use it as Math.sqrt(),rather than as a method of a Math object you created.

Defined in: System

Function sqrt(Const value : Double): Double;

TMath.tan

Returns the tangent of a number. The tan method returns a numeric value thatrepresents the tangent of the angle. Because tan is a static method of Math, youalways use it as Math.tan(), rather than as a method of a Math object you created.

Defined in: System

Function tan(Const value : Double): Double;

TNumber.toExponential

Returns a string representing the Number object in exponential notation. A stringrepresenting a Number object in exponential notation with one digit before the decimalpoint, rounded to fractionDigits digits after the decimal point. If the fractionDigitsargument is omitted, the number of digits after the decimal point defaults to thenumber of digits necessary to represent the value uniquely.

If you use the toExponential method for a numeric literal and the numeric literalhas no exponent and no decimal point, leave a space before the dot that precedesthe method call to prevent the dot from being interpreted as a decimal point.

If a number has more digits that requested by the fractionDigits parameter, thenumber is rounded to the nearest number represented by fractionDigits digits. Seethe discussion of rounding in the description of the toFixed method, which alsoapplies to toExponential.

Defined in: System

Function toExponential: String;

TNumber.toFixed

Formats a number using fixed-point notation. A string representation of numberthat does not use exponential notation and has exactly digits digits after the decimalplace. The number is rounded if necessary, and the fractional part is padded withzeros if necessary so that it has the specified length. If number is greater than1e+21, this method simply calls Number.toString() and returns a string in exponentialnotation.

Throws RangeError :If digits is too small or too large. Values between 0 and 20, inclusive, will notcause a RangeError. Implementations are allowed to support larger and smaller valuesas well.

TypeErrorIf this method is invoked on an object that is not a Number.

Defined in: System

Function toFixed: String;

TNumber.toPrecision

Returns a string representing the Number object to the specified precision.

A string representing a Number object in fixed-point or exponential notation roundedto precision significant digits.

If you use the toPrecision method for a numeric literal and the numeric literalhas no exponent and no decimal point, leave a space before the dot that precedesthe method call to prevent the dot from being interpreted as a decimal point.

If the precision argument is omitted, behaves as Number.toString().

If a number has more digits that requested by the precision parameter, the numberis rounded to the nearest number represented by precision digits. See the discussionof rounding in the description of the toFixed method, which also applies to toPrecision.

Defined in: System

Function toPrecision: String;

TNumber.toSource

Returns an object literal representing the specified Number object; you canuse this value to create a new object. Overrides the Object.toSource method.

Defined in: System

Function toSource: String;

TNumber.valueOf

Returns the primitive value of the specified object. Overrides the Object.valueOfmethod.

Defined in: System

Function valueOf: Integer;

TObject.ClassName

Returns the name of the class as a string

Defined in: System

Function ClassName: String;

TObject.Create

Creates an instance of the class.

Defined in: System

Constructor Create: TObject;

TObject.Destroy

Disposes the object and releases the memory used for its storage

Defined in: System

Destructor Destroy;

TObject.Free

Calls Destroy for a non-nil object reference

Defined in: System

Procedure Free;

TParameter.Create

Creates a new instance of TParameter class.

Defined in: SystemClasses

Constructor Create(aName : String; aValue : String): TParameter;

TParameter.Replicate

Creates a new instance of TParameter class that is identical to the current TParameter.

Defined in: SystemClasses

Function Replicate: TParameter;

TParameters.AddList

Adds list of parameters represented by comma-separated array of name-value pair.

Defined in: SystemClasses

Function AddList(ParamStr : String): Boolean;

TParameters.AsString

Gets string representation of the TParameters.

Defined in: SystemClasses

Function AsString: String;

TParameters.AsURIString

Gets URI representation of the TParameters.

Defined in: SystemClasses

Function AsURIString: String;

TParameters.Create

Creates a new instance of TParameters class.

Defined in: SystemClasses

Constructor Create: TParameters;

TParameters.Define

Defines new parameter with given name, default value and kind.

Defined in: SystemClasses

Function Define(Name : String; DefValue : String; InOut : String): TParameter;

TParameters.Destroy

Disposes of the TParameters and frees allocated resources.

NOTE:Do not call the Destroy method directly. Call the Free method instead.

Defined in: SystemClasses

Destructor Destroy;

TParameters.GetParamByName

Gets TParameter object by its name.

Defined in: SystemClasses

Function GetParamByName(S : String): TParameter;

TParameters.GetParamValue

Gets value of TParameter object by its name.

Defined in: SystemClasses

Function GetParamValue(S : String): String;

TParameters.Remove

Removes parameter from Items collection.

Defined in: SystemClasses

Procedure Remove(Param : TParameter);

TParameters.Update

Sets new value of Parameter by given name or creates new Parameter with the new name and value.

Defined in: SystemClasses

Function Update(Name : String; Value : String): TParameter;

TQueryData.Create

Creates a new instance of SystemCatalog.TTableData class.

NOTE:Normally you do not need to use this method directly; it's executedby the Framework in the process of loading of the global Catalog.

Defined in: SystemCatalog

Constructor Create: TQueryData;

TRegExp.exec

Executes a search for a match in a specified string. Returns a result array,or null. As shown in the syntax description, a regular expression's exec methodcan be called either directly, (with regexp.exec(str)) or indirectly (with regexp(str)).

If you are executing a match simply to find true or false, use the test method orthe String search method. If the match succeeds, the exec method returns an arrayand updates properties of the regular expression object. If the match fails, theexec method returns null.

Defined in: System

Function exec(Const str : String): TArray;

TRegExp.test

Executes the search for a match between a regular expression and a specifiedstring. Returns true or false. When you want to know whether a pattern is foundin a string use the test method (similar to the String.search method); for moreinformation (but slower execution) use the exec method (similar to the String.matchmethod).

Defined in: System

Function test(Const str : String): Boolean;

TRegExp.toSource

Returns a string representing the source code of the object. This method isusually called internally by JavaScript and not explicitly in code.

Defined in: System

Function toSource: String;

TRegExp.toString

Returns a string representing the specified object. The RegExp object overridesthe toString method of the Object object; it does not inherit Object.toString. ForRegExp objects, the toString method returns a string representation of the object.

Defined in: System

Function toString: String;

TString.charAt

Returns the specified character from a string. Characters in a string are indexedfrom left to right. The index of the first character is 0, and the index of thelast character in a string called stringName is stringName.length - 1. If the indexyou supply is out of range, JavaScript returns an empty string.

Defined in: System

Function charAt(Const index : Integer): String;

TString.charCodeAt

Returns a number indicating the Unicode value of the character at the givenindex. Unicode code points range from 0 to 1,114,111. The first 128 Unicode codepoints are a direct match of the ASCII character encoding. For information on Unicode,see the Core JavaScript 1.5 Guide. Note that charCodeAt will always return a valuethat is less than 65,536.

charCodeAt returns NaN if the given index is not between 0 and 1 less than the lengthof the string.

Defined in: System

Function charCodeAt(Const index : Integer): Integer;

TString.concat

Combines the text of two or more strings and returns a new string. concat combinesthe text from one or more strings and returns a new string. Changes to the textin one string do not affect the other string.

Defined in: System

Function concat(Const s1 : String; Const s2 : String): String;

TString.fromCharCode

Returns a string created by using the specified sequence of Unicode values.

This method returns a string and not a String object. Because fromCharCode is astatic method of String, you always use it as String.fromCharCode(), rather thanas a method of a String object you created.

Defined in: System

Function fromCharCode: String;

TString.indexOf

Returns the index within the calling String object of the first occurrence ofthe specified value, starting the search at fromIndex, or -1 if the value is notfound. Characters in a string are indexed from left to right. The index of the firstcharacter is 0, and the index of the last character of a string called stringNameis stringName.length - 1.

Defined in: System

Function indexOf(Const searchValue : String): Integer;

TString.lastIndexOf

Returns the index within the calling String object of the last occurrence ofthe specified value, or -1 if not found. The calling string is searched backward,starting at fromIndex. Characters in a string are indexed from left to right. Theindex of the first character is 0, and the index of the last character is stringName.length- 1. The lastIndexOf method is case sensitive.

Defined in: System

Function lastIndexOf(Const searchValue : String): Integer;

TString.match

Used to retrieve the matches when matching a string against a regular expression.

If the regular expression does not include the g flag, returns the same result asregexp.exec(string). If the regular expression includes the g flag, the method returnsan Array containing all matches.

Notes* If you need to know if a string matches a regular expression regexp, use regexp.test(string).

* If you only want the first match found, you might want to use regexp.exec(string)instead.

Defined in: System

Function match(Const regexp : TRegExp): TArray;

TString.replace

Finds a match between a regular expression and a string, and replaces the matchedsubstring with a new substring. This method does not change the String object itis called on. It simply returns a new string.

To perform a global search and replace, either include the g flag in the regularexpression or if the first parameter is a string, include g in the flags parameter.

Defined in: System

Function replace(Const regexp : TRegExp; Const newSubStr : String): String;

TString.search

Executes the search for a match between a regular expression and this Stringobject. If successful, search returns the index of the regular expression insidethe string. Otherwise, it returns -1.

When you want to know whether a pattern is found in a string use search (similarto the regular expression test method); for more information (but slower execution)use match (similar to the regular expression exec method).

Defined in: System

Function search(Const regexp : String): Integer;

TString.slice

Extracts a section of a string and returns a new string. slice extracts thetext from one string and returns a new string. Changes to the text in one stringdo not affect the other string.

slice extracts up to but not including endSlice. string.slice(1,4) extracts thesecond character through the fourth character (characters indexed 1, 2, and 3).

As a negative index, endSlice indicates an offset from the end of the string. string.slice(2,-1)extracts the third character through the second to last character in the string.

Defined in: System

Function slice(Const beginSlice : Integer): String;

TString.split

Splits a String object into an array of strings by separating the string intosubstrings. The split method returns the new array.

When found, separator is removed from the string and the substrings are returnedin an array. If separator is omitted, the array contains one element consistingof the entire string.

Note: When the string is empty, split returns an array containing one empty string,rather than an empty array.

Defined in: System

Function split: TArray;

TString.substr

Returns the characters in a string beginning at the specified location throughthe specified number of characters. start is a character index. The index of thefirst character is 0, and the index of the last character is 1 less than the lengthof the string. substr begins extracting characters at start and collects lengthnumber of characters.

If start is positive and is the length of the string or longer, substr returns nocharacters.

If start is negative, substr uses it as a character index from the end of the string.

If start is negative and abs(start) is larger than the length of the string, substruses 0 is the start index.

If length is 0 or negative, substr returns no characters. If length is omitted,start extracts characters to the end of the string.

Defined in: System

Function substr(Const start : Integer): String;

TString.substring

Returns a subset of a String object. substring extracts characters from indexAup to but not including indexB. In particular:* If indexA equals indexB, substring returns an empty string.

* If indexB is omitted, substring extracts characters to the end of the string.

* If either argument is less than 0 or is NaN, it is treated as if it were 0.

* If either argument is greater than stringName.length, it is treated as if it werestringName.length.

If indexA is larger than indexB, then the effect of substring is as if the two argumentswere swapped; for example, str.substring(1, 0) = str.substring(0, 1).

Defined in: System

Function substring(Const indexA : Integer): String;

TString.toLowerCase

Returns the calling string value converted to lowercase. The toLowerCase methodreturns the value of the string converted to lowercase. toLowerCase does not affectthe value of the string itself.

Defined in: System

Function toLowerCase: String;

TString.toSource

Returns a string representing the source code of the object.

Defined in: System

Function toSource: String;

TString.toString

Returns a string representing the specified object. The String object overridesthe toString method of the Object object; it does not inherit Object.toString. ForString objects, the toString method returns a string representation of the object.

Defined in: System

Function toString: String;

TString.toUpperCase

Returns the calling string value converted to uppercase. The toUpperCase methodreturns the value of the string converted to uppercase. toUpperCase does not affectthe value of the string itself.

Defined in: System

Function toUpperCase: String;

TString.valueOf

Returns the primitive value of a String object. The valueOf method of Stringreturns the primitive value of a String object as a string data type. This valueis equivalent to String.toString.

This method is usually called internally by JavaScript and not explicitly in code.

Defined in: System

Function valueOf: String;

TTableData.AddField

Adds Field to the TableData with the specified parameters.

Defined in: SystemCatalog

Function AddField(aName : String;
                  aFieldRelationshipKind : TFieldRelationshipKind;
                  aRelatedTable : String;
                  aRelatedKeyField : String;
                  aRelatedLabelField : String;
                  aDataType : TGenericDBDataType): TFieldData;

TTableData.Create

Creates a new instance of SystemCatalog.TTableData class.

NOTE:Normally you do not need to use this method directly; it's executedby the Framework in the process of loading of the global Catalog.

Defined in: SystemCatalog

Constructor Create: TTableData;

TTableData.Destroy

Disposes of the TableData and frees allocated resources.

NOTE:Do not call the Destroy method directly. Call the Free method instead.

Defined in: SystemCatalog

Destructor Destroy;

TTableData.GetFieldData

Returns Field data by given Field name.

Defined in: SystemCatalog

Function GetFieldData(aName : String): TFieldData;

TTableData.GetRelationshipFields

Returns array of TFieldData objects that are part of the relationship.

Defined in: SystemCatalog

Function GetRelationshipFields: TArray;

TWebControl.absLeft

Returns the left position of the control relative to the document.

Defined in: SystemControls

Function absLeft: Integer;

TWebControl.absTop

Returns the top position of the control relative to the document.

Defined in: SystemControls

Function absTop: Integer;

TWebControl.ContentHeight

Returns the height of the control's content including content not visible on the screen due to overflow

Defined in: SystemControls

Function ContentHeight: Integer;

TWebControl.ContentWidth

Returns the width of the control's content including content not visible on the screen due to overflow

Defined in: SystemControls

Function ContentWidth: Integer;

TWebControl.Controls

List of controls contained within this control.

Defined in: SystemControls

Function Controls: TWebControlList;

TWebControl.Destroy

Disposes of the web control and its owned child web controls.

Defined in: SystemControls

Destructor Destroy;

TWebControl.FieldKind

For data-bound controls returns the kind of the data field to which the control is bound.

Defined in: SystemControls

Function FieldKind: TGenericDBDataType;

TWebControl.Focus

Sets input focus to the control.

Defined in: SystemControls

Procedure Focus;

TWebControl.GetControlHTML

Returns the string containing full HTML representation of the control.

Defined in: SystemControls

Function GetControlHTML: String;

TWebControl.GetCtrlHTMLID

Returns the string used to uniquely identify this control inside HTML.

Defined in: SystemControls

Function GetCtrlHTMLID: String;

TWebControl.GetCtrlHTMLStyle

Returns the HTML style definition of the control.

Defined in: SystemControls

Function GetCtrlHTMLStyle: String;

TWebControl.IsRelationshipField

Returns True if the control is data-bound, and the data field is used to define a relationship.

Otherwise returns False.

Defined in: SystemControls

Function IsRelationshipField: Boolean;

TWebServiceDatasource.Create

Creates a new instance of TWebServiceDatasource class with the specified parameters.

Defined in: SystemCatalog

Constructor Create(aName : String; aDatasourceName : String; aRecordName : String): TWebServiceDatasource;

TXApp.OpenForm

The OpenForm function opens a form in the browser at a specified location with thegiven set of parameters. The parameters for open form use the following syntax:

FormRef: [ instanceName: ] name | url- name: The class name of the form. In this case the instance name is implicitly set to be the same as the class name InstanceName: A specific identifier for the instance of the form being opened - url: external content opened in an IFrame. If URL points to another XApp this willresult in a new instance of the script process to be instantiated.

Context: [ instanceName: ] subformName [ (bandindex) ] | BLANK | SAME | POPUP InstanceName: instance name for the form containing the targeted subform. Special strings : 'self','parent','top', (indicates the root subform) SubformName: The subform that the new form is to open in. Special strings : '_' ('_' denotes the containing subform) bandindex: in continuous forms it refers to the index of a band in the sequence. If not specified it's set to zero.

POPUP | FLOAT: the form is opened in a floating subform. Use specific parameters toalter the default behaviour Floating Form Parameters:- Modal, draggable, closeable (ex.: "modal=true")- Left, Top (ex.: "Left=10")- border (none | default | rounded) (ex.: "border=rounded")- Title (ex.: "title=Hello World")

BLANK: new browser window with new instance of script process

SAME: same browser window with new instance of script process OpenFormParameters: '"name1=value1","name2=value2"'

Remarks:This function is executed asynchronously and therefore it returns immediately. Use OnReady event to perform any action after the form is opened.

Defined in: SystemControls

Procedure OpenForm(FormRef : String; Target : String; OpenFormParameters : String);

Related Topics


Back to top