>I am creating a VFP 3 application in Windows 3x and I just ran into a major problem in my app. I have a button bar which allows user to perform functions by clicking on a button. Well, they also wanted a menu with the same functions available so I added one but now I realize I cannot reference any object in the formset from the menu. I thought I could just call the objects using the same commands from the click events of the tool buttons. Is it true that since I can only reference objects from within methods the menu is completely useless? I can only DO forms and Fox procedures without object references? Is there no way to change a property or reference an object via the menu?
You can address objects on the form from the menu like this:
_screen.activeform.myObject.myObjectMethod()
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison