Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

TAdvSmoothPanel Independent Style Setting

 Post Reply Post Reply
Author
Gathercole David View Drop Down
New Member
New Member
Avatar

Joined: 01 Sep 2010
Posts: 9
Post Options Post Options   Quote Gathercole David Quote  Post ReplyReply Direct Link To This Post Topic: TAdvSmoothPanel Independent Style Setting
    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
Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 8326
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 27 Apr 2011 at 8:13am
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.
Back to Top
Gathercole David View Drop Down
New Member
New Member
Avatar

Joined: 01 Sep 2010
Posts: 9
Post Options Post Options   Quote Gathercole David Quote  Post ReplyReply Direct Link To This Post Posted: 27 Apr 2011 at 8:55am
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 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down