Button with more actions

Got a problem you cannot solve? Try here.
Post Reply
mikKummerfeld
Posts: 252
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany
Contact:

Button with more actions

Post by mikKummerfeld »

Hello Guys,

I need a Button who "jumps" to a defined dialog.

eg.

dialog 1
dialog 2
dialog 3 with the button who must jump to dialog 1

It this possible ?

thx
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Button with more actions

Post by FrancescoT »

Dear User,

Unfortunately, you can not set a button to perform an action other than those already available in "Object Behavior" properties.

Let me check if could be done with an alternative solution.

I will post you as soon as I can .. if any.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Button with more actions

Post by FrancescoT »

Dear User,

Set the button to "Return from Dialog" and then the button's name will be the result of the Display Dialog call, stored in the variable specified in the call. You can then conditionally in your script, jump to a dialog or set a variable.

In this way you should be able to solve your need.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
mikKummerfeld
Posts: 252
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany
Contact:

Re: Button with more actions

Post by mikKummerfeld »

I need a button which saves the agb and readme on a specific folder...
Is this possible ?
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Button with more actions

Post by FrancescoT »

Dear Heiko,

if you follow my previous reply you already have the answer.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
mikKummerfeld
Posts: 252
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany
Contact:

Re: Button with more actions

Post by mikKummerfeld »

I need a button to:

- open a weburl in browser
- run a executable file or pdf file
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Button with more actions

Post by FrancescoT »

Dear Heiko,

It is exactly the same as my first reply.

Anyway...

Add a button to your dialog and set as "Return from Dialog", the Object Behavior for that button.
To se that property, Double-click the button in Dialog Editor.
The Define Interactive Characteristics dialog appears.
Select the Object Behavior tab on this dialog and set as "Return from Dialog", the Performs Action ComBox.

Then in your script execute your desired actions conditionally, checking the value returned by "Display Dialog" command.
For example, if your button have MYBUTTON as ID, once pressed, "Display Dialog" command will return "MYBUTON".

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply