Skip to main content
Participant
December 24, 2009
Question

popup a menu in floater

  • December 24, 2009
  • 1 reply
  • 508 views

Hi

I use PopupMenu object to pop up a menu in floater, like following

var m = new PopupMenu();

a.addItem("menuitem1");

var response = m.popup();

User click "menuitem1", the response  is "menuitem1".

It's OK on windows, but it's unstable on Mac.

The response is often a empty string. If you add a alert before "var response = m.popup();", it's OK.

Does anyone have the solution for this issue?

Thanks

Simon

This topic has been closed for replies.

1 reply

limeng1Author
Participant
February 5, 2010

It's seems that it works well on Code View and Design View, but it doesn't work on Split View.

Does anyone have some suggestions?