DIALOG2: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
New page: {{Command|syntax=DIALOG <caption>, <left>, <top>, <width>, <height> |description=*DESCRPTION* |param1=<caption>|param1_desc={{caption}} |param2=<left>|param2_desc={{left}} |param3=<top>|p... |
No edit summary |
||
(14 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | [[:Category:Dialog|{{Up}}]] | ||
|param1=<caption>|param1_desc={{caption}} | {{Command|syntax= [[Image:Dialog2.png|right|400 px|DIALOG2]] DIALOG <nowiki><caption></nowiki>, <left>, <top>, <width>, <height> | ||
|param2=<left>|param2_desc= | |||
|param3=<top>|param3_desc= | |||
|param4=<width>|param4_desc= | |||
|param5=<height>|param5_desc= | |description= :Define the size and position of the dialog and the text that is displayed in the title bar. | ||
|param1=<nowiki><caption></nowiki>|param1_desc={{caption}} | |||
|param2=<left>|param2_desc=Position of the left side of the dialog, measured from the left edge of the GibbsCAM window. | |||
|param3=<top>|param3_desc=Position of the top side of the dialog, measured from the top edge of the GibbsCAM window. | |||
|param4=<width>|param4_desc=Width of the dialog. | |||
|param5=<height>|param5_desc=Height of the dialog. | |||
<br><br><br> | |||
}} | }} | ||
===Example=== | ===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]] | |||
[[Category:Dialog]] | [[Category:Dialog]] |
Latest revision as of 15:13, 17 January 2011
Command
- 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