[Lazarus] New AutoSize issue
Mattias Gaertner
nc-gaertnma at netcologne.de
Fri May 21 10:13:34 CEST 2010
On Thu, 20 May 2010 21:11:54 +0200
faber <faber.cpu at gmail.com> wrote:
> > > my English is not very good. If you mean something like this:
> > > SR1.Align:=alNone;
> > > SR1.Visible:=true;
> > > SG1.Visible:=false;
> > > SR1.Align:=alClient;
> > >
> > > then this not fix the problem.
> >
> >
> > DisableAlign;
> > ...
> > ...
> > EnableAlign;
>
>
> Unfortunately it did not help
I guess it is a win32 interface bug, because you wrote it
works on some windows and not on windows XP.
The calls are in lcl/interfaces/win32/win32wscontrols.pp
TWin32WSWinControl.ShowHide
Add there a debug line:
debugln(['TWin32WSWinControl.ShowHide ',dbgsname(AWinControl),' ',AWinControl.HandleObjectShouldBeVisible]);
Run it.
Is the stringgrid made visible there?
Mattias
More information about the Lazarus
mailing list