MDI form scrollbars
Posted on 1997-03-16
I want to make MDI main form scrollbars to be invisible
even in that case when one or more child windows come out
from the main form border.
But setting up to .FALSE. of main form properties HorzScrollBar.Visible and VertyScrollBar.Visible give'nt effect. Then I try to redefine Style of the main form Style:=Style and not WS_HSROLL (WS_VSCROLL) by overriding the TForm.CreateParams metod, but with the same result.
The only exit from this situation I find is to rewrite
TForm.AlignControls directly in forms.pas. (I made the scrollbars positions out from form border and then they are invisible though present physicaly.
Unfortunately after this I have'nt a possibility to rebuild VCL and to use some modules (such as VBX tc.) because not all modules that are referencing to forms are present in source code.
This Is my problem and I'd like to know, is there any way
to disable at all these scrollbars without coming into VCL
Any help will be grateful.