Child pages
  • History

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
{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{hidden} {sub-section:description|text=}{sub-section}\\{table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{tr}{td}[Boolean]{td}{td}[#buttonsEnabled] Set/Get the history buttons enabled.{td}{tr}{tbody}{table}\\{table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}void{td}{td}[#back]\() Navigates back in the history stack; shows the previous form (if present).{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#clear]\() Clear the entire history stack.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#forward]\() Navigates forward in the history stack; shows the next form (if present).{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getCurrentIndex]\() Get the current absolute index in the history stack.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getFormName]\(i) Get the form name based on the specified absolute index in the history stack location.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#go]\(i) Navigates to the relative index based on current position in the history.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#removeForm]\(formName) Removes the named form item from the history stack (and from memory) if not currently shown.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#removeIndex]\(index) Removes an absolute index based history stack form item.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#size]\() Returns the total size of the history stack.{td}{tr}{tbody}{table}\\{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Property Details{th}{tr}{tbody:id=EF73A297-A5A6-41BC-95B7-A2A65FEF26C0}{tr:id=name}{td}h6.buttonsEnabled{td}{tr}{tr:id=des}{td}{sub-section:EF73A297-A5A6-41BC-95B7-A2A65FEF26C0_des|text=|trigger=button}{sub-section}{sub-section:EF73A297-A5A6-41BC-95B7-A2A65FEF26C0_des|trigger=none|class=sIndent}
Wiki Markup
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

servoy sSummary12%30%58%height: 30px;3Property SummarySet/Get the history buttons enabled.

servoy sSummary12%30%58%height: 30px;3Methods SummaryvoidNavigates back in the history stack; shows the previous form (if present).voidClear the entire history stack.voidNavigates forward in the history stack; shows the next form (if present).Get the current absolute index in the history stack.Get the form name based on the specified absolute index in the history stack location.voidNavigates to the relative index based on current position in the history.Removes the named form item from the history stack (and from memory) if not currently shown.Removes an absolute index based history stack form item.Returns the total size of the history stack.

propertyservoy sDetail2100%height:30px2Property DetailsbuttonsEnabledname

buttonsEnabled

dessIndent
Set/Get the history buttons enabled.
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:EF73A297-A5A6-41BC-95B7-A2A65FEF26C0_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:EF73A297-A5A6-41BC-95B7-A2A65FEF26C0_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:EF73A297-A5A6-41BC-95B7-A2A65FEF26C0_ret|text=|trigger=button}{sub-section}{sub-section:EF73A297-A5A6-41BC-95B7-A2A65FEF26C0_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:EF73A297-A5A6-41BC-95B7-A2A65FEF26C0_see|text=|trigger=button}{sub-section}{sub-section:EF73A297-A5A6-41BC-95B7-A2A65FEF26C0_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:EF73A297-A5A6-41BC-95B7-A2A65FEF26C0_see|text=|trigger=button}{sub-section}{sub-section:EF73A297-A5A6-41BC-95B7-A2A65FEF26C0_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:EF73A297-A5A6-41BC-95B7-A2A65FEF26C0_sam|text=|trigger=button}{sub-section}{sub-section:EF73A297-A5A6-41BC-95B7-A2A65FEF26C0_sam|class=sIndent|trigger=none}{code:language=javascript} history.buttonsEnabled = true; var status = history.buttonsEnabled; {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=13E10A29-58E4-433D-AEF0-74BE8566CDD6}{tr:id=name}{td}h6.back{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}back{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:13E10A29-58E4-433D-AEF0-74BE8566CDD6_des|text=|trigger=button}{sub-section}{sub-section:13E10A29-58E4-433D-AEF0-74BE8566CDD6_des|trigger=none|class=sIndent}
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow

functionservoy sDetail2100%height:30px2Methods Detailsbackname

back()

dessIndent
Navigates back in the history stack; shows the previous form (if present).
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:13E10A29-58E4-433D-AEF0-74BE8566CDD6_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:13E10A29-58E4-433D-AEF0-74BE8566CDD6_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:13E10A29-58E4-433D-AEF0-74BE8566CDD6_ret|text=|trigger=button}{sub-section}{sub-section:13E10A29-58E4-433D-AEF0-74BE8566CDD6_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:13E10A29-58E4-433D-AEF0-74BE8566CDD6_see|text=|trigger=button}{sub-section}{sub-section:13E10A29-58E4-433D-AEF0-74BE8566CDD6_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:13E10A29-58E4-433D-AEF0-74BE8566CDD6_see|text=|trigger=button}{sub-section}{sub-section:13E10A29-58E4-433D-AEF0-74BE8566CDD6_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:13E10A29-58E4-433D-AEF0-74BE8566CDD6_sam|text=|trigger=button}{sub-section}{sub-section:13E10A29-58E4-433D-AEF0-74BE8566CDD6_sam|class=sIndent|trigger=none}{code:language=javascript} history.back(); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=5E500F0D-FD0A-44A8-A84F-3D28C2834897}{tr:id=name}{td}h6.clear{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}clear{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:5E500F0D-FD0A-44A8-A84F-3D28C2834897_des|text=|trigger=button}{sub-section}{sub-section:5E500F0D-FD0A-44A8-A84F-3D28C2834897_des|trigger=none|class=sIndent}
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowclearname

clear()

dessIndent
Clear the entire history stack.
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:5E500F0D-FD0A-44A8-A84F-3D28C2834897_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:5E500F0D-FD0A-44A8-A84F-3D28C2834897_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:5E500F0D-FD0A-44A8-A84F-3D28C2834897_ret|text=|trigger=button}{sub-section}{sub-section:5E500F0D-FD0A-44A8-A84F-3D28C2834897_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:5E500F0D-FD0A-44A8-A84F-3D28C2834897_see|text=|trigger=button}{sub-section}{sub-section:5E500F0D-FD0A-44A8-A84F-3D28C2834897_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:5E500F0D-FD0A-44A8-A84F-3D28C2834897_see|text=|trigger=button}{sub-section}{sub-section:5E500F0D-FD0A-44A8-A84F-3D28C2834897_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:5E500F0D-FD0A-44A8-A84F-3D28C2834897_sam|text=|trigger=button}{sub-section}{sub-section:5E500F0D-FD0A-44A8-A84F-3D28C2834897_sam|class=sIndent|trigger=none}{code:language=javascript} history.clear(); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=76A45697-957F-4170-AB46-D09511AC6DA7}{tr:id=name}{td}h6.forward{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}forward{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:76A45697-957F-4170-AB46-D09511AC6DA7_des|text=|trigger=button}{sub-section}{sub-section:76A45697-957F-4170-AB46-D09511AC6DA7_des|trigger=none|class=sIndent}
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowforwardname

forward()

dessIndent
Navigates forward in the history stack; shows the next form (if present).
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:76A45697-957F-4170-AB46-D09511AC6DA7_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:76A45697-957F-4170-AB46-D09511AC6DA7_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:76A45697-957F-4170-AB46-D09511AC6DA7_ret|text=|trigger=button}{sub-section}{sub-section:76A45697-957F-4170-AB46-D09511AC6DA7_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:76A45697-957F-4170-AB46-D09511AC6DA7_see|text=|trigger=button}{sub-section}{sub-section:76A45697-957F-4170-AB46-D09511AC6DA7_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:76A45697-957F-4170-AB46-D09511AC6DA7_see|text=|trigger=button}{sub-section}{sub-section:76A45697-957F-4170-AB46-D09511AC6DA7_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:76A45697-957F-4170-AB46-D09511AC6DA7_sam|text=|trigger=button}{sub-section}{sub-section:76A45697-957F-4170-AB46-D09511AC6DA7_sam|class=sIndent|trigger=none}{code:language=javascript} history.forward(); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=74395110-2DBB-4190-8690-6F6369972787}{tr:id=name}{td}h6.getCurrentIndex{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getCurrentIndex{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:74395110-2DBB-4190-8690-6F6369972787_des|text=|trigger=button}{sub-section}{sub-section:74395110-2DBB-4190-8690-6F6369972787_des|trigger=none|class=sIndent}
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowgetCurrentIndexname

getCurrentIndex()

dessIndent
Get the current absolute index in the history stack.
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:74395110-2DBB-4190-8690-6F6369972787_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:74395110-2DBB-4190-8690-6F6369972787_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:74395110-2DBB-4190-8690-6F6369972787_ret|text=|trigger=button}{sub-section}{sub-section:74395110-2DBB-4190-8690-6F6369972787_ret|trigger=none|class=sIndent}[Number] -- the current absolute index{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:74395110-2DBB-4190-8690-6F6369972787_see|text=|trigger=button}{sub-section}{sub-section:74395110-2DBB-4190-8690-6F6369972787_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:74395110-2DBB-4190-8690-6F6369972787_see|text=|trigger=button}{sub-section}{sub-section:74395110-2DBB-4190-8690-6F6369972787_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:74395110-2DBB-4190-8690-6F6369972787_sam|text=|trigger=button}{sub-section}{sub-section:74395110-2DBB-4190-8690-6F6369972787_sam|class=sIndent|trigger=none}{code:language=javascript} var abs_index = history.getCurrentIndex(); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=9DDD17EA-B76C-4E66-815C-07785BF7B4F1}{tr:id=name}{td}h6.getFormName{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getFormName{span}{span:id=iets|style=float: left;}\(i){span}{td}{tr}{tr:id=des}{td}{sub-section:9DDD17EA-B76C-4E66-815C-07785BF7B4F1_des|text=|trigger=button}{sub-section}{sub-section:9DDD17EA-B76C-4E66-815C-07785BF7B4F1_des|trigger=none|class=sIndent}
ret

Returns

sIndent the current absolute index
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowgetFormNamename

getFormName(i)

dessIndent
Get the form name based on the specified absolute index in the history stack location.
{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:9DDD17EA-B76C-4E66-815C-07785BF7B4F1_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:9DDD17EA-B76C-4E66-815C-07785BF7B4F1_prs|trigger=none}i -- the absolute index {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:9DDD17EA-B76C-4E66-815C-07785BF7B4F1_ret|text=|trigger=button}{sub-section}{sub-section:9DDD17EA-B76C-4E66-815C-07785BF7B4F1_ret|trigger=none|class=sIndent}[String] -- the formName{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:9DDD17EA-B76C-4E66-815C-07785BF7B4F1_see|text=|trigger=button}{sub-section}{sub-section:9DDD17EA-B76C-4E66-815C-07785BF7B4F1_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:9DDD17EA-B76C-4E66-815C-07785BF7B4F1_see|text=|trigger=button}{sub-section}{sub-section:9DDD17EA-B76C-4E66-815C-07785BF7B4F1_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:9DDD17EA-B76C-4E66-815C-07785BF7B4F1_sam|text=|trigger=button}{sub-section}{sub-section:9DDD17EA-B76C-4E66-815C-07785BF7B4F1_sam|class=sIndent|trigger=none}{code:language=javascript} var name = history.getFormName(history.getCurrentIndex()); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=71F6FB94-0124-46C1-9677-165258AE3894}{tr:id=name}{td}h6.go{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}go{span}{span:id=iets|style=float: left;}\(i){span}{td}{tr}{tr:id=des}{td}{sub-section:71F6FB94-0124-46C1-9677-165258AE3894_des|text=|trigger=button}{sub-section}{sub-section:71F6FB94-0124-46C1-9677-165258AE3894_des|trigger=none|class=sIndent}
prs

Parameters

sIndentithe absolute index
ret

Returns

sIndent the formName
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowgoname

go(i)

dessIndent
Navigates to the relative index based on current position in the history.
{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:71F6FB94-0124-46C1-9677-165258AE3894_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:71F6FB94-0124-46C1-9677-165258AE3894_prs|trigger=none}i -- the absolute index {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:71F6FB94-0124-46C1-9677-165258AE3894_ret|text=|trigger=button}{sub-section}{sub-section:71F6FB94-0124-46C1-9677-165258AE3894_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:71F6FB94-0124-46C1-9677-165258AE3894_see|text=|trigger=button}{sub-section}{sub-section:71F6FB94-0124-46C1-9677-165258AE3894_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:71F6FB94-0124-46C1-9677-165258AE3894_see|text=|trigger=button}{sub-section}{sub-section:71F6FB94-0124-46C1-9677-165258AE3894_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:71F6FB94-0124-46C1-9677-165258AE3894_sam|text=|trigger=button}{sub-section}{sub-section:71F6FB94-0124-46C1-9677-165258AE3894_sam|class=sIndent|trigger=none}{code:language=javascript} history.go(-3); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=8B4C1AB6-64AF-45C9-A3F7-361364C2098C}{tr:id=name}{td}h6.removeForm{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}removeForm{span}{span:id=iets|style=float: left;}\(formName){span}{td}{tr}{tr:id=des}{td}{sub-section:8B4C1AB6-64AF-45C9-A3F7-361364C2098C_des|text=|trigger=button}{sub-section}{sub-section:8B4C1AB6-64AF-45C9-A3F7-361364C2098C_des|trigger=none|class=sIndent}
prs

Parameters

sIndentithe relative index
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowremoveFormname

removeForm(formName)

dessIndent
Removes the named form item from the history stack (and from memory) if not currently shown.
{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:8B4C1AB6-64AF-45C9-A3F7-361364C2098C_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:8B4C1AB6-64AF-45C9-A3F7-361364C2098C_prs|trigger=none}formName -- the name of

Will return false when the form 
to remove. {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:8B4C1AB6-64AF-45C9-A3F7-361364C2098C_ret|text=|trigger=button}{sub-section}{sub-section:8B4C1AB6-64AF-45C9-A3F7-361364C2098C_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:8B4C1AB6-64AF-45C9-A3F7-361364C2098C_see|text=|trigger=button}{sub-section}{sub-section:8B4C1AB6-64AF-45C9-A3F7-361364C2098C_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:8B4C1AB6-64AF-45C9-A3F7-361364C2098C_see|text=|trigger=button}{sub-section}{sub-section:8B4C1AB6-64AF-45C9-A3F7-361364C2098C_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:8B4C1AB6-64AF-45C9-A3F7-361364C2098C_sam|text=|trigger=button}{sub-section}{sub-section:8B4C1AB6-64AF-45C9-A3F7-361364C2098C_sam|class=sIndent|trigger=none}{code:language=javascript} var done = history.removeForm('mypreviousform'); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=9534EA8F-5960-4ABB-83A7-929F59FB9BC7}{tr:id=name}{td}h6.removeIndex{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}removeIndex{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:9534EA8F-5960-4ABB-83A7-929F59FB9BC7_des|text=|trigger=button}{sub-section}{sub-section:9534EA8F-5960-4ABB-83A7-929F59FB9BC7_des|trigger=none|class=sIndent}
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)
prs

Parameters

sIndentformNamethe name of the form to remove.
ret

Returns

sIndent true if successful
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
removeIndexname

removeIndex(index)

dessIndent
Removes an absolute index based history stack form item.
{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:9534EA8F-5960-4ABB-83A7-929F59FB9BC7_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:9534EA8F-5960-4ABB-83A7-929F59FB9BC7_prs|trigger=none}index -- the index of the form to remove. {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:9534EA8F-5960-4ABB-83A7-929F59FB9BC7_ret|text=|trigger=button}{sub-section}{sub-section:9534EA8F-5960-4ABB-83A7-929F59FB9BC7_ret|trigger=none|class=sIndent}[Boolean] -- true if successful{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:9534EA8F-5960-4ABB-83A7-929F59FB9BC7_see|text=|trigger=button}{sub-section}{sub-section:9534EA8F-5960-4ABB-83A7-929F59FB9BC7_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:9534EA8F-5960-4ABB-83A7-929F59FB9BC7_see|text=|trigger=button}{sub-section}{sub-section:9534EA8F-5960-4ABB-83A7-929F59FB9BC7_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:9534EA8F-5960-4ABB-83A7-929F59FB9BC7_sam|text=|trigger=button}{sub-section}{sub-section:9534EA8F-5960-4ABB-83A7-929F59FB9BC7_sam|class=sIndent|trigger=none}{code:language=javascript} var done = history.removeIndex(history.getCurrentIndex()+1); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=A5E58D44-E2BF-4AE0-8F6B-20155DCD22BC}{tr:id=name}{td}h6.size{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}size{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:A5E58D44-E2BF-4AE0-8F6B-20155DCD22BC_des|text=|trigger=button}{sub-section}{sub-section:A5E58D44-E2BF-4AE0-8F6B-20155DCD22BC_des|trigger=none|class=sIndent}
prs

Parameters

sIndentindexthe index of the form to remove.
ret

Returns

sIndent true if successful
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRowsizename

size()

dessIndent
Returns the total size of the history stack.
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:A5E58D44-E2BF-4AE0-8F6B-20155DCD22BC_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:A5E58D44-E2BF-4AE0-8F6B-20155DCD22BC_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:A5E58D44-E2BF-4AE0-8F6B-20155DCD22BC_ret|text=|trigger=button}{sub-section}{sub-section:A5E58D44-E2BF-4AE0-8F6B-20155DCD22BC_ret|trigger=none|class=sIndent}[Number] -- the size{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:A5E58D44-E2BF-4AE0-8F6B-20155DCD22BC_see|text=|trigger=button}{sub-section}{sub-section:A5E58D44-E2BF-4AE0-8F6B-20155DCD22BC_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:A5E58D44-E2BF-4AE0-8F6B-20155DCD22BC_see|text=|trigger=button}{sub-section}{sub-section:A5E58D44-E2BF-4AE0-8F6B-20155DCD22BC_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:A5E58D44-E2BF-4AE0-8F6B-20155DCD22BC_sam|text=|trigger=button}{sub-section}{sub-section:A5E58D44-E2BF-4AE0-8F6B-20155DCD22BC_sam|class=sIndent|trigger=none}{code:language=javascript} var size = history.size(); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}
ret

Returns

sIndent the size
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow