2

on some button click i am setting the Caption of form to a filename like this:

var
FileName: String;
....

procedure TForm1.Button1Click(Sender: TObjecT);
begin
  Caption:= FileName;
end;

I am using FMXStyle Coral Dark.

This is the Image: The System Bar

Bogdan Doicin
  • 2,342
  • 5
  • 25
  • 34
Andrew
  • 21
  • 2
  • I assume you are running on Windows, right? Does it stay like that for the rest of the run time? Also if you minimize - restore the window? – Tom Brunberg Jun 16 '19 at 10:30
  • @TomBrunberg Yes i am running it on windows. and This is not permanent. it get normal when i click on the SystemBar. But why it's getting this blue background in the caption of the main form ? – Andrew Jun 16 '19 at 10:44
  • I don't seem to have "Coral Dark" with my XE7. Do you see the same effect with some other styles, like `Dark.Style`, `Blend.Style`, `Carbon.Style` or ..? – Tom Brunberg Jun 16 '19 at 10:59
  • @TomBrunberg Literally with every style. With Jet one too. – Andrew Jun 16 '19 at 11:01
  • the blue background vanishes when i hover the mouse on minimize button. – Andrew Jun 16 '19 at 11:03
  • I just realized, that the window frame is not styled in XE7 with any of the available styles. Thus, hard to investigate. Hopefully somebody else can chime in. – Tom Brunberg Jun 16 '19 at 11:05

0 Answers0