Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8628487
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:33:27+00:00 2026-06-12T08:33:27+00:00

I previously asked this question in the Delphi XE2 timeframe, and the answer then

  • 0

I previously asked this question in the Delphi XE2 timeframe, and the answer then was a pretty ugly hack.

Now Delphi XE3 supports non-client theming, according to the official release notes. How do you do it in Delphi XE3 in Firemonkey FM2?

I believe it must be something to do with the style-book, but I can’t figure it out. The form itself has an “EnableBorderStyling” property which I set to true, and I am thinking I must have to load a style that contains some nonclient theme data, but I can’t find a style that includes it.

The help has nothing about this subject.

Update2 Okay, it’s not broken, it’s just that I don’t have a style that contains this style element (as RRUZ says).

procedure TForm1.FormShow(Sender: TObject);
begin
  StyleBook := StyleBook1;
  WindowBorder.UpdateStyle;
end;

Update3: Style files appear to be in two different locations, which is confusing:

  C:\Program Files (x86)\Embarcadero\RAD Studio\10.0\Redist\styles\Fmx        
  C:\Users\Public\Documents\RAD Studio\10.0\Styles

Note that I don’t have a Luna.Style (firemonkey style) in either spot, however 5 seconds with the Style Editor tool. (Open, and Save as, and change type to .Style, and I had one!)

Update4: RRUZ’s answer works, but on my system (Windows 8 RTM) the non-client styles don’t look right, they have white corners around the areas of the
on’t fully paint . Resizing the window makes it go away, and I’m pretety sure I should be able to force a WM_NCREPAINT or something, and make it go away.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T08:33:28+00:00Added an answer on June 12, 2026 at 8:33 am

    To Style the non client area of a Firemonkey application the selected style must have a windowborderstyle element defined (as is show in the picture)

    enter image description here

    From the styles included with delphi try the Luna.Style

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have previously asked this question and since I already accepted an answer, I
This question was previously asked in scala-user mailing-list without a confirmed answer. scala> val
I know this question was asked previously and the reply was to override onPrepareContextMenu()/onCreateContextMenu().
This is an extension of a question I previously asked here . Long story
This is related to a question I've asked previously: Calling Javascript function after loading
So I've previously asked this question: How do I point a socket to the
So, I previously asked this question: Can someone help me compare using F# over
Previously I asked this question: Read quicktime movie from servlet in a webpage? Basically
I found this question asked previously but it contained bad examples and no true
This question builds off of a previously asked question: Pass by reference multidimensional array

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.