Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return .F. from LOAD/INIT
Message
From
09/10/2008 11:32:55
 
 
To
09/10/2008 11:30:59
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01353833
Message ID:
01353834
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
>A form is run from the menu. I put code into the beginning of the LOAD that returns .F. under a certain condition, expecting that the form would not display. The form does display. If I put the code into the INIT, it also still displays. I need to be able to run the DO FORM from the menu, but then cancel the form under the condition. How do I do that?

You will need to step through the load process in the debugger. It's possible you have code in a parent class that is causing it to run or the code is never hitting the RETURN .F. in the load of the form?
.·*´¨)
.·`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
Reply
Map
View

Click here to load this message in the networking platform