forcing a form to remain behind another

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

forcing a form to remain behind another

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:17 pm

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?

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: forcing a form to remain behind another

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:17 pm

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?

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: forcing a form to remain behind another

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:18 pm

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


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 11 guests

cron