[Lazarus] TPageControl bug (or by desing)?

Bart bartjunk64 at gmail.com
Sun Sep 18 00:25:01 CEST 2011


On 9/17/11, Hans-Peter Diettrich <DrDiettrich1 at aol.com> wrote:
> Bart schrieb:
>> Hi,
>>
>> The value of PageCount inside TPageControl.DoChange (and therefore in
>> the OnChange event) seems wrong (to me), when you remove a page from
>> the control.
>
> This may be a bug in the widgetset - which one did you use?

I tested this on Win32 and Linux/GTK2
On Windows however, change is not called when removing the last page
(and this is why my program didn't crash on Windows).

Bart




More information about the Lazarus mailing list