[lazarus] LCL CustomRadioGroup.inc - FHiddenButton.CreateHandle

Peter Vreman peter at freepascal.org
Sun Nov 16 08:01:34 EST 2003


At 10:24 15-11-2003, you wrote:
>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






More information about the Lazarus mailing list