例如一些簡單的形式Foxpro,如何從菜單按鈕訪問表單?
define class myf as form
add object text1 as textbox
procedure init
do G:\mymenu.mpr with thisform
endproc
enddefine
mymeny.mpr文件的
和內容:
parameters f
Define Menu menubar in (m.f.Name) Bar
Define Pad qrs of menubar prompt "Queries"
ON SELECTION pad qrs OF menubar do dosth
procedure dosth
???.text1.value = "sample"
endproc
我怎麼可以參照從這裏形成了Myf?