TAdvSmoothPanel Independent Style Setting |
Post Reply ![]() |
Author | |
Gathercole David ![]() New Member ![]() Joined: 01 Sep 2010 Posts: 9 |
![]() ![]() ![]() ![]() Posted: 27 Apr 2011 at 6:30am |
Hi,
Would it be possible to add a property to the TAdvSmoothPanel so that it doesn't automatically pick up the Style settings from the FormStyler. I'm trying to use a SmoothPanel with custom fill settings that I've applied at design time but I'm using AppStyler / FormStylers so the SmoothPanel automatically picks up the tsOffice2010Blue fill style from these at runtime, for example. Cheers, Matt
|
|
![]() |
|
Bruno Fierens ![]() TMS Support ![]() Joined: 11 May 2010 Posts: 8326 |
![]() ![]() ![]() ![]() |
You can use the event AdvFormStyler.OnApplyStyle and when the control AComponent is the control you want to disable automatic styling for, set Allow parameter to false.
|
|
![]() |
|
Gathercole David ![]() New Member ![]() Joined: 01 Sep 2010 Posts: 9 |
![]() ![]() ![]() ![]() |
Thanks for that Bruno. It didn't occur to me to look at the FormStyler itself rather than the component. Obvious when you think about it though!Cheers,Matt
|
|
![]() |
Post Reply ![]() |
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |