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
7
votes
1 answer

Styling only one VCL component in Delphi

I know, that it's possible to disable custom styling for components, but how can I enable styles for only one component class? For example leave the whole form and all components on it unskinned, and skin only TButton. Like on this image.
Zelenov
  • 953
  • 1
  • 9
  • 15
7
votes
3 answers

Delphi XE2, how to keep form ON TOP after changing VCL styles

I encountered a weird issue with XE2: I'm using HWND_TOPMOST with SetWindowPos to set my form on top, but if I switch VCL styles at runtime, the window isn't topmost anymore, and unsetting/re-setting it doesn't fix it either. Any way to fix this?
hikari
  • 3,393
  • 1
  • 33
  • 72
6
votes
1 answer

How to Create a Vcl-Theme-Style for my own Component?

I use the BitmapStyleDesigner.exe (shipped with delphi xe5) to edit vcl styles to my application. How can i add a custom component to the styler palette? i want my TMyButton, which inherits TButton, have a different color, shape, etc than the…
linluk
  • 1,650
  • 16
  • 33
6
votes
1 answer

Delphi XE2, vcl styles recreating window handle

After applying a new style at runtime the MainForm of my application creates a new window handle – is there any way to stop this or reassign the Handle as I a getting a tonne of the following error: 'System Error. Code: 1400. Invalid window…
Elissa
  • 163
  • 8
6
votes
1 answer

How do i apply to VCLStyle for TLinkLabel

I tried to apply VCLStyle for TLinkLabel. Sadly, I can not display underline(sentece of A Tag) TLinkLabel.Caption := 'Smaple'; How do I solved this ? To solve this problem, but a tag is not appeared likely this "Sample" procedure…
JH Jang
  • 157
  • 3
  • 12
6
votes
1 answer

DevExpress ExpressSkins or VCL Styles?

I am working on a big legacy application written in Delphi. Most of the components are VCL and DevExpress QuantumGrid components. I would need to update the UI to support various styles and a more modern look and feel. Originally I was planning to…
RM.
  • 1,984
  • 19
  • 29
5
votes
1 answer

VCL-Styles menu hotkey inconsistency

I've noticed that when VCL-Styles is enabled, items in menu will be selected with hotkeys even without Alt-key is pressed. This interferes with the rest of my user interface and I find it very strange that a styles library change the behavior of…
Ville Krumlinde
  • 7,021
  • 1
  • 33
  • 41
5
votes
1 answer

How can I get the Style Name of a vsf file (VCL Style file)?

I have an application written in delphi-xe2, now i'm adding VCL styles support, So i want to build a menu to choose the vcl style file to load and apply, this part is working fine , the menu is build in runtime based in the content of a folder…
Salvador
  • 16,132
  • 33
  • 143
  • 245
5
votes
2 answers

How can I apply Delphi XE2 skins to forms in a DLL?

Using Delphi XE2, you have the option to embed custom styles (skins) to a VCL project. Everything works fine. Now I have some forms into a separated dll that I show dynamically. Of course those are not skinned. How can I rectify that? I guess I…
Lobuno
  • 1,405
  • 1
  • 18
  • 28
5
votes
0 answers

Delphi 64-Bit Code Hook Possible for Runtime VCL Style AV?

It appears as though there may not be a user solution without a Delphi Tokyo fix, but it seems worth asking. The simplest way to make this AV reproducible. Start a new VCL project. Change Platform to 64-Bit. Link with Runtime Packages. Set Style…
DelphiGuy
  • 211
  • 2
  • 11
5
votes
3 answers

Resize Form even if it is borderless - Remove bevel edge

Using the following code to make a borderless form resizable works great: type TForm1 = class(TForm) protected procedure CreateParams(var Params: TCreateParams); override; end; procedure TForm1.CreateParams(var Params: TCreateParams); begin …
Marcoscdoni
  • 955
  • 2
  • 11
  • 31
5
votes
0 answers

How to force a delphi form to be in foreground in windows 10 tablet mode

This is the setting: I have two views that are implemented within two different vcl forms. To one of those I applied a style to make it look like a touch optimized metro app. Those forms can be switched according to an application's setting. (show…
Florian Grummel
  • 332
  • 3
  • 14
5
votes
1 answer

TreeView's ScrollBar Not Accept VCL theme when mirroring

TTreeView's ScrollBar does not accept VCL themes when mirroring the Treeview by this code: procedure SetWinControlBiDi(Control: TWinControl); const WS_EX_NOINHERITLAYOUT = $00100000; WS_EX_LAYOUTRTL = $00400000; var ExStyle: Longint; begin …
smartiz
  • 151
  • 7
5
votes
1 answer

Caption of PngBitBtn does not appear when runtime themes are enabled

I made simple project with one PngBitBtn and then compiled it with following configuration: runtime themes are disabled Debug mode - OK Release mode - OK runtime themes are enabled Debug mode - OK Release mode - there is no caption on…
Tim
  • 65
  • 3
5
votes
1 answer

VCL component Opacity/transparence

Is it possible to make e.g 20% transparent TMemo or other vcl component? like TButton or TEdit? While googling for solution I've found this: From Here, then I thought, if I draw image on form (OnPaint) then set AlphaBlend ON, I could achieve this…
user2200585
  • 283
  • 5
  • 15
1 2
3
14 15