Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem cancelling form in init
Message
From
07/12/2001 09:29:40
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00591072
Message ID:
00591110
Views:
30
As soon as I typed that message regarding the menu being disabled and sent it off, the rules on modal forms returned to me (sheesh! it's Friday afterall!). Well, that is a problem, because I need the menu, so that is why I changed the form to modeless during testing earlier. I will have to have the form be modeless to have the menu, so how could I get the RETURN .F. in the form's init method to actually stop the read events in the main.prg afterall? I tried adding the read event's in the form's init, but the form never displays and the form's object doesn't exist then. I have never put the read events in a form's init (actually, I didn't even know you could do that and I've been programming with VFP since the Foxbase days in 84--I typically forget a lot of capabilities that I don't use very often though!)

Any ideas?
Thanks!
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform