// Pushbutton UI template // // 2021/04/21 // Renfong class UI_Handler : object { number true, false number UIObjectID void SetUIObjectID(object self, number id) { UIObjectID = id }; UI_Handler(object self) { true = 1; false = 0 result("Obect \"UI_Handler\" ["+self.ScriptObjectGetID()+"] constructed. \n") }; ~UI_Handler(object self) { true = 1; false = 0 result("Obect\"UI_Handler\" ["+self.ScriptObjectGetID()+"] deconstructed. \n") }; void btn1response(object self) { OKdialog("This is a template") }; }; class MainUI : UIFrame { TagGroup btn1 object UI_Handler number true, false, ver MainUI(object self){ true = 1; false = 0; ver=0.1; UI_Handler = alloc(UI_Handler) result("Obect \"MainUI\" ["+self.ScriptObjectGetID()+"] constructed. \n") }; ~MainUI(object self){ result("Obect \"MainUI\" ["+self.Scr...
Electron microscopy, Programming and Fun!!!