Page 1 of 1

PageHeader forgets property value

PostPosted: 30 Aug 2013 11:49
by Soren SDF
Hi.

If I set either right or left button Enabled to False in the PageHeader the value is automatically set back to True when I open the Form in Delphi. I run Delphi XE2 with IW 14.0.13 and CGDevTools 1.6.0.2813.
I can disable for instance the left button and save and close the form in Delphi but if I load the form in the IDE it sets itself back to enabled. All other properties for the header buttons seem to work as expected.

Sören A

Re: PageHeader forgets property value

PostPosted: 30 Aug 2013 12:16
by Alexander Bulei
Hi,

Soren SDF wrote:Hi.

If I set either right or left button Enabled to False in the PageHeader the value is automatically set back to True when I open the Form in Delphi. I run Delphi XE2 with IW 14.0.13 and CGDevTools 1.6.0.2813.
I can disable for instance the left button and save and close the form in Delphi but if I load the form in the IDE it sets itself back to enabled. All other properties for the header buttons seem to work as expected.

Sören A


This happens because you have filled in the caption property.
Clear the caption and set the Enable to False.

Best Regards.

Re: PageHeader forgets property value

PostPosted: 30 Aug 2013 12:46
by Soren SDF
Thank you, it works now.
Is this behaviour new? (I'm not sure I like it...).

Sören