Yosemite style pack for RAD Studio XE7 » Developer.Team

Yosemite style pack for RAD Studio XE7

Yosemite style pack for RAD Studio XE7
Yosemite style pack for RAD Studio XE7 | 349 kB


We have a new Yosemite style pack available for RAD Studio XE7 users that includes both a blue and a dark style. The blue style is the default Yosemite style, and the dark style is designed for Yosemite’s dark (graphite) mode.

1. Place TStyleBook onto the Master view
2. Set TStyleBook.Name = "YosemiteStyleBook"
3. Load Yosemite.fsf or YosemiteDark.fsf to YosemiteStyleBook
4. Use the TForm.OnCreate event and add this code:

procedure TForm1.FormCreate(Sender: TObject);
begin
  {$IFDEF MACOS}
  if (TOSVersion.Major = 10) and (TOSVersion.Minor = 10) then
     Form1.StyleBook := YosemiteStyleBook;
  {$ENDIF}
end;


Home:
http://cc.embarcadero.com/item/30025


[/b]

[b] Only for V.I.P
Warning! You are not allowed to view this text.
SiteLock