FireMonkey Style resource not being saved

  

I’m trying to add a custom .style resource into a StyleBook component.

However, if I close the project and open it again, it won’t appear on the Styles Editor. It will look exactly like it was just created.

The most curious thing about it is when opening the Unit.fmx as Text I can find the reference code for the Style added.

Platform = ‘Normal’
ResourcesBin = {
464D585F5354594C4520322E3501060A437573746F6D4974656D03EC07060B63
7573746F6D636865636B03DE04005450463007544C61796F757400095374796C
654E616D65060A437573746F6D4974656D0C50616464696E672E4C6566740500
000000000000C000400B50616464696E672E546F700500000000000000C00040
0D50616464696E672E52696768740500000000000000C000400E50616464696E
672E426F74746F6D0500000000000000C000400A506F736974696F6E2E580500
000000000000D807400A506F736974696F6E2E5905000000000000009907400A
53697A652E576964746805000000000000009407400B53697A652E4865696768
7405000000000000008005401453697A652E506C6174666F726D44656661756C
74080756697369626C6508085461624F726465720200000654496D6167650009
5374796C654E616D65060469636F6E0E4D756C74695265734269746D61700E01
055769647468020106486569676874020103504E470A6300000089504E470D0A
1A0A0000000D49484452000000010000000108060000001F15C4890000000173
52474200AECE1CE90000000467414D410000B18F0BFC61050000000D49444154
185763606060600000000500018A33E3000000000049454E44AE426082000105
5363616C650500000000000000800040000005416C69676E07084D6F73744C65
66740748697454657374080D4D617267696E732E526967687405000000000000
00C000400A506F736974696F6E2E580500000000000000F803400A506F736974
696F6E2E590500000000000000C000400A53697A652E57696474680500000000
0000009805400B53697A652E4865696768740500000000000000E80440145369
7A652E506C6174666F726D44656661756C740800000554546578740009537479
6C654E616D6506047465787405416C69676E0703546F70074869745465737408
0A506F736974696F6E2E580500000000000000DC05400A506F736974696F6E2E
590500000000000000C000400A53697A652E57696474680500000000000000FE
05400B53697A652E48656967687405000000000000008803401453697A652E50
6C6174666F726D44656661756C74080454657874060454657874165465787453
657474696E67732E466F6E74436F6C6F72070978464639303930393015546578
7453657474696E67732E576F72645772617008165465787453657474696E6773
2E486F727A416C69676E07074C656164696E6700000554546578740009537479
6C654E616D65060A7265736F6C7574696F6E05416C69676E0703546F70074869
7454657374080A506F736974696F6E2E580500000000000000DC05400A506F73
6974696F6E2E590500000000000000A003400A53697A652E5769647468050000
0000000000FE05400B53697A652E486569676874050000000000000088034014
53697A652E506C6174666F726D44656661756C74080454657874060454657874
165465787453657474696E67732E466F6E74436F6C6F72070978464636353635
3635155465787453657474696E67732E576F7264577261700816546578745365
7474696E67732E486F727A416C69676E07074C656164696E67000007544C6179
6F75740005416C69676E07094D6F737452696768740D4D617267696E732E5269
6768740500000000000000C001400A506F736974696F6E2E5805000000000000
00ED06400A506F736974696F6E2E590500000000000000C000400A53697A652E
57696474680500000000000000C804400B53697A652E48656967687405000000
00000000E804401453697A652E506C6174666F726D44656661756C7408000C54
5370656564427574746F6E00095374796C654E616D650604696E666F05416C69
676E0703546F700848656C7054797065070968744B6579776F72640A53697A65
2E57696474680500000000000000C804400B53697A652E486569676874050000
00000000009803401453697A652E506C6174666F726D44656661756C74080B53
74796C654C6F6F6B7570060B627574746F6E7374796C6504546578740604696E
666F00000005545465787400095374796C654E616D650605646570746805416C
69676E0703546F700748697454657374080A506F736974696F6E2E5805000000
00000000DC05400A506F736974696F6E2E5905000000000000009404400A5369
7A652E57696474680500000000000000FE05400B53697A652E48656967687405
000000000000008803401453697A652E506C6174666F726D44656661756C7408
0454657874060454657874165465787453657474696E67732E466F6E74436F6C
6F720709784646363536353635155465787453657474696E67732E576F726457
72617008165465787453657474696E67732E486F727A416C69676E07074C6561
64696E67000007544C61796F75740005416C69676E07084D6F73744C6566740A
506F736974696F6E2E580500000000000000C000400A506F736974696F6E2E59
0500000000000000C000400A53697A652E57696474680500000000000000E003
400B53697A652E4865696768740500000000000000E804401453697A652E506C
6174666F726D44656661756C7408000954436865636B426F7800095374796C65
4E616D65060776697369626C6505416C69676E070643656E7465720848656C70
54797065070968744B6579776F72640A53697A652E5769647468050000000000
0000C003400B53697A652E48656967687405000000000000009803401453697A
652E506C6174666F726D44656661756C74080B5374796C654C6F6F6B7570060B
637573746F6D636865636B085461624F72646572020000000000545046300754
4C61796F757400095374796C654E616D65060B637573746F6D636865636B0A50
6F736974696F6E2E5805000000000000008208400A506F736974696F6E2E5905
00000000000000A507400A53697A652E57696474680500000000000000F20540
0B53697A652E48656967687405000000000000008803401453697A652E506C61
74666F726D44656661756C74080756697369626C6508085461624F7264657202
010007544C61796F75740005416C69676E07044C6566740A53697A652E576964
74680500000000000000C003400B53697A652E48656967687405000000000000
008803401453697A652E506C6174666F726D44656661756C7408000554506174
680005416C69676E0706436C69656E7409446174612E506174680AD801000027
00000000000000FEC8BA4402E79244020000002592AD4402E79244020000006D
5BA544FEB09E44020000006D5BA544FEB09E440200000093A4A4446A0C9F4402
0000004A80AC44047AAA4402000000046EBA44047AAA44020000004A00C84404
7AAA44020000000080CF44FEB09E44020000000080CF44FEB09E440200000000
80CF44FEB09E44020000004C5BC84402E7924402000000FEC8BA4402E7924400
000000FE88BA44FE30974402000000B876BF44FE309744020000000277C344EE
A09A44020000000277C34404DE9E44020000000277C344121BA34402000000B8
76BF44008CA64402000000FE88BA44008CA644020000004C9BB544008CA64402
000000009CB144121BA34402000000009CB14404DE9E4402000000009CB144EE
A09A44020000004C9BB544FE30974402000000FE88BA44FE3097440000000000
80BA44045E9B4402000000146EB844045E9B440200000000C0B64454F79C4402
00000000C0B64400F09E440200000000C0B644ACE8A04402000000146EB84404
82A244020000000080BA440482A24402000000EC91BC440482A2440200000000
40BE44ACE8A044020000000040BE4400F09E44020000000040BE4454F79C4402
000000EC91BC44045E9B44020000000080BA44045E9B440A46696C6C2E436F6C
6F7207097834303330333033300748697454657374080C4D617267696E732E4C
65667405000000000000008000400B4D617267696E732E546F70050000000000
00008000400D4D617267696E732E526967687405000000000000008000400E4D
617267696E732E426F74746F6D05000000000000008000400A53697A652E5769
6474680500000000000000A003400B53697A652E486569676874050000000000
0000D002401453697A652E506C6174666F726D44656661756C74080B5374726F
6B652E4B696E6407044E6F6E65000F54436F6C6F72416E696D6174696F6E0008
4475726174696F6E05000000000017B7D1F13F0C50726F70657274794E616D65
060A46696C6C2E436F6C6F720A537461727456616C7565070978343033303330
33300953746F7056616C75650709784646333033303330075472696767657206
0E4973436865636B65643D7472756500000F54436F6C6F72416E696D6174696F
6E00084475726174696F6E05000000000017B7D1F13F0C50726F70657274794E
616D65060A46696C6C2E436F6C6F720A537461727456616C7565070978464633
30333033300953746F7056616C75650709783430333033303330075472696767
6572060F4973436865636B65643D66616C73650000000000}
end

As you might imagine, the defined style won’t work at the application.

Any ideas?

Comments are closed.