Skip to main content

Questions tagged [vcl]

This tag is used for questions regarding the Visual Component Library used in Borland/CodeGear/Embarcadero Delphi and C++Builder products as well as Python GUI apps. Do not confuse this with the Varnish Configuration Language (VCL). Use the "varnish-vcl" tag for questions related to that product.

1 vote
0 answers
91 views

VCL : How can I know what color is the border of a control?

I would like the cells of the first row of a StringGrid to have the same border as the outside of the StringGrid. But I can't find any property giving me the color used to draw the border. How am I ...
John John's user avatar
2 votes
1 answer
171 views

How to convert a form to a frame?

I have a form which should have been a frame. I've tried to convert it to a frame, but it seems to stay a form no matter what I do. I've compared the DFM and PAS of a form with a frame and replaced ...
JakesF's user avatar
  • 165
1 vote
1 answer
75 views

How to organize a search in the text and highlight the found elements in TRichEdit in C++Builder?

I have a problem. It is necessary to organize a search in the text and highlight the found elements. I can't figure out why the problem is that the branch "comes off" or something like that. ...
Maxim Drobot's user avatar
1 vote
0 answers
153 views

How can I create flashlight cursor effect in Delphi?

For example this screenshot belongs to Daemon Tools (which is programmed in C#): As you can see in this screenshot, I want to create flashlight effect which follows cursor. How can I do this in ...
Çağatay KAYA's user avatar
0 votes
2 answers
180 views

How can I pin my app to the Windows Taskbar using Delphi code?

I'm writing an app where I'd like to provide users with the option to pin it to the Windows Taskbar programmatically. Is there a way to achieve this? I've searched online, but the information seems to ...
Martin Kakhuis's user avatar
1 vote
1 answer
88 views

How do I convert an image from PNG to BMP in Delphi VCL?

When I convert PNG picture to BMP picture via the routine below, then the colors are not the same in BMP as they are in the original PNG. procedure TForm1.Button4Click(Sender: TObject); var R: TRect;...
user14668421's user avatar
0 votes
1 answer
53 views

C++ Builder TOpenDialog - How to increase the limit on the number of selected files?

I am running into a problem where the number of files that can be opened in the dialog is limited to about 600. When selecting more than this number, the edit box at the bottom of the dialog becomes ...
Sheepy's user avatar
  • 1
1 vote
1 answer
71 views

Delphi PasswordChar fires OnExit / OnEnter but only on Panels

I have a Delphi 12.1 VCL app with a password edit field (TEdit with PasswordChar set to *) I added a "show password" TSpeedButton, but when the password input has focus and I toggle the ...
Re0sless's user avatar
  • 10.8k
1 vote
1 answer
68 views

TFiremonkeyContainer won't respond to Mouse Events

I am using the Firemonkey Container control (https://github.com/vintagedave/firemonkey-container) so I can make a VCL application but have some FMX elements. I ran into a problem though where by I can'...
Craig's user avatar
  • 1,914
1 vote
1 answer
72 views

TSkLabel does not use theme colors for text

I'm working on a utility program for IT and one of the users really wants dark mode so I thought I would include that ability. I'm using a TSkLabel for information display and when I switch to "...
Koot33's user avatar
  • 366
2 votes
2 answers
131 views

How to make a VCL control have a fixed margin to another control?

In my form, there are two labels, the first label (Label1) is set to AutoSize=true, and its Caption may change from time to time. The second label (Label2) should have a margin 20px from Label1, even ...
alancc's user avatar
  • 571
1 vote
1 answer
84 views

Getting the titlebar color and text color of a themed Delphi form

I have a Delphi 12 themed application. Theme is selected under options to (for example) "Iceberg CLassico". At runtime I would like to query what the themed UI titlebar color and titlebar ...
Some1Else's user avatar
  • 775
-3 votes
3 answers
223 views

How can I change the background color for TCheckBox in VCL?

I'm trying to change the background color of the TCheckBox in VCL through the Color property, but it's just not working for me. I don't have any styles enabled. I've also tried playing with the ...
Shaun Roselt's user avatar
  • 3,047
1 vote
0 answers
33 views

How to notify associated custom controls for property changes?

I created a set of custom controls like a label, an edit, a button, etc. for the VCL using C++ Builder 11.2. I also made a component which has some color and font properties and acts like a stylesheet....
Michael's user avatar
  • 102
0 votes
1 answer
88 views

How to close a C++ VCL form and open another one on a button click?

I'm having trouble closing Form1 and opening Form3 through a button click. I have tried this code: #include "Welcome.h" #include "Login.h" void __fastcall TForm1::LoginButtonClick(...
Angelina's user avatar

15 30 50 per page
1
2 3 4 5
110