PDA

View Full Version : popup with buttons different size from main page...


Delta
08-07-2007, 01:21 PM
Hi!
I need help to build:
1 page that on this page will be ~10 buttons...
With click on every of this buttons will be opened new page or some popup that will be with 4-5 buttons and much-much smaller size than "main" page... (page/popup will be sized as 4-5 buttons)
BUT when this page/popup opens "main" window need to be minimizes... and on page/popup will be option "close totaly or only the page/popup"...

can it be done?

Delta
08-21-2007, 02:42 PM
no 1? :huh

Delta
10-18-2007, 07:06 PM
any1? hlp... pls!

holtgrewe
10-18-2007, 09:05 PM
One way to do this would be to place the following code ON PRELOAD of each page.

-- Get the AutoPlay application's window handle.
handle = Application.GetWndHandle();

Window.SetSize(handle, 600, 400);

Just change the width and height (600,400) above to whatever value on the subsequent screens.
When you Page.Jump the child page will be resized.
Make certain that your project settings are "resizable"
This example does not minimize pages.

HTH

Delta
10-19-2007, 03:47 AM
10q!.....................

melissa
10-19-2007, 05:39 AM
if you want to create many pages with many buttons that`s easy , but if

you want to create many windows popup with buttons options , i think

that`s not easy , because kind of windows popup are scripts or codes

and i think is easy to create wondows popup with maximum 2 buttons

1 - create or import button

2 - go Script ( button )

3 - add action

4 - choose dialog

and there choose what you want

like this

http://www.indigorose.com/webhelp/ams60/ams60_scripting_hello_world_dialog.png

Delta
10-19-2007, 07:12 AM
melissa
i need different sizes windows/pages/popups with my buttons... but standard u can open next only same size page...
u need manualy change the code of the page...
now i'm trying holtgrewe's suggestion...