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
0 answers

Delphi: How to install/enable Data Access Controls (Xmlxform)?

in the my delphi xe5 haven't the palette Data Access Controls, I need the components Xmlxform.TXMLTransform, Xmlxform.TXMLTransformClient,...etc. I'm tried install a package with the unit corresponding 'Xmlxform.pas' and after build but don't…
Artur_Indio
  • 736
  • 18
  • 35
0
votes
1 answer

How do I implement a design time property editor for an ADO connection string?

I'm writing a VCL component that needs to connect to a database and perform operations there. To support this, I've added a string property for an ADO connection string: private pconnectionstring : string; published property ConnectionString :…
Tracer
  • 2,544
  • 2
  • 23
  • 58
0
votes
1 answer

Serving /home cache to main-domain with Varnish

My app is structured in a way that when you access www.example.com you are redirected to www.example.com/home. So, that means I have nothing on the main domain only a file redirecting the user to /home. What I realize is that Varnish is caching…
0
votes
3 answers

How do I hide an inherited __published property in the derived class in a VCL component?

I have created a new VCL component based on an existing VCL component. What I want to do now is set the Password and Username properties from an ini file instead of the property inspector. Robert Dunn Link I read on the delphi forum above you cannot…
Gary Benade
  • 507
  • 4
  • 16
0
votes
1 answer

TableView not updating while pasting a row in Delphi XE4 and Devexpress VCL 13.1.2

Following is the code snippet on which I am working: var myTableView: TcxGridDBBandedTableView rowcount : integer; ..... ..... procedure ExecutePaste; begin .... .... .... .... rowcount := myTableView.DataController.RowCount;…
user1556433
0
votes
1 answer

Application.DispatcherUnhandledException in VCL

In WPF(.net) I can use the following code to handle unexpected exceptions and exit my programm properly. private void Application_Startup(object sender, StartupEventArgs e) { this.DispatcherUnhandledException +=…
Knerd
  • 1,892
  • 3
  • 28
  • 55
0
votes
1 answer

Distribute keypresses between parent form and child control

Sometimes a keystroke on a form can have different recipents, depending on the state of the application. See the following sample: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, …
Uli Gerhardt
  • 13,748
  • 1
  • 45
  • 83
0
votes
1 answer

Ribbon hidden actions appear again

I am using Delphi XE2 . In the main window of my program I have a ribbon, I created the ribbontabs and ribbon panels and have shares in the groups. Also, in another window I have a TreeView in which I set the access for each user to the ribbon ,…
jmontegrosso
  • 89
  • 1
  • 11
0
votes
0 answers

TTreeView makes IHM freezed when is expanded

I have an application written in DELPHI 5, recently we decided to migrate to the latest version of DELPHI (DELPHI XE6). with some adaptation and modification we succusfully compiled and run the Application. However we are using a TTrevview…
Nabil
  • 41
  • 3
  • 10
0
votes
2 answers

how to set the tabwidth of the listbox portion of a TComboBox in Delphi

You can easily achieve a multicolumn effect in a listbox by setting the TabWidth property of TListbox. For example, http://delphi.about.com/cs/adptips2000/a/bltip1200_3.htm I need to do the same in the drop down list of a ComboBox, but comboboxes…
PA.
  • 28,486
  • 9
  • 71
  • 95
0
votes
2 answers

Delphi TSpeedButton Glyph Transparency

I'm currently working with a component called TdsTaskBar, which intends to work like the TaskBar in windows, which means all opened windows (but now inside my application) are listed as buttons on the bottom of my application-window. This buttons…
Florian Koch
  • 1,372
  • 1
  • 30
  • 49
0
votes
0 answers

Anyone know how to make TTabControl have an appearance more TTabSet alike?

I know that TTabSet is for 16-bit backward compatibility, yada-yada-yada. But I really like its appearance; is there a way to make TTabControl look more like it?
Fabricio Araujo
  • 3,810
  • 3
  • 28
  • 43
0
votes
2 answers

VCL - drawing a room

I am still trying to draw a floorplan (in BCB 6). I already asked a few questions. As a result of Seeking floorplan design VCL toolbar I bought the TMC components. Looking for non-rectangular panel VCL component got me close, but not quite…
Mawg says reinstate Monica
  • 38,334
  • 103
  • 306
  • 551
0
votes
1 answer

TeeChart Pro 2014 for delphi 2007 Trend with barseries

I'm using a TDBChart to display 3 barseries of the data. Can you point me to a good example of adding a trend line to each barseries? The example that comes with TeeChart download is not at all helpful. Thanks
0
votes
0 answers

How to prevent keyboard input without Enter from changing TComboBox selection in Delphi?

A TComboBox behaves differently for mouse and keyboard input. If an item is highlighted using the mouse, it only becomes selected when clicked. However, when highlighted using the keyboard, using the arrow keys or by entering the first letter of the…
Thijs van Dien
  • 6,516
  • 1
  • 29
  • 48