Child pages
  • controller

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Hidden
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE


HTML Table
idclassservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#enabled
Gets or sets the enabled state of a form; also known as "grayed-out".
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)

#readOnly
Gets or sets the read-only state of a form; also known as "editable"

Note: The field(s) in a form set as read-only can be selected and the field data can be copied to clipboard.

Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#view
Get/Set the current type of view of this form.

id
HTML Table
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#deleteAllRecords()
Deletes all records in foundset, resulting in empty foundset.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#deleteRecord()
Delete current selected record, deletes mulitple selected records incase the foundset is using multiselect.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#duplicateRecord([location])
Duplicate current record or record at index in the form foundset.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#find()
Set the foundset in find mode.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#focusField(fieldName, skipReadonly)
Sets focus to a field specified by its name.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#focusFirstField()
Sets focus to the first field of the form; based on tab order sequence.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getDataProviderMaxLength(name)
Returns the maximum length allowed in the specified dataprovider.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Object
Table Cell (td)
#getDataProviderValue(dataProvider)
Gets a value based on the specified dataprovider name.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#getDataSource()
Get the used datasource.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#getDesignMode()
Returns the state of this form designmode.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
JSDataSet
Table Cell (td)
#getFormContext()
Gets the forms context where it resides, returns a dataset of its structure to the main controller.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getFormWidth()
Gets the form width in pixels.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getMaxRecordIndex()
Returns the current cached record count of the current foundset.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#getName()
Get the name of this form.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getPartHeight(partType)
Gets the part height in pixels.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getPartYOffset(partType)
Returns the Y offset of a given part of the form.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getSelectedIndex()
Gets the current record index of the current foundset.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String[]
Table Cell (td)
#getTabSequence()
Get an array with the names of the components that are part of the tab sequence.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
JSWindow
Table Cell (td)
#getWindow()
Returns the JSWindow that the form is shown in, or null if the form is not currently showing in a window.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#invertRecords()
Inverts the current foundset against all rows of the current table; all records that are not in the foundset will become the current foundset.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#loadAllRecords()
Loads all accessible records from the datasource into the form foundset.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#loadOmittedRecords()
Loads the records that are currently omitted in the form foundset.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#loadRecords([data], [queryArgumentsArray])
Load records via a (related) foundset, primary key (dataset/number/uuid) or query into the form.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#newRecord([location])
Create a new record in the form foundset.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#omitRecord()
Omit current record in form foundset, to be shown with loadOmittedRecords.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#print([printCurrentRecordOnly], [showPrinterSelectDialog], [printerJob])
Print this form with current foundset, without preview.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#printXML([printCurrentRecordOnly])
Print this form with current foundset records to xml format.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#recreateUI()
Recreates the forms UI components, to reflect the latest solution model.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#relookup()
Performs a relookup for the current foundset record dataproviders.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#search([clearLastResults], [reduceSearch])
Start the database search and use the results, returns the number of records, make sure you did "find" function first.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setDataProviderValue(dataprovider, value)
Sets the value based on a specified dataprovider name.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setDesignMode(designMode)
Sets this form in designmode with param true, false will return to normal browse/edit mode.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setDesignMode(ondrag, ondrop, onselect, onresize)
Sets this form in designmode with one or more callback methods.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setPageFormat(width, height, leftmargin, rightmargin, topmargin, bottommargin, [orientation], [units])
Set the page format to use when printing.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setPreferredPrinter(printerName)
Set the preferred printer name to use when printing.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setSelectedIndex(index)
Sets the current record index of the current foundset.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setTabSequence(arrayOfElements)
Set the tab order sequence programatically, by passing the elements references in a javascript array.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#show([window])
Shows the form (makes the form visible), optionally showing it in the specified JSWindow.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#showPrintPreview([printCurrentRecordOnly], [printerJob], [zoomFactor])
Show this form in print preview.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#showRecords(data, [window])
Load data into the form and shows the form, is a shortcut for the functions 'loadRecords' and 'show'.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#sort(sortString, [defer])
Sorts the form foundset based on the given sort string.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#sortDialog([sortString])
Show the sort dialog to the user a preselection sortString can be passed, to sort the form foundset.

...