Re: Alternating Sizes of a Drawer and a Regular Window
Hi Greg, For reasons unknown to me, the following handler does not increase the height of the window to 538 when it is about to be displayed as a drawer. Greg drawer theStack on preOpenStack if the mode of this stack is 13 then revChangeWindowSize 261,538 set the scrollbarWidth of fld Hit List to 12 else revChangeWindowSize 720,440 set the scrollbarWidth of fld Hit List to 16 set the loc of this stack to the screenLoc end if revUpdateGeometry end preOpenStack I solve this by resizing the drawer in my script before opening it. e.g. on openAlarmsDrawer set the height of stack Alarms to the height of stack Main - 40 drawer stack Alarms end openAlarmsDrawer It's always good to remember that you can refer to edit stacks that are not yet officially open. HTH, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Alternating Sizes of a Drawer and a Regular Window
Hi Greg, revChangeWindowSize is an IDE handler used mainly by the revPropertyPalette stack when switching tabs: above all if you plan to make a standalone of your stack, this handler will not be included and your standalone will not work. I don't think it is included into the Player environment. There you will have problems too :-) So, you might prefer to get my Tutorials Picker plugin (by going to http://www.sosmartsoftware.com/) and check the How to change card dimensions stack which provides a free variant of revChangeWindowSize you will include in your own script. Best regards from Paris, Eric Chatonet. Le 3 juin 05 à 23:34, Gregory Lypny a écrit : Hello Everyone For reasons unknown to me, the following handler does not increase the height of the window to 538 when it is about to be displayed as a drawer. Greg drawer theStack on preOpenStack if the mode of this stack is 13 then revChangeWindowSize 261,538 set the scrollbarWidth of fld Hit List to 12 else revChangeWindowSize 720,440 set the scrollbarWidth of fld Hit List to 16 set the loc of this stack to the screenLoc end if revUpdateGeometry end preOpenStack So I have to close it with the desired drawer size instead. on closeStack lock screen revChangeWindowSize 261,538 revUpdateGeometry save this stack end closeStack So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Plugins, tutorials and more on our website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Alternating Sizes of a Drawer and a Regular Window
Hello Everyone For reasons unknown to me, the following handler does not increase the height of the window to 538 when it is about to be displayed as a drawer. Greg drawer theStack on preOpenStack if the mode of this stack is 13 then revChangeWindowSize 261,538 set the scrollbarWidth of fld Hit List to 12 else revChangeWindowSize 720,440 set the scrollbarWidth of fld Hit List to 16 set the loc of this stack to the screenLoc end if revUpdateGeometry end preOpenStack So I have to close it with the desired drawer size instead. on closeStack lock screen revChangeWindowSize 261,538 revUpdateGeometry save this stack end closeStack ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution