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
5
votes
2 answers

Spreadsheet component which has features nearest to excel

I am looking for a spreadsheet control that has feature set nearest to MS Excel. Currently I am using an ActiveX called FormulaOne but it is a dated control and has features compatible for up to MS Excel 5. The component can be either ActiveX, .NET…
Yogi Yang 007
  • 5,147
  • 10
  • 56
  • 77
5
votes
4 answers

How to detach a panel and show it in a separate window?

Let's say I have form A that contains a panel (with many other controls in it) and a form B that it is empty. Can I programmatically detach the panel from form A and move it in form B (and maybe back to form A)? I know that I can change the Owner…
Gabriel
  • 20,797
  • 27
  • 159
  • 293
5
votes
1 answer

How to auto include files when Delphi VCL design time package is put onto the form

I built a wrapper around the TWebBrowser in Delphi. The wrapper aims at implementing multiple web browsers (edge chromium, chrome etc) into a single wrapper that auto detects which browser to use. After I completed the class I turned said class into…
Matt
  • 151
  • 1
  • 5
5
votes
1 answer

Size of hints in Delphi 10.3 Rio

In general, the multiple-monitor support in Delphi 10.3 works smoothly. However, I have a problem with the size of hints on multiple monitors. To reproduce the problem you need a multiple monitor system, preferably with identical monitors. Create a…
Matej
  • 442
  • 3
  • 9
5
votes
1 answer

How to stop Screen.Cursor affects all controls on the form?

I will try to simplify my problem. If for example you drop 2 TSpeedButton and do: procedure TForm1.SpeedButton1Click(Sender: TObject); begin Screen.Cursor := crHourGlass; SpeedButton2.Cursor := crHandPoint; // note I'm setting other cursor than…
zig
  • 4,524
  • 1
  • 24
  • 68
5
votes
0 answers

How to find out qrcode orientation using ZXing?

I am using the ZXing porting for Delphi from Spelt/ZXing.Delphi using VCL and Delphi Rio I am scanning documentos, actually receipts using a fast fujitsu scanner. It is a huge quantity. The problem is that besides the orientation of the paper ZXing…
Eduardo Elias
  • 1,742
  • 1
  • 22
  • 49
5
votes
0 answers

What I'm missing in using Application.ActivateHint?

I'm trying to use Application.ActivateHint in a button to show it's hint. It's simply not working, no hint is shown in target button. There's no container beyond the form. procedure TForm1.btn2Click(Sender: TObject); var PosScr1: TPoint; …
Fabricio Araujo
  • 3,810
  • 3
  • 28
  • 43
5
votes
2 answers

Make 2 forms able to overlap each other?

I would like to have a seperate form that shows "along" with my main form, so it does not overlap the main form. Here's an example: Notice how the main program, overlaps the log? I can't figure out how to do that in Delphi. Thanks!
Jeff
  • 12,085
  • 12
  • 82
  • 152
5
votes
2 answers

VCLs for Delphi for Android

I have seen a project "Delphi for Android" by lenniedevilliers which inspired me very much. I but there is only a few VCLs in that project (tbutton , tEdit and Tlabel). can anyone give me a hint about including menu bar and progress bar for the…
Vibeeshan Mahadeva
  • 7,147
  • 8
  • 52
  • 102
5
votes
5 answers

How to draw button in title bar like in Google Chrome?

I tried several components from 2000-2001, but none of them works for win7. How do I do it?
JBA
  • 147
  • 2
  • 5
5
votes
3 answers

Does .NET have an equivalent to Delphi's VCL component model?

Pardon the "cast pun" but I am a (long long) time Delphi developer. I have stayed at version 6 for an eternity now because it was everything I needed for development. However, lately I've been thinking of getting into .NET because that seems to be…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
5
votes
5 answers

How do I check if form is Closed?

The only way I see is to add flag for this, but is this the best way? When the form is destroyed and I check if(Assigned(form2)) the result is true? Why? What is the way to do this?
John White
  • 393
  • 2
  • 4
  • 7
5
votes
3 answers

How to do bulk -transformation of form to frame- in Delphi?

I have a form with aprox with 200 visual components on it, with a lot of events assigned, and I need to change it now to a frame.I don't have enough time to copy all the components,re-arrange all the visual components and re-assign all the events,…
RBA
  • 12,337
  • 16
  • 79
  • 126
5
votes
0 answers

(delphi) how to add property to child controls?

In the Delphi IDE, some components in Delphi have the ability to "add" properties to the child controls they contain in the property editor. How can I achieve the same thing with my own TCustomPanel descendant? Some more details: What I want to…
Stephane
  • 3,173
  • 3
  • 29
  • 42
5
votes
2 answers

TToolbar stops displaying button captions after a while

Any idea why TToolbar with TToolButtons would stop displaying button captions after a while? This happens to all toolbars on auto-created forms across the whole application. Toolbars on dynamically created forms work fine even after this problem. I…
mwore
  • 476
  • 5
  • 14