I have a grid, and in the right click method:
I can't use Thisform.ViewInvoice() etc..
how to go arround that, i want to keep the method contained in the form and not create a function in my main.prg etc..
Ali Koumaiha
TeknoSoft Inc.
Michigan
Code:
DEFINE POPUP shortcut SHORTCUT RELATIVE FROM MROW(),MCOL()
DEFINE BAR 1 OF shortcut PROMPT "Invoice Details"
DEFINE BAR 2 OF shortcut PROMPT "Payment Details"
DEFINE BAR 3 OF shortcut PROMPT "Print Invoice"
ON SELECTION BAR 1 OF shortcut Thisform.ViewInvoice()
ON SELECTION BAR 2 OF shortcut Thisform.ViewPayment()
ON SELECTION BAR 3 OF shortcut Thisform.PrintInvoice()
ACTIVATE POPUP shortcut
I can't use Thisform.ViewInvoice() etc..
how to go arround that, i want to keep the method contained in the form and not create a function in my main.prg etc..
Ali Koumaiha
TeknoSoft Inc.
Michigan