Lazarus

Free Pascal => Beginners => Topic started by: manoel2019 on March 08, 2019, 12:36:01 pm

Title: unknown property : "DoubleBuffered" User Control
Post by: manoel2019 on March 08, 2019, 12:36:01 pm
unknown property : "DoubleBuffered"

USER CONTROL
instalado usando Gerenciador de Pacotes online

Windows 7,  Lazarus 2.0,  User Control Package  2.33 RC1

Como resolver ?


Title: Re: unknown property : "DoubleBuffered" User Control
Post by: Blaazen on March 08, 2019, 02:24:24 pm
Properties DoubleBuffered and ParentDoubleBuffered was added recently, they are not yet in Lazarus 2.0.
Lazarus gives some dialog with "Ignore and continue loading" (for projects).

You can use Lazarus trunk or fix package manually.
Title: Re: unknown property : "DoubleBuffered" User Control
Post by: dsiders on March 08, 2019, 07:07:38 pm
Properties DoubleBuffered and ParentDoubleBuffered was added recently, they are not yet in Lazarus 2.0.
Lazarus gives some dialog with "Ignore and continue loading" (for projects).

You can use Lazarus trunk or fix package manually.

I am using the Lazarus 2.0 Release (not fixes, not trunk). Both DoubleBuffered and ParentDoubleBuffered are present in LCL in the release.
Title: Re: unknown property : "DoubleBuffered" User Control
Post by: bogaxelrin on June 11, 2019, 05:24:29 pm
I installed the 2.0.2 and it gave me the msg: unknown property "DoubleBuffered" in user control 2.33.
Solution?
Title: Re: unknown property : "DoubleBuffered" User Control
Post by: wp on June 11, 2019, 06:59:05 pm
From where did you get this version of UserControl? The one which can be installed by the Online-Package-Manger compiles and installs fine without any error messages. I tested Laz trunk and Laz 2.0.2 on Win 10.
Title: Re: unknown property : "DoubleBuffered" User Control
Post by: bogaxelrin on June 14, 2019, 09:44:36 pm
from this address "https://github.com/jbsolucoes/ucp/" but with the version of lazarus 2.0.0 without problems worked. When updating the lazarus to 2.0.2 the problem appeared. Thank you for your contribution
Title: Re: unknown property : "DoubleBuffered" User Control
Post by: wp on June 14, 2019, 11:07:53 pm
from this address "https://github.com/jbsolucoes/ucp/" but with the version of lazarus 2.0.0 without problems worked. When updating the lazarus to 2.0.2 the problem appeared. Thank you for your contribution
Now I tried also this link, and it is working correctly too. So, I don't know what's wrong...

Did you try a clean rebuild of the IDE? "Tools" > "Configure Build IDE" > "Clean up": check "Clean all" and "Switch after building to automatically" > "Build".
Title: Re: unknown property : "DoubleBuffered" User Control
Post by: bogaxelrin on June 27, 2019, 07:02:58 pm
I re-installed everything again the user control and where it gives the error is:
"The component editor of the class 'TUCControlsEditor' has created the error:" Error reading BtOK.DoubleBuffered: Unknown property: "DoubleBuffered"
This is when adding the TUCControls component.
Thanks
TinyPortal © 2005-2018