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.


<pre>
b=Dialog Run(channel)
</pre>

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


<pre>
b=Dialog Run(channel,label)
</pre>

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.


<pre>
b=Dialog Run(channel,label,x,y)
</pre>

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.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox