Page 1 of 1

forcing a form to remain behind another

Posted: Fri Aug 07, 2009 12:17 pm
by ConvertFromOldNGs
by pillick >> Tue, 17 Dec 2002 4:18:08 GMT

I have one main form, and another form which appears to slide out from behind the main form, supplying a bit of extra info if the user needs it. It makes for quite a cool interface.

The thing is, I allways want this sliding form to be behind the main form, even when the user clicks on it and makes it the active form. How would I do this?

Re: forcing a form to remain behind another

Posted: Fri Aug 07, 2009 12:17 pm
by ConvertFromOldNGs
by cdshearer >> Tue, 17 Dec 2002 6:33:38 GMT

Can you try setting the zOrder on the forms so that the behind one is always behind?

Re: forcing a form to remain behind another

Posted: Fri Aug 07, 2009 12:18 pm
by ConvertFromOldNGs
by torrie >> Tue, 17 Dec 2002 9:05:36 GMT

You could set the main form's parent to the slide out form. (Form.setFormParent) This will mean that the main form is always on top of the slide out but will mean that the icon in the task bar etc will be populated with the slide out's caption etc.

Torrie