Re: A Form will not release!

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi, I'm baaaak.

Josh, I have no idea of how to post my actual code anywhere.
I'm lucky if I can find some of it in this OOP world!

Anyway, I created a new 4th version of my Question Form (in the Form
Designer, as always), and in the process, I discovered the problem !!!

When I called the form, I used "DO FORM QUESTION NOSHOW" so some code
in QUESTION.INIT would have time to calculate the forms TOP and change
some LABEL.CAPTIONs based on some PUBLIC variables and stop twitching
around before it was made visible with THISFORM.SHOW at the end of
QUESTION.INIT.

When I removed NOSHOW from the DO FORM command and removed the
THISFORM.SHOW from the INIT the problem went away !!!

Another OOP land-mine I will have to avoid.

If anyone can and/or wants to explain this in simple terms, I'll be
glad to learn. Otherwise (as the DO CASE says), I'm moving on.

Also, check out my "Drop-Down List Box confusion." TOPIC in this
group. No one, including myself, has cracked that one.

Thanks once again, to you all,
Jud

.