Page 1 of 1

How to perform some action on click of button

Posted: Mon Sep 11, 2006 1:58 am
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

Posted: Mon Sep 11, 2006 7:18 am
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).