// Script function: Create a popup dialog.

// Unless named starting with GlobalSino, EM, My, Self, the function commands are defined 
//by Gatan DM, please see at link: http://www.globalsino.com/EM/page2597.html


class GlobalSinoDialog : uiframe
{
}

// =========== Definition of popup window begins =====
   TagGroup EMLabelBox, MyItems, MyFrame, EMFrame
   EMLabelBox = DLGCreateBox("GlobalSino Dialog", MyItems)
   EMFrame = DLGCreateBox("", MyFrame)
   MyFrame.DLGAddElement(EMLabelBox.DLGTableLayOut(2, 1, 1))
   EMLabelBox.DLGAddElement(DLGCreateCheckBox("Check box"))
// =========== Definition of popup window ends =======

if ( alloc( GlobalSinoDialog ).init(EMLabelBox).Pose() ) exit (0)


// Script comparison: http://www.globalsino.com/EM/page2597_main.s
