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

Builder C++ DBExpress clientdataset : insufficient memory for this operation

i have a problem when i try to fill my DBGrid from datasource: my code void MyClass::initializeGridView() { String sqlFilter = SrcQryStringList->Text + QueryStringList->Text; FilterSQLQuery->Close(); FilterSQLQuery->SQL->Clear(); …
user4054093
0
votes
0 answers

Delphi Components Collector for non visual components

I have a Datamodule in my project that containing a large number of TTable and TQuery, I am seeking for way to organize them like as TComponentCollector in old versions of delphi. Is there any way to grouping non visual components like TTable and…
0
votes
1 answer

Getting error 10054 and 10053 when trying to upload to Amazon S3 using MultiPart uploads, with CloudAPI in C++Builder XE5

I've been trying to use the Amazon S3 multipart upload technique without luck, using the CloudAPI functions included in C++Builder XE5. When calling TAmazonStorageService.UploadPart I always get, after a little pause (maybe what it takes to send the…
Rodrigo Gómez
  • 1,079
  • 8
  • 24
0
votes
1 answer

How to cast to TMenuItem in TActions Execute method?

I have a number of related TMenuItems, in a CodeGear C++ VCL application. Each TMenuItem is associated to the same action (TAction). When a MenuItem is clicked, the action fires (its execute method that is). I will need to, somehow, cast the…
Totte Karlsson
  • 1,261
  • 1
  • 20
  • 55
0
votes
1 answer

Tab order in a console app with a single VCL form

I have a Windows console app created with Embarcadero XE 6 (in fact converted from a Borland C++Builder5 project). It has a single form with a few buttons and edit controls. All these controls have set TabStop=True and appropriate TabOrder's.…
dolphin
  • 1,192
  • 10
  • 27
0
votes
2 answers

HTTP/1.1 400 Bad Request Delphi VCL XE6

I have to send by post to a URL string of JSON text, I use a TidHTTP component for sending by post as shown in the code below, but when I hit the submit button I skip this error, I've been searching google to another people that this happens but…
Lluis Bernabeu
  • 83
  • 3
  • 11
0
votes
1 answer

TForm is hiding behind Main window

I have a main Form created with OwlNext that calls a Dialog which is created in vcl. MyOtherFormClass Form2=new Form2(); void MyMainForm::ShowForm2(void) { Form2->ShowDialog(this); } class MyOtherFormClass { [...] TForm *myForm; void…
Julian
  • 493
  • 4
  • 22
0
votes
1 answer

Personalized service printing

Good morning, My problem is that I have a main program that calls a service (created by me, too) that it does is create some files subsequently sent to the print queue in Windows, the problem is when this program is executed by a windows 8 taking…
Lluis Bernabeu
  • 83
  • 3
  • 11
0
votes
1 answer

How I can bind a TClientDataset Object to a TGrid Object in the Runtime?

hey i want to bind a TClientDataset Object to a Grid in Delphi but I don't know how I can make it :( Here is my code: procedure TForm3.RtcResultArtikelReturn(Sender: TRtcConnection; Data, Result: TRtcValue); var dtable : TClientDataSet; begin …
Tarasov
  • 3,625
  • 19
  • 68
  • 128
0
votes
1 answer

c++: owlnext + vcl: New Window missing its Parent

I have a Application mostly written with the owl-libary. There I want open new vcl-windows out of the main owl-window. This works great, though if a dialog-window is opened (even with ShowModal) and I focus another application, then the…
Julian
  • 493
  • 4
  • 22
0
votes
1 answer

Configuring complex tab sequences and access to fields on a user by user basis using Delphi

I am being hounded to make a Delphi VCL form configurable so that different users will tab through fields in different orders and have access to different fields. I keep telling everyone that this is a BAD IDEA but they simply aren't hearing…
0
votes
2 answers

Inherited TShape.Paint does not work after overriding Shape property

I'm to code a TExpandedShape class inherited from TShape. TExpandedShape must act like TShape and be able to draw extra shapes: Polygon and Star. Here is my code unit ExpandedShape; interface uses SysUtils, WinTypes, WinProcs, Messages,…
Aleksei Poliakov
  • 1,322
  • 1
  • 14
  • 27
0
votes
0 answers

How to take a screenshot of the current form?

I'm trying to do an "slide creator", but for that, I want to save the slide as an image (.jpg, .png, .bmp (I don't know which format is possible)). For example, I want to create a white form with an image and a label that the user can edit the…
mauroaraujo
  • 332
  • 1
  • 10
  • 23
0
votes
1 answer

Changing VCL Styles on runtime

I am using Delphi XE5. I want to add VCL styles to one of my projects but having a problem. After I set the new vcl style, all handles change. For example i am having problem with listview if there are already items and if i have active tcp sockets,…
blacksun
  • 733
  • 7
  • 24
0
votes
1 answer

What is the best method for implementing mouse wheel activity in Delphi VCL forms?

As a long time user of Delphi 7, I've rolled my own mouse wheel handling in a few controls but lately I've noticed that some recent applications only need the mouse cursor to be placed over a control (e.g. a list box or tree view) for the mouse…
Brian Frost
  • 13,334
  • 11
  • 80
  • 154