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.

Visual Component Library is a visual component-based object-oriented framework tightly integrated with Delphi and C++Builder. It's also available for Python as a GUI framework.

VCL components cover visual and non-visual components like:

  • Windows common controls
  • Database access components
  • Internet connection components

The component approach allows programmers to extend easily the VCL.

Resources:

1590 questions
0
votes
2 answers

Builder C++ Delete all sub node in TreeNode

How to delete all sub node in the some treenode? TTreeNode* ParentNode = TreeView->Selected; int countNode = ParentNode->Count; for(int p=0; pItem[p]->Delete(); } this code dosn't work!
user4054093
0
votes
1 answer

Embed Delphi window in another Delphi application

I have a frame in a Delphi 2007 application that I want to embed on a form in a Delphi 2010 application. I have control over both applications, so the interface between them can be anything both versions support. There will have to be some…
Zoë Peterson
  • 13,094
  • 2
  • 44
  • 64
0
votes
1 answer

Delphi TRibbon ToolTip for buttons

I am trying to add a ToolTip (or hint as Delphi refers to it) to the buttons on the ribbon. I am using the TRibbon that comes with Delphi XE7. I am developing in the VCL framework. I did find a Hint property in the Action that is linked to the…
Christo
  • 411
  • 7
  • 27
0
votes
2 answers

How to link controls, Mind Mapping style

I am trying to create a Mind Mapping look for an application I'm working on, where I need to link boxes with lines or arrows. This is what I have so far: And this is what I would like to achieve: I can move and resize the boxes around, but after…
Eric Fortier
  • 760
  • 1
  • 7
  • 16
0
votes
1 answer

How to set an image for a subitem in a listview in a runtime?

The question is similar to existing one for .NET and C# but I think in Borland C++ should be another way to do this. In the edit time I can easily set image for subitem in listview as well as for item (in Object Inspector's special Items editor).…
mli
  • 420
  • 1
  • 4
  • 10
0
votes
1 answer

VCL Components Delphi

What VCL component shows data faster? For example, if I want to read a file and write it to the data in tabular form. Something like TStringGrid or TListView. Thanks.
0
votes
0 answers

How do I test whether there's a file-syncing program running?

Does anyone know how to test in Delphi/VCL to see if Dropbox (or similar cloud syncing tools such as Google Drive, MS One-Drive, etc.) are: running on a client computer, and whether they are set to synchronize a particular folder/directory? I am…
CHEAPS
  • 179
  • 3
  • 13
0
votes
0 answers

How to control/remove borders of embedded chm help file in delphi windows/vcl application?

I've got a Delphi Windows/VCL (XE7) program that embeds CHM help pages in various panels of the program. This largely works fine but the panels always shows an ugly recessed border (looks very windows 95). Here is a screenshot: Does anyone know…
CHEAPS
  • 179
  • 3
  • 13
0
votes
1 answer

Delphi - delay/freeze on form show when using GestureManager XE3 + TMS components

I'm facing really unfamiliar situation with unknown cause for delay in application run, since it's the first time I use Gestures and GestureManager. (VCL type application) It seems that, when I apply TGestureManager to the Touch.GestureManager…
That Marc
  • 1,134
  • 3
  • 19
  • 42
0
votes
1 answer

How to change the color of TStringGrid grid-lines?

I've just finished migrating from D7 to XE2 and I've noticed that the default grid-lines are extremely faint (it doesn't help that I like to set the contrast on my monitor to high), as you can see in the screenshot below: This was my attempt to…
DBedrenko
  • 4,871
  • 4
  • 38
  • 73
0
votes
1 answer

EInvalidOperation (no parent window) when creating a TFrame in a unit-testing (and therefore console) application

Now, I'm writing a unit test for a TFrame-derrived class... In my Setup method, I got the following code: procedure TestFixtureClass.Setup; begin FTestContainer := TContainer.Create; FTestContainer.RegisterType
Markus
  • 357
  • 2
  • 13
0
votes
0 answers

Draw Child Control beyond Parent boundaries?

I' making a custom inplace editor for a dbGridEH descendant which will show instead of the regular inplace editor. The inplace editor is larger in size than a cell. If it shows over the last cell in a row its right part gets clipped. I'd like to…
AunAun
  • 1,423
  • 2
  • 14
  • 25
0
votes
2 answers

Delphi XE7 TBitBtn Image wrong Displayed at run time

I have a project developed with Delphi 7 and VCL, that compiles and works with the new Delphi XE7 without any modification, the only issue that I'm experiencing is that the Glyph image of the TBitBtn is wrong displayed(as you can see the color and…
aleroot
  • 71,077
  • 30
  • 176
  • 213
0
votes
1 answer

Advancing control focus in a VCL TFrame

I have a TFrame on which some TEdits are placed. These edits are boxes for serial key input, as I'm trying to setup a user experience where input focus jumps from one edit box to the next, when a certain amount of characters been entered in each.…
Totte Karlsson
  • 1,261
  • 1
  • 20
  • 55
0
votes
1 answer

TIcon only loads one image from the icon file

I have an icon file that contains a 24x24, 32x32, 48x48, 64x64, and 256x256 icon. However, when I load it like this: Application->Icon->LoadFromFile("filename.ico"); it appears to only load the one image from the file, despite the fact that my icon…
M.M
  • 138,810
  • 21
  • 208
  • 365