AMOSi:Dialog Run

From Amiga Coding
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.


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