DIALOG2: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
MikeO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
Line 18: Line 18:
===Example===
===Example===
:DIALOG "My Dialog", 100, 300, 450, 250<br><br>
:DIALOG "My Dialog", 100, 300, 450, 250<br><br>
:A$ = "My Dialog"
:xpos=100
:ypos=300
:width=450
:height=250
:DIALOG A$, xpos, ypos, width, height


:For an example macro see  [[GeoPattern_Part.dlg]]  [[GeoPattern_Repeats.dlg]] [[GetCommands.dlg]] [[GetMTMData.dlg]] [[GeoSavedProcess.dlg]]
:For an example macro see  [[GeoPattern_Part.dlg]]  [[GeoPattern_Repeats.dlg]] [[GetCommands.dlg]] [[GetMTMData.dlg]] [[GeoSavedProcess.dlg]]
[[Category:Dialog]]
[[Category:Dialog]]

Revision as of 15:12, 17 January 2011

Up

Command

DIALOG2
DIALOG2
DIALOG <caption>, <left>, <top>, <width>, <height>


Define the size and position of the dialog and the text that is displayed in the title bar.

Parameters

<caption>
Message Box title text. Either use text in double quotes, or a string variable.
  Note - this text is required if using the OK and CANCEL option
<left>
Position of the left side of the dialog, measured from the left edge of the GibbsCAM window
<top>
Position of the top side of the dialog, measured from the top edge of the GibbsCAM window
<width>
Width of the dialog
<height>
Height of the dialog




Example

DIALOG "My Dialog", 100, 300, 450, 250

For an example macro see GeoPattern_Part.dlg GeoPattern_Repeats.dlg GetCommands.dlg GetMTMData.dlg GeoSavedProcess.dlg