Questions tagged [vcl-styles]

Rad Studio XE2 introduced a feature called VCL Styles. This functionality allows you to apply a skin (theme) to any VCL Forms application. For more information, you can check the official documentation, VCL Styles Overview.

Rad Studio XE2 introduced a feature called VCL Styles. This functionality allows you to apply a skin (theme) to any VCL Forms application. For more information, you can check the official documentation, VCL Styles Overview.

211 questions
5
votes
1 answer

Flat toolbar buttons with Delphi VCL Styles enabled?

Without VCL styles enabled, my TActionToolbar(s) look like flat toolbars. However, if I enable pretty much any VCL style, suddenly all the toolbar buttons look like 3d buttons. The VCL Style Viewer app shows toolbar buttons with both flat and…
Jessica Brown
  • 8,222
  • 7
  • 46
  • 82
5
votes
2 answers

Delphi XE2 VCL styles not drawing TabSheets correctly

I am working on a large delphi application with a tonne of legacy code that is being converted to xe2. I am implementing the vcl styles and for the most part there is no problem. However on some forms, specifically where I have a tpanel, with a page…
Elissa
  • 163
  • 8
5
votes
1 answer

Delphi TSplitter flickering issue

I am using Delphi with VCL styles enabled and I would like to change the color of the TSplitter for my form. I override TSplitter.Paint in an interposer class to paint a darker color than the default VCL styles cBtnFace color, but there is…
spurgeon
  • 1,082
  • 11
  • 34
5
votes
1 answer

TSaveTextFileDialog and Vcl Styles

I'm using the TSaveTextFileDialog component in Delphi XE3, but when a Vcl Style is enabled the encoding combobox is draw using the current vcl style. How i can fix this, I mean disable the vcl style for the combobox?
Salvador
  • 16,132
  • 33
  • 143
  • 245
5
votes
1 answer

Changing font of TActionMainMenuBar when using Vcl styles

Normally one could change the font of a TActionMainMenuBar or TMainMenu like this: Screen.MenuFont.Name := 'Calibri'; When using Vcl styles this isn't possible any more if a StyleHook is registered for the component. I went into the Bitmap Style…
Peter
  • 2,977
  • 1
  • 17
  • 29
5
votes
1 answer

TMainMenu is not shown when the vcl styles is removed from the NC Area

I'm using this code to remove the vcl styles from the non client area of a form. type TFormStyleHookNC= class(TMouseTrackControlStyleHook) protected procedure PaintBackground(Canvas: TCanvas); override; constructor Create(AControl:…
Salvador
  • 16,132
  • 33
  • 143
  • 245
4
votes
2 answers

Delphi XE2 VCL styles, remove a style or disable a class skinning from a TLabel

Using XE2 VCL styles, I'd like to disable the skinning for TLabel (or property sfTextLabelNormal) I've tried all kind of solutions from other questions, like using Engine.UnRegisterStyleHook, but it has no effect.
hikari
  • 3,393
  • 1
  • 33
  • 72
4
votes
1 answer

Delphi XE2: Disabling vcl Style on a component

I am trying to follow the example about to disable the color on a control on my form. TStyleManager.Engine.RegisterStyleHook(ClrMeans.TwwDBComboDLG, TEditStyleHook); But I am getting an exception when either registering or unregistering either a the…
mike
  • 49
  • 1
  • 3
4
votes
1 answer

CHM file not displaying correctly when Delphi VCL style active

My Delphi application includes a help file that the user can call from anywhere in the application (well... that is, for all the parts I've written so far...) It also includes the ability for the user to switch from the regular style to another VCL…
Mathmathou
  • 373
  • 4
  • 15
4
votes
1 answer

How to change color of the scrollbar in SynMemo with VCL styles

there. I changed style of standard objects with VCl-theme. I use Color, Font and Gutter properties to change style of SynMemo. But I don't know, how change style of ScrollBar of SynEdit( apply vcl-theme ). Who can help me ?
VeryBadUser
  • 113
  • 1
  • 8
4
votes
0 answers

Windows Aero Peek showing only title bar when minimized

Using Delphi 10 Seattle on Windows 10, as well as the Windows 10 Dark VCL Style. When the window is in its normal state, hovering over the taskbar icon shows the full window in the thumbnail. However, if I minimize my application, then hovering over…
Jerry Dodge
  • 26,858
  • 31
  • 155
  • 327
4
votes
3 answers

NumbersOnly TEdit Delphi Hint not working

I'm using Delphi Seattle with the theme of Windows 10, creating programs for Windows Desktop. In a TEdit if the active NumbersOnly property, when trying to type words, you see a standard Windows hint. If I leave the program without the theme, the…
Rafael Rossi
  • 88
  • 1
  • 8
4
votes
1 answer

How can I make a TListView header caption centered in a VCL styled application?

I'm having a list view control (ListView here), and I'm filling it by the code like this: var Item: TListItem; Column: TListColumn; begin ListView.ViewStyle := vsReport; Column := ListView.Columns.Add; Column.Width := 200; …
Dauezevy
  • 1,012
  • 4
  • 22
  • 46
4
votes
3 answers

VCL Styles for Inno Setup having problems skinning some downloader page elements

I used VCL Styles for Inno Setup in an attempt to try to skin my installer and ran into a small issue I hope someone might be able to help with. I need to apologize in advance. I have been muddling through these for a while, taking clips of things…
4
votes
1 answer

FastReport 4 and VCL Styles bugs

Some background info. I work at a very small company who has recently upgraded Delphi from version 6 (!!!) to Rad Studio XE5 and things have certainly changed a lot in 10+ years. Most things seems to have been improved in the IDE and framework, but…
Mingo
  • 53
  • 1
  • 6