Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide form
Message
From
09/01/2011 07:25:32
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
09/01/2011 01:09:51
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
01495233
Message ID:
01495288
Views:
51
That means you have no object on the form that is called "Menu1".

Menus are independent objects, not part of a form.

>thank you for reply,
>error message Unknown member menu1
>
>>>hi all,
>>>
>>>i need to hide main form and sub form as below
>>>
>>>thisform.hide()&&work
>>>
>>>thisform.menu1.hide()&&not work
>>>
>>>report form report1 preview
>>>
>>>thisform.show()&&work
>>>
>>>thisform.menu1.show()&&notwork
>>>
>>>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.
>>
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform