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

Delphi XE4 TeeChart Pro 2013 installs correctly but I get "Class not found" when open units in project

I have a project with a unit that includes VCLTee.TeeComma in its uses clause an declares an object of class TeeCommander. When I open the unit I get the error: "Class TTeeCommander not found." The same thing happens with a unit that includes…
Például
  • 121
  • 1
  • 10
0
votes
1 answer

How can I Activate/Focus a Modal Form

I have an application with a TTrayIcon Component that I use to "Hide" and "Restore" my MainForm. Here is what I use to "Hide" (OnTrayClick) procedure TMainWindow.TrayIcon1Click(Sender: TObject); var I : Integer; begin if…
Ben
  • 3,380
  • 2
  • 44
  • 98
0
votes
1 answer

Animation with VCL Component (WM_PAINT)

The problem is OpenGL animation stops while any mouse button is clicked on the TForm component (border, caption ..). As soon as the mouse button released the animation goes on. // Drawing Scene void TMainForm::DrawGLScene() { …
Gestalt
  • 1
  • 2
0
votes
1 answer

TeeChart Print Margin %

I am using TChartPreviewer to print a TChart. The Margin% defaults to T35, R15, B35 & L15. How/where do I change them all to 5 please? Regards & TIA, Ian
Ian Branch
  • 59
  • 1
  • 6
0
votes
1 answer

3-axis chart (Z-axis) possible with TeeChart?? Any tutorials to be found on subject?

I am trying to create a 'TRENDS' chart. For that, I am trying to create a 3-D bar chart with left axis (Y-axis) being a number scale (like 0-1000), Bottom axis (X-axis) to be 7 days (Mon-Sun), and depth axis (Z-axis) to be weeks. My report data…
0
votes
2 answers

Crystal Reports VCL for Borland can find CRPE32.dll but none of the supporting dlls

I wanted to bring an old Delphi application (built in Borland Delphi 6) up to version 13 of Crystal reports. It had been brought up to version 10.2 before using the steps outlined in the do-it-yourself guide SAP has posted:…
ChargerIIC
  • 1,620
  • 1
  • 33
  • 47
0
votes
1 answer

How to activate a form that has a parent?

I am trying to achieve an interface similar to old versions of Access, which embeds forms inside forms inside forms. I have a form (Form1) and TPanel (Panel1) inside it. I created two other forms and said that their Parent=Panel1; The problem is…
Tracer
  • 2,544
  • 2
  • 23
  • 58
0
votes
1 answer

How to "flush" changes to a bitmap's ScanLine

I'm currently trying to add mirroring to our RotateBitmap routine (from http://www.efg2.com/Lab/ImageProcessing/RotateScanline.htm). This currently looks like this (BitMapRotated is a TBitmap) in pseudo-code: var RowRotatedQ: pRGBquadArray; //4…
Uli Gerhardt
  • 13,748
  • 1
  • 45
  • 83
0
votes
1 answer

Delphi XE3 third party VCL components in the XE4?

I use Delphi XE3 and I want to migrate to the Delphi XE4. Can I use the same third party components as I used in XE3 in XE4? In previous versions happened many changes, which precluded the use of previous versions of third party components.
0
votes
1 answer

TAdvStringGrid can't update selected cell

I have a fowm with a TAdvStringGrid component. Column 0 of the grid contains a nonsequential group of integers and column 1 contains a string, which may be empty or one word. Column 1 has an edComboList inplace editor that includes the allowable…
marcp
  • 1,179
  • 2
  • 15
  • 36
0
votes
1 answer

boost::make_shared and C++Builder VCL objects

I've tried switching some C++Builder 2010 code using new to use boost::make_shared<>, as below. Old: boost::shared_ptr l(new TStringList()); New: boost::shared_ptr l(boost::make_shared()); l->Add("foo");…
Roddy
  • 66,617
  • 42
  • 165
  • 277
0
votes
1 answer

Lookup Combo that supports remote data - load data only after user wants to

I'm building a VCL c++ builder application. I would like to see if anyone knows of a component that can load data in the lookup upon drop down only after a user has typed a few letters to limit the rows queried? Preferably after pressing Tab, or…
markdueck
  • 43
  • 7
0
votes
1 answer

Accessing to from from thread

I have little problem with multithreading. I use CreateThread to create my own thread and create it when program starts (sorry but at this moment i cant use VCL threads). So my thread working with my VCL form. All program life second thread life…
user922871
  • 435
  • 2
  • 6
  • 17
0
votes
1 answer

VCL Exceptions in C++ Builder 5

I'm trying to control exception raised in the code, however this sample is not working as it should under C++ Builder 5. void __fastcall TForm1::Button1Click(TObject *Sender) { try { throw Exception("NoNumber"); } …
papalmac
  • 5
  • 4
0
votes
1 answer

Access VCL form from DLL

I have two processes A and B. Process A is a VCL forms application containing a form TMainForm. Process B is a DLL from which I want to remote-control this form. Something along the lines of (in process B): MainForm := TMainForm.Create…
jpfollenius
  • 16,456
  • 10
  • 90
  • 156
1 2 3
99
100