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

Series Lines and EndPoints with TeeChart

Having a ChartSeries, I would like display a certain text on a label moving the mouse above the ChartValues. But only the line is active for me and not the EndPoint (definitely the Value…) I would like if the EndPoint (a Circle, actually) would be…
0
votes
1 answer

Overriding the paint events in Formula One (1) in Delphi 7?

My company has a Delphi 7 application that relies on Formula One spreadsheets (TF1Book) for a key part of the application. Users are pretty happy with the functionality actually, but it looks very dated now, especially now we have a Microsoft 2010…
sxthomson
  • 563
  • 2
  • 5
  • 18
0
votes
0 answers

How to detect a longpress in delphi (managing right clicks on touch devices)?

users of my win32 application when running on a touch device such as a Win8 Tablet experience he problem of LackofRightClick. is there a way to make te popupmenu appear when using a single finger? Somehow "Longpress = RightClick.OnClick"... (by…
UnDiUdin
  • 14,924
  • 39
  • 151
  • 249
0
votes
1 answer

Using DBCTRL Grid

I am using TDBCtrl Grid, and I can only see one record to see next record I have to scroll however I have set RowCount=5. Also, my dbgridCTRL can only allow TDBEdit or TEdit controls. I want to display static text also. Can you please suggest How…
user2809635
  • 139
  • 1
  • 3
  • 12
0
votes
3 answers

Looking for non-rectangular panel VCL component

Sometimes I want L-shaped, T-shaped, triangular, polygonal ... Free reusable component please . . .
Mawg says reinstate Monica
  • 38,334
  • 103
  • 306
  • 551
0
votes
3 answers

TStringGrid with SpeedButtons

I want to have a button with icon at the end of each row. Like here: I tried this procedure TMyFrame.sgrd1DrawCell(Sender: TObject; ACol, ARow: Integer; Rect: TRect; State: TGridDrawState); var canvas: TCanvas; sgrd: TStringGrid; point:…
Alex P.
  • 3,697
  • 9
  • 45
  • 110
0
votes
1 answer

Delphi XE5, how do I get frames defined in a package into th component palette

2 things are my problem 1) a have a TMyframe=class(TFrame) defined in a package, but this frame is not listed in the frame palette. So I registered my class from a designtime package using several methods none of which appeared to do what I want.…
H.Hasenack
  • 1,094
  • 8
  • 27
0
votes
2 answers

How to update GUI controls with versions of Delphi (Pre Delphi 2010) without Synchronize

I have some apps built with Delphi 2010 and XE4 that use Synchronize in a thread. I think Synchronize was introduced to Delphi in Delphi 2010. My thread operates very well so that is not the problem. My question is: Is there any way to…
Bill
  • 2,993
  • 5
  • 37
  • 71
0
votes
0 answers

Deleting TStringList

I long time coding in RAD Studio (C++ Builder) but today im confused. My application got crash when i call Free() method from TStringList class. But when i removed Free() calling - all works fine. I dont understand few things. 1) If we call new…
user922871
  • 435
  • 2
  • 6
  • 17
0
votes
1 answer

Zoom option in Smith chart

Is zoom available for the Steema Smith chart? Polar chart types support this option. VCL cbuilder 6 version is needed.
altmax
  • 1
0
votes
1 answer

TMemo's Scrollbar DoubleBuffered

I use TMemo as a Log and I add lines to it every time an event has been called. Before I add a new line I use BeginUpdate and then EndUpdate and also have DoubleBuffered enabled. However, it seems like that the scrollbar(s) are not double buffered…
Ben
  • 3,380
  • 2
  • 44
  • 98
0
votes
2 answers

Winapi edit control chenge selected text font color

I have text in edit control and I want to change color to some piece of text. In Embarcadero C++ builder, I'm selecting text like this: edit1->SelStart = 10; edit1->SelLength = 12; and then change color: edit1->SelAttributes->Color = clRed; It's…
w770115
  • 187
  • 1
  • 10
0
votes
0 answers

TDBText not updating in Delphi, other data aware controls work

I've taken over a project in Delphi XE4 and I've added some data aware controls to the project. The TDBGrid seems to work fine, but none of the TDBText controls are displaying anything - and it has me stumped. I can throw a TDBEdit on the form and…
Alister
  • 6,527
  • 4
  • 46
  • 70
0
votes
2 answers

Interface for Open Cascade in Delphi

I am trying to find a way to use Open Cascade(www.opencascade.org) - 3D Modeling Technology in one of our software which is written in Delphi. I did manage top find an ActiveX which supports Open Cascade, but on trying it I did not like the visual…
Yogi Yang 007
  • 5,147
  • 10
  • 56
  • 77
0
votes
1 answer

CheckListBox Set focus to specific index

I am populating a TChecListBox with a couple hundred items. I want to have a TEdit box where i can type a string, hit a button next to it and have to TCheckListBox scroll to the first item with a matching substring. Is there anything like…
Justin D
  • 41
  • 7