>Hi All,
>
>If I have a shortcut menu which have the following items in it.
>
>Customer
>Properties
>
>If I select customer, I want to execute the CustInfo() method within that form. How would I do that? TIA
From the RightClick method of the object:
oform=Thisform
DEFINE POPUP MyPop SHORTCUT FROM mrow(),mcol()
DEFINE BAR 1 OF MyPop PROMPT "Customer"
DEFINE BAR 2 OF MyPop PROMPT "Properties"
ON SELECTION BAR 1 OF MyPop oform.CustInfo()
ON SELECTION BAR 2 OF MyPop oform.PropInfo()
ACTIVATE POPUP MyPop
RELEASE POPUP MyPop
oform=.NULL.
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca