[Lazarus] New AutoSize issue
Mattias Gärtner
nc-gaertnma at netcologne.de
Fri May 14 10:49:55 CEST 2010
Zitat von faber <faber.cpu at gmail.com>:
> I'm testing on r25388.
> Unfortunately I can't get this issue on sample similar small project.
> On my app i put this line to OnResize event
>
>
> debugln(inttostr(TStringGrid(Sender).Height)+'-:-'+inttostr(TStringGrid(Sender).Width)+'
> '+booltostr(TStringGrid(Sender).Visible));
Hint: You can use:
debugln([dbgsName(Sender),' ',dbgs(TControl(Sender).BoundsRect)]);
> and on good working I get the same as in wrong working, twice this
> line "459-:-688 -1", so I get width and height and visibility but I
> don't see grid (only I see panel).
Ok. Maybe the visible flag is not sent to the interface.
Are there any exceptions that you catch with a try..except?
Mattias
More information about the Lazarus
mailing list