// do ^CHUI.BKH.Renewals // of // do StartLev^CHUI.BKH.Renewals Start #Include TCHUI.System Set %Application=##class(TCHUI.TApplication).Create() Do:($G(%CHUIDebug)) %Application.AttachDebugEvents() Set %Screen=##class(TCHUI.TScreen).Create($$$ttVT520) Set %Input=##class(TCHUI.TInput).Create() Do %Screen.Clear() ;Check of de ingelogde gebruiker bekend is... Quit:('$$UserAvailable^$$$SystemRtn) ;Caption Do %Screen.SetTerminalCaption("Renewals") //Do %Screen.SetTerminalWindowState($$$rcMaximized) ;MainForm Set frmMain=%Application.CreateForm("CHUI.BKH.Renewals.MainForm","frmMain","frmMain") Do %Application.Run() Do %Screen.Canvas.ChangeFont(%Screen.Font) k %Application,%Screen,%Input,frmToegang,%CHUIDebug Quit Debug Set %CHUIDebug=1 Do Start Quit StartLev #Include TCHUI.System Set %Application=##class(TCHUI.TApplication).Create() Do:($G(%CHUIDebug)) %Application.AttachDebugEvents() Set %Screen=##class(TCHUI.TScreen).Create($$$ttVT520) Set %Input=##class(TCHUI.TInput).Create() Do %Screen.Clear() ;Check of de ingelogde gebruiker bekend is... Quit:('$$UserAvailable^$$$SystemRtn) ;Caption Do %Screen.SetTerminalCaption("Test Leverancier") ;MainForm //Set frmMain=%Application.CreateForm("CHUI.Dlg.Tools.TSelectLev","frmMain","frmMain") //Set frmMain=%Application.CreateForm("TCHUI.Dlg.Tools.TSelectKlant","frmMain","frmMain") Set Input = "" Set LevNr=##class(TCHUI.Dlg.TSelectLev).Select(Input) $$$MB("LevNr="_LevNr) //Do %Application.Run() Do %Screen.Canvas.ChangeFont(%Screen.Font) k %Application,%Screen,%Input,frmToegang,%CHUIDebug Quit DebugLev Set %CHUIDebug=1 Do StartLev Quit