hi,
i have main form (menu1) i run another form form menu1 inside thisform i run report1
i can see the report but menu1 front of the report
i need to hide thisform.menu1....
>I suppose I should have asked the first time
>thisform.menu1.hide()
>thisform.menu1.show()
>
>
>what do you mean by "not work"?
>
>Does the menu simply stay visible?
>
>Do you get an error? (If so, don't you think it would have been useful to provide the error message?)
>
>
>
>>thank you for reply,
>>error message Unknown member menu1
>>
>>>>hi all,
>>>>
>>>>i need to hide main form and sub form as below
>>>>
>>>>thisform.hide()
>>>>
>>>>thisform.menu1.hide()
>>>>
>>>>report form report1 preview
>>>>
>>>>thisform.show()
>>>>
>>>>thisform.menu1.show()
>>>>
>>>>thanks
>>>
>>>Have you tried working with the visible property instead?
>>>thisform.visible = .F.
>>>thisform.menu1.visible = .F.
>>>report form report1 preview
>>>thisform.visible = .T.
>>>thisform.menu1.visible = .T.
>>>