Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return .F. from LOAD/INIT
Message
De
09/10/2008 11:32:55
 
 
À
09/10/2008 11:30:59
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01353833
Message ID:
01353834
Vues:
19
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"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform