DIALOG2: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|syntax=DIALOG <nowiki><caption></nowiki>, <left>, <top>, <width>, <height> | {{Command|syntax= DIALOG <nowiki><caption></nowiki>, <left>, <top>, <width>, <height> [[Image:Dialog2.png|right|400 px|DIALOG2]] | ||
|description= | |||
|description= Define the size and position of the dialog and the text that is displayed in the title bar. | |||
|param1=<caption>|param1_desc={{caption}} | |param1=<caption>|param1_desc={{caption}} | ||
Line 10: | Line 14: | ||
===Example=== | ===Example=== | ||
:- DIALOG | :- DIALOG "My Dialog", 100, 300, 450, 250 | ||
:- A$ = "My Dialog" | |||
: DIALOG A$, 100, 300, 450, 250 | |||
[[Category:Dialog]] | [[Category:Dialog]] |
Revision as of 15:06, 19 July 2010
Command
Define the size and position of the dialog and the text that is displayed in the title bar.
Parameters
- 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>
- Start position measured from the left edge of the dialog.
- <top>
- Start position of measured from the top edge of the dialog.
- <width>
- Width of the control.
- <height>
- Height of the control.
Example
- - DIALOG "My Dialog", 100, 300, 450, 250
- - A$ = "My Dialog"
- DIALOG A$, 100, 300, 450, 250