hi all
I try to active a context menu by right clicking on a textbox.
when user click a bar of menu a method of parent form must run.the parent form name is test. i write this code in right click event of text box.all things ok when the form window type is modal but i want form be modalless and vfp show this error message " object test is not found" when menu selected. i use vfp9 sp2
can anyone help me please ?
I try to active a context menu by right clicking on a textbox.
when user click a bar of menu a method of parent form must run.the parent form name is test. i write this code in right click event of text box.all things ok when the form window type is modal but i want form be modalless and vfp show this error message " object test is not found" when menu selected. i use vfp9 sp2
can anyone help me please ?
Code:
Define Bar 1 Of cShortcut Prompt [ delete ]
On Selection Bar 1 Of cShortcut test.deleteit()
Activate Popup cShortcut