Dynamically Creating button choice on UIBB panel area


 

The link: Dynamically Creating Buttons on UIBB Panel Area helps to add dynamic button on the  UIBB panel area. As an extension will add button choice to the UIBB panel area.

So we have the current application looks like this.  Now we have to add a button choice dynamically on the highlighted area.

1

Add the below code from line 17-39 in the GET_DEFINITION method of the feeder class.

23

test the application.

14

So here we have the button choice.

4

Message class will be used below.

5.jpg

To respond to the button choice click, add below code in the PROCESS_EVENT method of the feeder class.

5

test the application and click the button choice and the below message appears.

6


 

Advertisements

One comment

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 )

w

Connecting to %s