You've hit upon the exact purpose of a modal form. It's meant to prevent you from running anything outside the form until you close it. If you need access to a menu from within the form, put the following in the form's Paint method:
if thisform.Need2Paint
push menu _msysmenu
do
.mpr
thisform.Need2Paint = .F.
endif
You'll need a new form property called Need2 Paint that you set to .T. in the form's load method. In the form's release method, you'll want to add Pop menu _msysmenu.
>i have a form wich has a treeview in it, if i run it from the command window i can use the mousedown method of the control regardless of the form tyoe (modal or not) but if i call it from another form it runs ok only if the form is not modal, if it is modal, i cannot use the mouse down to display a menu, what sholud i do, what else does a modal tyoe besides of not allowing using or accesing forms outside the form?