Quantcast
Channel: Planet Object Pascal
Viewing all articles
Browse latest Browse all 1725

jed-software.com: FireMonkey Style – TStyleTag (Part 2)

$
0
0

Part 1 – http://jed-software.com/blog/?p=699

Along with the missing registration of TStyleTag, the following components cannot be used in styles without hand editing FMX or Style files.

  1. TFontObject
  2. TBrushObject

I’ve updated the package to now register these missing style components so you can use them in custom styles.

Download Package

The change is straight forward if you have already downloaded and installed the previous package.

The register procedure should now look something like this:

procedure Register;
begin
  RegisterComponents('Shapes', [TStyleTag, TFontObject, TBrushObject]);
end;

NOTE: You may want to register them to a different palette location.

 


Viewing all articles
Browse latest Browse all 1725

Trending Articles