WireLess Studio Widgets Developer's Guide |
This method closes the form that is currently being displayed.
VARIANT_BOOL EndCurrentForm(void);
On success, EndCurrentForm returns TRUE, FALSE otherwise. To get extended information, call WStError::GetLastErrorCode.
using WirelessStudioOleWidgets; WStFactory oFactory = new WStFactory(); WStForm oForm = new WStForm (); short formId = 10; short lineId = 15; oFactory.CreateFormById(formId); oFactory.CreateWidgetById((short)WSTFactoryConstants.WS_LINE, lineId , "MyLine", 15, 15, 30, 30, ""); oForm.AddObjectBydId(formId, lineId ; oForm.SaveToTerminalById(formId); oForm.ShowById(formId, true, true); oForm.GetEvent(); oForm.EndCurrentForm();
Public wsForm As New WStForm ... Case "exitButton" wsForm.EndCurrentForm GoTo EndProgram ...
Show | CommitChanges | SaveToTerminal
WStWiget class reference | WStForm class reference | WStFactory class reference | WStError class reference
WireLess Studio by SofToGo S.A. | Visit our site www.softogo.com | Contact us help@softogo.com |