Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MDI Parent scrollbars 1

Status
Not open for further replies.

xartas

Programmer
Aug 20, 2001
26
ES
Hi!

an easy one:

how to prevent scrollbars from appearing when moving mdi children windows around and getting them partially out of client area?


Thanks a lot folks!
 
Hello xartas
I Checked out several applications including Borland BC45 which displays scrollbars if you move a window over the edge so to speak, some other applications don't.
I think the difference is that the ones that dont put up scroll bars are NOT MDI applications.
If you display a normal window modal or non modal on top of your main form you can shove it off the edge, no scroll bars.
So unless anyone disagrees
A MDI child belongs to its parent form. It can't exist outside its boundrys so the parent form has to grow to accomodate you pushing a child form off the edge. Hence the scroll bars.

Steve.

 
maybe you can just hide the scrollbars by setting
MDIParentForm.ScrollBars := ssNone; or something
like that.

I hope this helps,

BobbaFet Everyone has a right to my opinion.
E-mail me at cwcon@programmer.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top