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
0
votes
0 answers

Styling an TCustomControl descendant results in gray background labels

In a following control I use TLabel as up and down buttons. When I choose "Cobalt XEMedia" as a default project style, these labels are drawn with a gray background. "Windows", "Cobalt XEMedia" and "Obsidian": Please help to draw the label…
Paul
  • 25,812
  • 38
  • 124
  • 247
0
votes
1 answer

Set font color for disabled control with VCLStyles?

When using a darker style in a Delphi application, it is very difficult to see disabled text, which is set to dark gray, and I can no way of setting this to a more usable color. I can set it in the Style Editor, but it is not used when the…
mmmm
  • 2,431
  • 2
  • 35
  • 56
0
votes
1 answer

Where can I find the Delphi unit Vcl.SysStyles for Delphi XE4?

I'm using Delphi XE4 with the latest code for vcl-styles-utils at https://github.com/RRUZ/vcl-styles-utils. I can not compile my app and getting the following error: [dcc32 Fatal Error] Vcl.Styles.Utils.ScreenTips.pas(57): F1026 File not found:…
Thomas Jaeger
  • 923
  • 1
  • 9
  • 27
0
votes
0 answers

How to paint all VCL Styles tab sheet controls to a given canvas when the tab is not visible to the user?

Using C++ Builder 10.2, VCL & VCL Styles... I have a TPageControl that has TFrames on each of its TTabsheets. One of these frames contains some TEdit controls that show data read from a device. After the reading is acquired and the frame is updated,…
outerlimits
  • 76
  • 1
  • 5
0
votes
0 answers

How to create a style for an unstyled control

I'm currently messing arround with Embarcadero's Bitmap Style Designer on Delphi 10 Seattle. As far as I know, you can mess arround with the objects that Embarcadero gives you, but when it comes to the yet unstyled parts of the control nothing can…
0
votes
0 answers

Troubles using the styles

I'm using Delphi Berlin, when I use the styles in an application, I see two problems. The overwrite prompt in the TSaveDialog component is not showed correctly. And the chm help window doesn't show correctly the toolbox on the left…
Fabrizio
  • 21
  • 1
  • 2
0
votes
0 answers

Extract icon from VCL style and use as menu icon, not working for all styles

I need to replace a main menu icon (specifically, the help icon) with an icon from the current VCL style being used (our application shows this icon on the right hand side of the menu-bar, and it looks odd to use an icon that is pulled from a…
mmmm
  • 2,431
  • 2
  • 35
  • 56
0
votes
1 answer

Ownerdraw VCL grids not picking expected selected colour for VCL Style

Our product uses an owner-draw grid (TStringGrid) - where we are drawing all off the grid. I am trying to make this respect the VCL style that is used by the application. Most of this works, but when i try and get the selected colour for the grid,…
mmmm
  • 2,431
  • 2
  • 35
  • 56
0
votes
1 answer

Easiest way to show differently styled buttons

I want to modernize an old VCL application based on a design template. That design template contains different button styles. Let's say there are three types of buttons: LightButton, DarkButton and GreenButton. Since more than 50% of all buttons…
Wosi
  • 41,986
  • 17
  • 75
  • 82
0
votes
0 answers

HTMLHelp in Automation Server

I have an application that utilizes a VCL Style and have found that CHM help files do not get styled correctly (among other issues). As a workaround, I created a COM automation server that does not utilize VCL styles and my styled application client…
TomT
  • 199
  • 1
  • 1
  • 11
0
votes
0 answers

Delphi XE7 TdateTimePicker missing weekdays on Windows 10 when style other than Windows

What can cause this weird behaviour? Calendar does not show Monday and Sunday when style is other than Windows. Delphi XE7 + Windows 10 (polish version tested).
Jacek U
  • 53
  • 9
0
votes
1 answer

Prevent Cursor Change When Resizing & Delphi Styles Used

I have a sizeable form that can be resized horizontally but not vertically (I have set constraints.minwidth to the initial width of the form. I want to keep the cursor from changing to the resize cursor when the cursor is over the left of right…
TomT
  • 199
  • 1
  • 1
  • 11
0
votes
1 answer

TListView scrolling bug when using VCL Styles - Delphi XE8

I've tried to set TListView control's direction to RTL by following function: procedure RTL_LV(lv:TListView); const LVM_FIRST = $1000; LVM_GETHEADER = LVM_FIRST + 31; var header: THandle; begin header:= SendMessage (lv.Handle, LVM_GETHEADER,…
smartiz
  • 151
  • 7
0
votes
1 answer

How to apply different style sheets to VCL buttons in Delphi XE8

I have two VCL buttons in a Delphi application. But I want both buttons to have different VCL styles sheets. How can I apply different Delphi VCL style sheets to the buttons?
user3271221
  • 11
  • 1
  • 1
  • 2
0
votes
1 answer

Delphi Style issue TDBGrid Vertical Scroll choppy when scrolling

I'm using Delphi XE5 with a Style applied. When using a DBGrid that has enough records to show the vertical scroll bar, clicking and dragging the scroll bar results in a choppy animation. The grid keeps repainting/updating. If I set the…
Dangas56
  • 849
  • 1
  • 8
  • 32