Difference between revisions of "AMOSi:Dialog Run"

From Amiga Coding
Jump to: navigation, search
(Extracted from the AMOSPro V2.00 helpfile)
m (1 revision(s))
 
(No difference)

Latest revision as of 01:50, 17 November 2007

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.