Page 1 of 1

Text menu in runtime

Posted: Fri Aug 28, 2009 10:32 pm
by AlexAdams
I would like to include the Text menu from the IDE in some of my stacks. I have a menu bar for each window. How do I get it to include the Text menu?

Thanks,

Posted: Sat Aug 29, 2009 9:22 am
by Mark
Dear Alex,

You can copy the Text button of group "revMenubar" of stack "revMenubar" to group "Menubar 1" of your own stack. After enabling all lines in that menu button, it will work (delete the left brackets in the menu item names). You will need to copy a part of the script of group "revMenubar" to your own menu bar if you want to adjust the contents of the Text button dynamically on mouseDown.

I haven't tested whether the scripts in the Text button break at some point after copying it to your own stack.

Best regards,

Mark

Thanks Mark

Posted: Sat Aug 29, 2009 9:39 pm
by AlexAdams
Thanks Mark,

I'll give this a try.