Hi all
Using Firefox 3.6.6, GWT 2.0.3 on Win XP SP3.
I cannot get a GWT context menu to appear on a disabled button. Instead I get the standard browser context menu.
import com.smartgwt.client.widgets.IButton;
IButton diagnoseBtn;
diagnoseBtn = new IButton(lang.diagnoseText()); diagnoseBtn.setContextMenu(ContextMenu.CreateHelpMenu(ContextMenu.HELP_ID.DIAGNOSE_BTN));
diagnoseBtn.setDisabled(true);
The context menu works fine when the button is not disabled.
Hope someone can help
Thanks
Using Firefox 3.6.6, GWT 2.0.3 on Win XP SP3.
I cannot get a GWT context menu to appear on a disabled button. Instead I get the standard browser context menu.
import com.smartgwt.client.widgets.IButton;
IButton diagnoseBtn;
diagnoseBtn = new IButton(lang.diagnoseText()); diagnoseBtn.setContextMenu(ContextMenu.CreateHelpMenu(ContextMenu.HELP_ID.DIAGNOSE_BTN));
diagnoseBtn.setDisabled(true);
The context menu works fine when the button is not disabled.
Hope someone can help
Thanks
Comment