[Lazarus] New AutoSize issue
Mattias Gärtner
nc-gaertnma at netcologne.de
Fri May 14 11:26:56 CEST 2010
Zitat von Mattias Gärtner <nc-gaertnma at netcologne.de>:
> 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?
I found a place where an exception would not reset a flag. I fixed
that and the LCL now gives a debugln if that happens.
Mattias
More information about the Lazarus
mailing list