Enabling/Disabling Global toolbar buttons dynamically in FPM Application


 

The link: Adding buttons on the Global toolbar of the FPM Application describes how to add buttons on the global toolbar.

Test the application.

14

The application screen looks like as below. Now the task is very first when the application is launched CANCEL button should be invisible and once EDIT button is clicked then only CANCEL button would be visible.

11

Go to the application controller class. Open the OVERRIDE_EVENT_OVP method.

1.jpg

put the below code.

23

Now test the application again. Now the CANCEL button is hidden now. once Edit button is clicked, the CANCEL button again appears.

45


 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s