Lew Schwartz wrote on 2011-03-29: 
> I'm not looking for an entire menu, just the popup that's context hip.
> ie it knows which form it got popped up on etc... Possibly, I'm wrong
> about the object ref, memory is hazy lo these many years.
> 

Lew,

I do this in code, usually a method called from the RightClick event:

      Local nBar
      nBar = 0
      DEFINE POPUP rclk SHORTCUT RELATIVE COLOR SCHEME 3 FROM MROW(), MCOL()
      DEFINE BAR 1 OF rclk PROMPT 'Debug'
      DEFINE BAR 2 OF rclk PROMPT 'Data Session Window'
      ON SELECTION POPUP rclk nBar = BAR()
      ACTIVATE POPUP rclk 
      DO CASE 
      CASE nBar = 1
         DEBUG
      CASE nBar = 2
         SET
      ENDCASE
      RELEASE POPUPS rclk


Tracy Pearson
PowerChurch Software




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/000401cbee3d$40fd7800$c2f86800$@com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to