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
1 answer

varnish 4 vcl wont compile

I am attempting to create a varnish file for a wordpress site, but I am getting the following compile error: varnish_1 | Message from VCC-compiler: varnish_1 | Unused acl purge, defined: varnish_1 | ('input' Line 22 Pos 5) varnish_1 | acl…
user1901469
  • 1,169
  • 1
  • 10
  • 21
0
votes
2 answers

VCL events Handles Designer.Modified;

I have a TCustomControl descendant and I've been looking at TGrid as an example. In its Mouse, ScrollBar, and keyboard events, when deciding whether to call Invalidate(), they use these: HandleAllocated ParentForm.ActiveControl = Self (csDesigning…
0
votes
0 answers

How to create a button or something with title looking like a link, on Windows applications

How to create a button or something with title looking like a link, on Windows applications's windows, dialog boxes, etc? It should receive keyboard focus, and when mouse pointer is over it, its text should be underlined. I am using C++ Builder.…
user3099493
0
votes
2 answers

Unresolved external SHCreateItemFromParsingName referenced VCL.LIB / Dialogs on C++Builder XE8

I have a application of C++Builder6, and I'm migrating it to C++BuilderXE8 via C++Builder2007 on Windows7. I compiled with success on C++Builder2007. But I have a error on C++BuilderXE8: [ILINK32 Error] Error: Unresolved external …
Saga
  • 23
  • 3
0
votes
3 answers

Borland c++: Error while assigning OnChange to another function?

I'm tring to assign OnChange function to another function like: XComp->OnChange = SycnroChange(prgManVoltageSet_SB->Address); but compiler gives that error: "Not allowed type." What should I do? Cant i assign like this?
mrtmtn
  • 19
  • 1
  • 5
0
votes
1 answer

C++ Builder TLabel sometimes gets Garbled Text

I have a simple form in which I set the text of a TLabel like so: __fastcall TFacChoiceForm::TFacChoiceForm(TComponent* Owner) : TBaseForm(Owner) { CaptionLabel->Text = "Hello User"; FacSearchBar->SetFocus(); } About fifty percent of the…
James Hogle
  • 3,010
  • 3
  • 22
  • 46
0
votes
1 answer

TatukGIS DK Scale Bar

How can I display the scale bar for my GIS Viewer? Apparently its not showing even if I already set the GIS Viewer property on my Scale bar. I also checked if its visible and it is set to true. An alternative that I though of is printing it to an…
Yuusha
  • 175
  • 1
  • 3
  • 10
0
votes
1 answer

VCL C++ (Brush border while drawing)

Could someone help me. I am drawing a arrow by using polygon, one for square and one for triangle. image->Canvas->Brush->Color = clGreen; image->Canvas->Polygon(s, 5); image->Canvas->Brush->Color = clGreen; image->Canvas->Polygon(t, 4); Problem is…
0
votes
1 answer

List & Label: Getting ErrorCode -105 with Delphi VCL components

I have a problem using the List & Label components with the Delphi VCL. When I'm accessing the Design method of the TL20_ object, I get the following error code: error code -105 (license error) procedure TForm3.Button1Click(Sender: TObject); var …
Manuel Taber
  • 427
  • 5
  • 19
0
votes
1 answer

List all queries connected through ado connection

I have application that has ADO connection on main form and several plugins that have ADO queries which I connect to this main connection. One problem is that I can't properly design those plugins without their personal connection which becomes…
Danatela
  • 349
  • 8
  • 28
0
votes
1 answer

C++Builder - Correct way to take action on application startup

Using C++Builder XE5. My main form has an Indy blocking socket which I would like to connect to and block on, as soon as the application has started up and the main form shown. What is the correct way to do this? In previous versions or C++Builder,…
M.M
  • 138,810
  • 21
  • 208
  • 365
0
votes
2 answers

Clone Delphi Component

I have X (more than 1) comboboxes declared on a form. (Designtime) All these comboboxes have the same properties (except position, handle, and a few others they can't share) I would to give them all the same behavior during runtime, which means if…
Ben
  • 3,380
  • 2
  • 44
  • 98
0
votes
2 answers

C Builder TForm not allocated or created properly all its controls

I'd like to know how I can check that all the controls on the form are created and initialized. I have a form I am showing when a user presses the update button. It has only a TProgressBar control. The handle is not NULL for this control and at…
ergey
  • 51
  • 1
  • 5
0
votes
1 answer

Delphi Style issue TDBGrid Vertical Scroll choppy when scrolling

I'm using Delphi XE5 with a Style applied. When using a DBGrid that has enough records to show the vertical scroll bar, clicking and dragging the scroll bar results in a choppy animation. The grid keeps repainting/updating. If I set the…
Dangas56
  • 849
  • 1
  • 8
  • 32
0
votes
1 answer

How to scroll the picklist on a TValueListEditor with the mousewheel?

By default, the mousewheel will change rows on the TValueListEditor. When I have a picklist, I would prefer for the mousewheel to scroll the displayed list instead. I know how to override the default behavior, but how do I gain access to the…