Child pages
  • History

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

 

HTML Table
id
classservoy sReturnTypes
Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Supported Clients
Table Row (tr)
Table Cell (td)

Span
classsWordList
SmartClient
Span
classsWordList
WebClient
Span
classsWordList
NGClient
Span
classsWordList
MobileClient

 

 

HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width12%
Col
width30%
Col
width58%
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan3
Property Summary
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
buttonsEnabled
Table Cell (td)
Set/Get the history buttons enabled.

 

 

HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width12%
Col
width30%
Col
width58%
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan3
Methods Summary
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
back()
Table Cell (td)
Navigates back in the history stack; shows the previous form (if present).
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
clear()
Table Cell (td)
Clear the entire history stack.
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
forward()
Table Cell (td)
Navigates forward in the history stack; shows the next form (if present).
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
getCurrentIndex()
Table Cell (td)
Get the current absolute index in the history stack.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
getFormName(i)
Table Cell (td)
Get the form name based on the specified absolute index in the history stack location.
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
go(i)
Table Cell (td)
Navigates to the relative index based on current position in the history.
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
removeForm(formName)
Table Cell (td)
Removes the named form item from the history stack (and from memory) if not currently shown.
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
removeIndex(index)
Table Cell (td)
Removes an absolute index based history stack form item.
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
size()
Table Cell (td)
Returns the total size of the history stack.

 

 

HTML Table
idproperty
classservoy sDetail
Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead)
Table Row (tr)
styleheight:30px
Table Head (th)
colspan2
Property Details
Table Body (tbody)
idbuttonsEnabled
Table Row (tr)
idname
Table Cell (td)

buttonsEnabled

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Set/Get the history buttons enabled.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Boolean
Table Row (tr)
idclients
Table Cell (td)

Supported Clients

Div
classsIndent
SmartClient,WebClient,NGClient
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIdent
Code Block
languagejavascript
history.buttonsEnabled = true;
var status = history.buttonsEnabled;
Table Row (tr)
classlastDetailRow
Table Cell (td)
 

 

 

HTML Table
idfunction
classservoy sDetail
Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead)
Table Row (tr)
styleheight:30px
Table Head (th)
colspan2
Methods Details
Table Body (tbody)
idback
Table Row (tr)
idname
Table Cell (td)

back()

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Navigates back in the history stack; shows the previous form (if present).
Table Row (tr)
idprs
Table Cell (td)

Parameters

HTML Table
classsIndent
 
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
void
Table Row (tr)
idclients
Table Cell (td)

Supported Clients

Div
classsIndent
SmartClient,WebClient,MobileClient
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIdent
Code Block
languagejavascript
history.back();
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idclear
Table Row (tr)
idname
Table Cell (td)

clear()

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Clear the entire history stack.
Table Row (tr)
idprs
Table Cell (td)

Parameters

HTML Table
classsIndent
 
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
void
Table Row (tr)
idclients
Table Cell (td)

Supported Clients

Div
classsIndent
SmartClient,WebClient,MobileClient
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIdent
Code Block
languagejavascript
history.clear();
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idforward
Table Row (tr)
idname
Table Cell (td)

forward()

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Navigates forward in the history stack; shows the next form (if present).
Table Row (tr)
idprs
Table Cell (td)

Parameters

HTML Table
classsIndent
 
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
void
Table Row (tr)
idclients
Table Cell (td)

Supported Clients

Div
classsIndent
SmartClient,WebClient,MobileClient
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIdent
Code Block
languagejavascript
history.forward();
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idgetCurrentIndex
Table Row (tr)
idname
Table Cell (td)

getCurrentIndex()

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Get the current absolute index in the history stack.
Table Row (tr)
idprs
Table Cell (td)

Parameters

HTML Table
classsIndent
 
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
idclients
Table Cell (td)

Supported Clients

Div
classsIndent
SmartClient,WebClient,MobileClient
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIdent
Code Block
languagejavascript
var abs_index = history.getCurrentIndex();
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idgetFormName
Table Row (tr)
idname
Table Cell (td)

getFormName(i)

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Get the form name based on the specified absolute index in the history stack location.
Table Row (tr)
idprs
Table Cell (td)

Parameters

HTML Table
classsIndent
Table Cell (td)
Number
Table Cell (td)
i
Table Cell (td)
the absolute index
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idclients
Table Cell (td)

Supported Clients

Div
classsIndent
SmartClient,WebClient,MobileClient
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIdent
Code Block
languagejavascript
var name = history.getFormName(history.getCurrentIndex());
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idgo
Table Row (tr)
idname
Table Cell (td)

go(i)

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Navigates to the relative index based on current position in the history.
Table Row (tr)
idprs
Table Cell (td)

Parameters

HTML Table
classsIndent
Table Cell (td)
Number
Table Cell (td)
i
Table Cell (td)
the relative index
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
void
Table Row (tr)
idclients
Table Cell (td)

Supported Clients

Div
classsIndent
SmartClient,WebClient,MobileClient
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIdent
Code Block
languagejavascript
history.go(-3);
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idremoveForm
Table Row (tr)
idname
Table Cell (td)

removeForm(formName)

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Removes the named form item from the history stack (and from memory) if not currently shown. Will return false when the form can't be removed, this can happen in certain situations: 1> The form is visible, 2> The form is executing a function (is actively used), 3> There are references to this form by a global variable/array, 4> If the form has a separate foundset with edited records that can't be saved (for example autosave is false)
Table Row (tr)
idprs
Table Cell (td)

Parameters

HTML Table
classsIndent
Table Cell (td)
String
Table Cell (td)
formName
Table Cell (td)
the name of the form to remove.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Boolean
Table Row (tr)
idclients
Table Cell (td)

Supported Clients

Div
classsIndent
SmartClient,WebClient,NGClient,MobileClient
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIdent
Code Block
languagejavascript
var done = history.removeForm('mypreviousform');
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idremoveIndex
Table Row (tr)
idname
Table Cell (td)

removeIndex(index)

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Removes an absolute index based history stack form item.
Table Row (tr)
idprs
Table Cell (td)

Parameters

HTML Table
classsIndent
Table Cell (td)
Number
Table Cell (td)
index
Table Cell (td)
the index of the form to remove.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Boolean
Table Row (tr)
idclients
Table Cell (td)

Supported Clients

Div
classsIndent
SmartClient,WebClient,MobileClient
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIdent
Code Block
languagejavascript
var done = history.removeIndex(history.getCurrentIndex()+1);
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idsize
Table Row (tr)
idname
Table Cell (td)

size()

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Returns the total size of the history stack.
Table Row (tr)
idprs
Table Cell (td)

Parameters

HTML Table
classsIndent
 
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
idclients
Table Cell (td)

Supported Clients

Div
classsIndent
SmartClient,WebClient,MobileClient
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIdent
Code Block
languagejavascript
var size = history.size();
Table Row (tr)
classlastDetailRow
Table Cell (td)