Custom Firemonkey style – linking properties between control and style?

  

Delphi XE-6

I am trying to create my own style for a TGroupBox control.

I looked at numerous demos and tutorials, but can’t seem to figure this one out.

How do you make the text from the control become blank and show up on the style’s text control instead?

I know it has to do with the StyleName, but I dont know what i am doing wrong.

Can someone provide a simple example?
For example, a TGroupbox – has a caption at top, but what if you want to have it on a banner part way down from top. Creating the banner i can do, but how can i then link the text item on the banner with the caption property of the control?

thanx

Comments are closed.