How to perform some action on click of button

Got a problem you cannot solve? Try here.
Post Reply
rajeshjeet
Posts: 7
Joined: Wed Sep 06, 2006 7:17 am
Location: Bangalore
Contact:

How to perform some action on click of button

Post by rajeshjeet »

How to perform some action on click of button

If i create a button control on dialog how i can perform some action on click of that button.

How can i make this button as Browse button to search for some file type

As after adding button to dialog i check in object behaviour it display some of the actions by default but i have to perform some other actions ie either to browse some file or on click of button all the check box should get checked or unchecked

Regards,
rajeshjeet
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

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 script-in your actions (also see the plug-ins section for browser dialogs, if you don't want to go with the built-in browsers).
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply