Hi,
I have a data entry form in which I want to put some check in Valid Event or Lost Focus Event of text box of Item Code or Customer Code to check whether the code exist in master file, if it exist the users can go ahead otherwise it will ask for search. But in the same text box in right click event I put shortcut menu as follows
What I want is the user can avail any option during entry but what happen if the user do right click it is performing valid event or lost focus event.
How can I sort out this problem, please guide me..
Thanks
Saif
I have a data entry form in which I want to put some check in Valid Event or Lost Focus Event of text box of Item Code or Customer Code to check whether the code exist in master file, if it exist the users can go ahead otherwise it will ask for search. But in the same text box in right click event I put shortcut menu as follows
Code:
DEFINE POPUP shortcut SHORTCUT RELATIVE FROM MROW(),mcol()
DEFINE BAR 1 OF shortcut PROMPT "\<1. Item Search" FONT "Tahoma",10
DEFINE BAR 2 OF shortcut PROMPT "\<2. Item-Wise Sales"
DEFINE BAR 3 OF shortcut PROMPT "\<3. Sales Order List"
DEFINE BAR 4 OF shortcut PROMPT "\<4. Despatch Order list"
DEFINE BAR 5 OF shortcut PROMPT "\<5. Delivery Challans"
DEFINE BAR 6 OF shortcut PROMPT "\<6. Sales Invoices"
DEFINE BAR 7 OF shortcut PROMPT "\-"
DEFINE BAR 8 OF shortcut PROMPT "\<7. Item Price"
ON SELECTION BAR 1 OF shortcut do form finditem
ON SELECTION BAR 2 OF shortcut do form custpx
ON SELECTION BAR 3 OF shortcut do form ViewSo
ON SELECTION BAR 4 OF shortcut do form abc3
ON SELECTION BAR 5 OF shortcut do form abc4
ON SELECTION BAR 6 OF shortcut do form abc1
ON SELECTION BAR 8 OF shortcut do form abc1
ACTIVATE POPUP shortcut
What I want is the user can avail any option during entry but what happen if the user do right click it is performing valid event or lost focus event.
How can I sort out this problem, please guide me..
Thanks
Saif