>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"