>>>>My VFP's really rusty so:
>>>>
>>>>In a form.init() I have : DO main.mpr WITH THIS,"Main"
>>>>
>>>>I then want to remove a bar item from the menu. How do I reference the menu ?
>>>>
>>>>TIA
>>>
>>>I think since the menu is not OO it can be referred as follows (I think):
>>>
>>>
>>>RELEASE BAR 1 of "_mfile"
>>>
>>
>>Isn't '_mfile' an internal VFP name. I guess what I need to know, given the above 'DO....', is the name of the menu.
>>
>>Alos, looking at the docs I don't see the syntax that I'm using listed (ie second parameter is just a bool)
>
>Viv,
>
>You have to release the bar from the popup
>
>
>popupName = 'theName'
>release bar 1 of (m.popupName)
>
Hmm. But given:
DO main.mpr WITH THIS,"Main"
what is the name ?