开云体育

Locked Re: 1.0.3 control panel questions


 

At 4:00 PM +1200 8/9/02, Alex Shepherd wrote:
> What does one normally do to get pop-up menus on a Windows machine?
e.g. in other applications, etc. Is there a standard?
Bob,

I you like, I can take a look at this if you can tell me where to look in
the code for the mouse events.
Thanks, I'd appreciate it. The mouse events are handled primarily in jmri.jmrit.display.PositionableLabel where I decode what's going on, then invoke a subclass method to really display the popup. There's a lot of debugging there, so if you just turn on the log4j category with

jmri.jmrit.display.PositionableLabel = DEBUG

and click around you'll probably find what I did wrong.

Bob
--
--------------
Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957)
At CERN until August 10, replies may be slow.

Join [email protected] to automatically receive all group messages.