Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-11

LCL CustomRadioGroup.inc - FHiddenButton.CreateHandle

4 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andreas Hausladen

In CustomRadioGroup.inc there is a line "FHiddenButton.CreateHandle;" in TCustomRadioGroup.CreateWnd. CreateHandle is a protected method so it is not accessible in ExtCtrls.pas. But why does FPC allows this call? Delphi says: "undefined identifier CreateHandle". My recommendation is to call FHiddernButton.HandleNeeded instead.

Regards, Andreas Hausladen (JVCL developer) (http://www.kylix-patch.de.vu)

Reply by email

Mattias Gaertner
to Andreas Hausladen
Show quoted text 5 lines
In CustomRadioGroup.inc there is a line "FHiddenButton.CreateHandle;" in TCustomRadioGroup.CreateWnd. CreateHandle is a protected method so it is not accessible in ExtCtrls.pas. But why does FPC allows this call? Delphi says: "undefined identifier CreateHandle". My recommendation is to call FHiddernButton.HandleNeeded instead.

Thanks. Applied.

Mattias

Reply by email

Peter Vreman
to Andreas Hausladen: In CustomRadioGroup.inc there is a line "FHiddenButton.CreateHandle;" in…
you wrote 5 lines
In CustomRadioGroup.inc there is a line "FHiddenButton.CreateHandle;" in TCustomRadioGroup.CreateWnd. CreateHandle is a protected method so it is not accessible in ExtCtrls.pas. But why does FPC allows this call? Delphi says: "undefined identifier CreateHandle". My recommendation is to call FHiddernButton.HandleNeeded instead.

Can you create a small example that shows this bug? Then we can add it to the testsuite so it won't be forgotten.

Peter

Reply by email