Skip to Content
0
Former Member
Sep 03, 2008 at 09:09 AM

subscribe_to_button_event:--> How to disable Yes button??

39 Views

Dear Experts,

I have created a modal pop-up window (create_popup_to_confirm) to show 2 buttons "Yes" and "No". When user clicks "Yes", the program will call a method which will do some processing.

I have successfully use the "subscribe_to_button_event" function to create 2 events for each button "Yes" and "No".

My query is:

When user clicks on "Yes" button, the button will be enabled for user to click again and again, until the background processing completes and window close. How do i disable the Yes button when the processing is running, so user knows that a background process is running? ...there is also no "hourglass" appearing so user might click on the Yes button again and again. ANy idea? Thanks,

Zul

Edited by: Mohamed Ali Zulzaili on Sep 3, 2008 11:10 AM