On Wed, 24 Mar 1999, Bob Ebert wrote:
> At 4:42 PM -0800 3/24/99, Ralf Beckers wrote:
> >When the modal form is
> >closed, the underlaying form is reactivated, but the content of the
> >textfield is still present, draw above the old form.
>
> I think you must be somehow creating the field in the wrong form. Make
> sure it's in the modal form and not in the underlying form.
>
> The find dialog does exactly what you describe, and it's implemented in a
> straightforward way -- no weird tricks. When you tear down a form, all the
> controls in it (including the field) go away.
>
> The only other thing that might be happening is that somehow you're
> inducing the field in the modal form to draw before the screen area is
> captured (the 'bitmap under' is saved). Then when the modal form is
> removed the saved bitmap (including the bits that look like the field) are
> restored.
>
> ...so just make sure the field in your modal form isn't drawn until after
> the modal form is fully opened.
I think I've also seen some glitches like this occur when I was confusing
the field focus mechanism. (Real easy to do if you use anything but
FrmSetFocus). I do believe it happened the other way around (a field in
the "outer" form being displayed on top of the modal form), though.
--
Kenneth Albanowski ([EMAIL PROTECTED], CIS: 70705,126)