Page 1 of 1

Moving objects between stacks

Posted: Wed Nov 14, 2007 9:53 pm
by petero
I would like to be able to drag an object fromm a palette onto another stack and leave a copy of the object there. (while in RUN mode)

That is, I'd like to do the same thing Revolution does when you create a new field.

What transcript commands should I be looking at?

Thanks in advance.

Peter

Posted: Wed Nov 14, 2007 10:30 pm
by Garrett
Check out the "create" command in the documents. Use that to create a new control on the other stack.

Also, maybe check into the "template*******" command, which is listed such as "templatebutton" in the documents. It allows you to setup a template for each of the controls to your desired specs before you use the "create" command to create the control.

I don't have any examples handy at the moment, but I've used these before and had no problems.