Vote UpVote

How to have a blue FMX TPanel

Delphi Haven – The short answer is: don’t try. In the VCL, TPanel plays the part of the basic container control. In FMX, in contrast, it doesn’t – TLayout does that. The whole point of the FMX TPanel is be a basic container control with a certain, predefined style. TLayout, in contrast, is a basic container control with no predefined style. Anyhow, if a person really must use TPanel yet disregard its styling, he or she should handle its OnApplyStyle event by getting a reference to its embedded TRectangle object, and setting the TRectangle’s Fill property accordingly: procedure ...
Favorite? Off-Topic? Chris Rolliston @ 2012-03-09 21:25


Visits: 750
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)