AMOSi:Dialog Run

From Amiga Coding
Revision as of 01:50, 17 November 2007 by Spellcoder (talk | contribs) (1 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

an example can be found on AMOSPro_Tutorial:Tutorials/Interface/Communication.AMOS


Executes an Interface program from a dialogue channel which you've previously set up with DIALOG OPEN.


b=Dialog Run(channel)

Runs your Interface program. If it doesn't contain a RunUntil instruction, the dialogue will occur in the background.


b=Dialog Run(channel,label)

label starts the program from a specific label in the Interface command string. If it's not specified, the system will commence from the first program in the list.


b=Dialog Run(channel,label,x,y)

x,y set the position of the control panel on the screen. All graphics coordinates will now be measured from this point.


Warning!


If you've included a BAse command in your program, your new x,y coordinates will be totally ignored.