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

How to Draw Vertical Centered Content on DBGrid

Edited: I want to draw a vertical centered TIcon graphic and Text on a TJvDBGrid (Project's Jedi descendant of TDBGrid). I tried to disable the DefaultDrawing method of JvDBGrid and override it, but I only could fill the cells with black (I think…
Mathias Berwig
  • 488
  • 5
  • 13
0
votes
2 answers

Delphi XE6 issue with styled menus and madExcept

I've faced a really odd behavior of Delphi VCL Styles. With VCL styles enabled, and when madExcept has the "instantly crash on buffer overrun" option activated, the menus become non-styled. Turning this option off, or switching it to "instantly…
djsoft
  • 1,051
  • 8
  • 19
0
votes
1 answer

Dock a Custom VCLStyle Delphi-XE2 application in AvalonDock

I've an C# application with Avalondock. In this application I can dock "Third Party" applications like notepad and windows calculator. In this dock the application window is displayed without the titlebar, just as I want it to be. I've also an…
Thijs
  • 1
  • 1
0
votes
1 answer

Delphi XE5: DBEdit background color not working if Field is numeric and application has not default style

I'm not able to change DBEdit background color at runtime. If DbEdit styleElements are enabled ([seFont,seClient,seBorder]) DBEditName.Color:=clRed (for example) not working at all. Instead if styleElements=[] DBEditName.Color:=clRed changes only…
user1709805
  • 2,028
  • 3
  • 19
  • 26
0
votes
1 answer

Delphi XE3. TStyleManager.SetStyle works for all forms in application. How set style only on 1 form?

I need a form for testing Styles. And go apllying each style only in that form. But the TStyleManager.SetStyle applies to all forms in application. How can I do for apply style only in current form? procedure TForm1.FormCreate(Sender: TObject); …
user3017774
  • 11
  • 1
  • 1
0
votes
1 answer

Delphi XE2 VCL styles - scrollbars painting

I have a problem with the text editors in Delphi XE2 when a VCL style is applied. If I have 2 TMemo controls (Memo1 and Memo2) placed on a form and Memo1 is partially behind Memo2, then the scollbars of Memo1 are painted over Memo2. I tried to…
daniel
  • 3
  • 3
0
votes
1 answer

Changing the VCL Style at runtime leads to memory leak

After reading this question, I tried to let the end user change my application's style at runtime. This has lead to a very long list of memory leaks with content like this: A memory block has been leaked. The size is: 12 This block was allocated by…
iMan Biglari
  • 4,674
  • 1
  • 38
  • 83
0
votes
2 answers

There is a TCustomStyleServices in Delphi 7?

In order to override TPanel's Paint procedure to make the background color clwhite in delphi 7, I am following @RRUZ Answer, but I can't find the TCustomStyleServices class. There is an alternative to do what I want? I'm using XPMan resource (IDK…
EProgrammerNotFound
  • 2,403
  • 4
  • 28
  • 59
-1
votes
1 answer

Triger Embarcadero 10.2.3 Erreur ilink32

i have a problem during the compilation. "[ilink32 Erreur] Fatal: Impossible d'ouvrir le fichier 'VCL.THEMEDACTNCTRLS.OBJ'" Error impossible to open this file "vcl.themedactnctrls.obj" I have look one the include file. The .cbproj and other. I have…
Barth.M
  • 129
  • 1
  • 1
  • 7
-1
votes
1 answer

How to unregister style using TStyleManager::UnRegisterStyle()

I want to unregister a specific style using this code: void __fastcall TfrmMain::btnUnregStyleClick(TObject *Sender) { TCustomStyleServices *MyStyle; // Get wanted style MyStyle = TStyleManager::Style["Emerald"]; // this will return…
Gabriel
  • 20,797
  • 27
  • 159
  • 293
-1
votes
1 answer

use VCL Styles get TStylemanager not found

I migrate a very big VCL Application from Delphi 7 to XE and now to Seattle. Now I want to use VCL Styles, I go in Project Options and enable one but I get always the compilation error that the ''TStyleManager'' class is not defined. But why?
Sebastian
  • 952
  • 1
  • 14
  • 41
-1
votes
1 answer

Use VCL Styles From Delphi XE7 to Delphi XE2

I have copied all files from C:\Program Files (x86)\Embarcadero\Studio\15.0\Redist\styles\vcl to C:\Program Files (x86)\Embarcadero\RAD Studio\9.0\Redist\styles\vcl In my XE2 IDE, I go to Projects->Options->Application->Appearance and the others…
alycia
  • 59
  • 1
  • 8
-1
votes
1 answer

Left aligned Tabsheets on JvgPageControl Delphi + Vcl Styles Enabled Issue

On Windows default appearance the tabsheet caption are showed in horizontal (left to right 1) and with the VCL styles enabled they are displayed in vertical (down to top[2]). How I can fix this on Delphi XE5? Detail: I'm using the JvgPageControl…
Mathias Berwig
  • 488
  • 5
  • 13
-2
votes
1 answer

How to disable events when runtime Delphi VCL Style changes

I want to use VCL Style's in my application. I have some code in events OnShow, OnResize... When changing styles triggered other form events.(FormShow, FormResize) How to disable events when on change style. For change style i use…
zgn
  • 315
  • 2
  • 11
-2
votes
1 answer

TDateTimePicker looks ugly with VCL Styles Hooks

in the IDE the TDateTimePicker looks quite well, and it has a calendar icon. However, with VCL Style Hooks, there is no icon and the dropdown button looks quite ugly. See the VCL Hooks demo app. In the IDE it looks like: With VCL styles it looks…
BavDev
  • 1
  • 1
1 2 3
14
15