Lazarus

Programming => LCL => Topic started by: cbsistem on June 08, 2019, 01:00:51 pm

Title: BUG to TGraphicControl with visual inheritance
Post by: cbsistem on June 08, 2019, 01:00:51 pm
found BUG  to TGraphicControl

not ready for components with visual inheritance

https://bugs.freepascal.org/view.php?id=35689

please someone knows a way to work around this bug I need to solve this problem??
Title: Re: BUG to TGraphicControl with visual inheritance
Post by: jamie on June 08, 2019, 06:54:08 pm
That control needs to be parented from a TWinControl..

 Use a TPanel for a ancestor class and you'll have it all..

 Or you could use a TcustomControl instead...
Title: Re: BUG to TGraphicControl with visual inheritance
Post by: cbsistem on June 09, 2019, 05:05:44 am
I have several components the TCustomControl derivatives are working well.

  the derivatives of TGraphicControl do not work when you have the property changed on the inherited form.

Does anyone know how I can implement this ??

 which way?

cbsistem
TinyPortal © 2005-2018