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

painting background from TSeStyleFont

i'm trying to paint vcl style background from TSeStyleFont like in Bitmap Style Designer .. is there any way to draw the background ? i have make a try : - draw the object first in a bitmap using DrawElement . - than copy current bitmap to a…
S.MAHDI
  • 1,022
  • 8
  • 15
1
vote
0 answers

VCL Styles with rounded corners

Some VCL Styles (Delphi XE2) has rounded corners. How can I change one style for example Metro Blue (not rounded) to rounded ?
lmir
  • 31
  • 1
1
vote
1 answer

Disable a style in VCL application

I am adding the a VCL style into my application but am also giving the users an option to turn this off but I cannot figure out how to do this globally at runtime. Setting "TStyleManager.AutoDiscoverStyleResources := false" almost works but it pops…
Martin
  • 815
  • 8
  • 21
1
vote
1 answer

Delphi XE2 VCL styles, How to disable VCL styles on TBitBtn?

I am using the new VCL styles system in Delphi XE2 and its work fine but on one Form I want exception. This Form contains number of TBitBtn control and each TBitBtn control has its own Font colour (clRed, clBlue, clLime etc) different from…
1
vote
2 answers

Delphi: Vcl Styles & Drag-n-Drop

I'm a Delphi-programmer and I have a question. I create a form with TStyleManager and I use skins on my application. But I want to use Drag-n-Drop files in my app too. How I can realize this? I have tried many methods, but ... I could not get to do…
Alik Send
  • 115
  • 1
  • 8
1
vote
1 answer

Set variable Style on create / show form in Delphi XE2

I'm trying to create a form with a user selected style saved to an ini file (JvFormStorage and JVIniFileStorage). The problem I have is if I put my code in the OnCreate it doesn't work, In the OnShow works but I get the error: "Cannot change…
Paul Heinrich
  • 647
  • 1
  • 7
  • 15
0
votes
2 answers

Hide TMainMenu via TMenuItem OnClick event, with Custom VCL Style active

Put TMainMenu on the form and attach this handler to some TMenuItem. It will hide the main menu, but not if Custom Vcl Style is active. procedure TForm1.HideMenuClick(Sender: TObject); begin Menu := nil; { raised exception class $C0000005 with…
A. Bonic
  • 107
  • 8
0
votes
1 answer

Missing buttons in Opendialog with Styles

I'm getting OpenDialog failing to show the images on buttons if using VCL.Styles and VCL.themes. I have downloaded VCL.Styles.Utils but cannot see how to fix the issue. This picture shows the problem (circles where Opendialog offers Up one folder…
Mike Scott
  • 169
  • 2
  • 8
0
votes
0 answers

How to use FocusEffect color in VCL Styles

FocusEffect is displayed as a color in the bitmap style designer however it is not defined in TStyleColor. I can see from the source that FocusEffect relates to TseStyleColor.ktcFocusEffect and should be able to fetch it with…
Richard Shuck
  • 113
  • 1
  • 10
0
votes
2 answers

Delphi styled VCL TTrackBar: hide focus dotted rectangle while tracking

How can I hide the focus around a VCL TTrackBar when selected/while tracking, while using a VCL style? Using Delphi 11.1 This didn't work: SendMessage(tb1.Handle, WM_UPDATEUISTATE, UIS_SET OR UISF_HIDEFOCUS, 0);
hikari
  • 3,393
  • 1
  • 33
  • 72
0
votes
1 answer

Loading VCL-Styles from Reources

Does anyone have experience with using resource for styles. I'm working on a program for which we created a custom Style. We saved it as .style and as .vsf. Because we don't want the user to see/change the style of the programm we want to include it…
0
votes
0 answers

VCL style affects non-VCL window

I have a problem with VCL styles in Embarcadero C++ Berlin 10.1. I have an application written in BCB C++ and it calls pspiHost.dll (written in VS 2017), that executes Photoshop 8bf plugin filters…
S. Petrić
  • 80
  • 10
0
votes
0 answers

Dynamically showing and hiding main menu doesn't immediately apply

My Delphi application initially starts by showing the main form, but with a user login panel only. I hide the main menu, so that the unauthenticated user is not able to access it. Upon user login, I dynamically assign the menu by setting Form.Menu…
Jerry Dodge
  • 26,858
  • 31
  • 155
  • 327
0
votes
1 answer

Delphi VCL styles problem with TListview EditCaption and HideSelection

I'm using Delphi 10.3 in a VCL app with a Dark VCL style (default Windows10 Dark for example). I have two problems with VCL styling in TListview When editing an item in TListview, the listview's edit is not styled: it has a white background with…
Gerrit Beuze
  • 903
  • 2
  • 10
  • 26
0
votes
1 answer

How to change buttons font color with vcl styles?

I'm styling a form changing the font color of a TSpeedButton, but my application uses VCL Styles and that overrides the color I set on design time. Has anyone experienced this and know any way to achieve it? Change the component is not a problem,…
Carlos M
  • 43
  • 7