Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
POP MENU produces fatal exception
Message
From
09/07/2004 18:53:07
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00920012
Message ID:
00922841
Views:
14
Hi Sergey,

I'm sure you could, I'm not so sure I could.

Ideas would be welcome though.

If you have the time, could you please take a look at an issue I have with transferring an instantiated object (toolbar in this case) from one form to another.



>Hi Peter,
>
>Even w/o object oriented menu you can create a menu manager whcich could keep track of your menus and handle them accordingly.
>
>>
>>I've narrowed it down, so I believe it can be reproduced quite easily. All works well as long as the forms are closed in the reverse order that they were opened in.
>>
>>But, if I open 1,2,3,4 and close 2, I may still close the next one, but that's were the fun ends.
>>
>>I'm inclined to think that it's the PUSH...POP that does it, because if the menu is released and defined all over again there's no problem.
>>
>>This has the annoying side afect of the form jumping on the screen when it's activated, so I'd really like to soleve this some other way.
>>
>>All I really want to achieve is having this one menu in most of my forms.
>>
>>Can't the definition somehow be transferred from one form to another without having to redefine it over and over? Would have been nice with a menu object.
>>
>>And finally, I'm a big guy, so being heavy-handed comes with the territory <g>, but where do you see the heavy-handedness in this approach?
>>
>>
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform