gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Menu example posted to CVS


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Menu example posted to CVS
Date: Mon, 5 Aug 2002 18:01:33 +0200
User-agent: Mutt/1.3.22.1i

> I've added a pop up menu on the right mouse button over the list of drugs 
> prescribed under the prescription edit area. This is identical to the pop up 
> menu I use at work.
Great !

> Now, before going through and adding heaps of menu's I need a little guidence 
> here. I'm happy to do the hack work after some structure is put to the menu's 
> functioning by someone who knows how.

> 1)Each menu item needs to be accessed by an ID  and run an event
This is exactly what I was talking about.

> 2)In modules with multiple pop up menu's e.g the tabbed lists, a structure 
> needs to be worked out so that when the onrightmouseup event is called, the 
> list_id clicked over is set, so that an if...
Need to look into this further.

> Thanks Karsten for the suggestion:
> -------------------------------------------------------------------------
> Richard, if you start doing the popup menus, may I suggest the
> following:
> 
> You'll want to bind menu actions to functions......................etc.......
> ------------------------------------------------------------------------
> however, true to form I don't understand any of it.
I'll lift your menu code from CVS and send you an amended
example. You'll see the benefit right away.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]