vcl

How Do I Add A TLabel To The Menu Bar in Delphi?

I use Beyond Compare (a great program), and was very impressed when it displayed a "New Version Available" label on its Menu Bar. I clicked on it, up popped an install new version box, it installed, the program restarted itself and there was the new version and no more label. I thought that was a great feature. The label is there promin...

Delphi 2010 Action Manager & Main Menu Bar

I'm trying to use the Action Manager and Action Main Menu Bar in Delphi 2010 an I have no idea how to make this work. I've tried looking at the examples that come with Delphi 2010 and I can't seem to figure this out. I've tried playing around with the examples. I've been able to add an image to the Image List component and set that ite...

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 quality of rendered images. The ActiveX lib can be found here (www.ewcad.com). I am not ...

Delphi non visual TTree implementation

Hello, I'm looking for a non visual persistent tree (TStringTree) implementation. If someone known any good implentation of it, please let me know. Thanks. ...

TImageList component for Delphi 7 Wich supports PNG Images.

Hello, anyone knows a component that descends from TImageList and support PNG images, and compatible with Delphi 7. Thanks in advance. Bye. ...

Closing a secondary delphi form causes the main form to lose focus

When showing a secondary form from the main form and from the second form showing a third form and then closing both forms will cause the main form to lose focus. Using Delphi 2009 with XP SP3 Here are my steps for reproducing the problem: Create a new VCL forms applications Drag a button onto the created form In the click handler cr...

How to show a semi-transparent dimmed panel/image in Delphi?

I wish to get a TPanel or TImage to show a dimmed background (with a veil), anyone knows how to accomplish this in Delphi (2010)? I would prefer not to use a component if possible, just raw code. The idea is that when showing a new form the parent one visually shows the user it's "disabled". Something like this: ...

why memo.loadFromFile takes so long time?

Hi, I use TMemo to display long strings. I was very surprised that method : Memo1.loadfromfile('mem.txt') [mem.txt = 111 kB] took about 35 seconds, what is really really long time. How can I make TMemo load strings in real time? thanx ...

Can Dlls provide modularity to main program?

Hi, Simple task: I would like to make a program (parent.exe). There are three buttons. When I click Button1, Form1 appears; when Button 2, Form2 appears; when Button3, Form3 appears... Form1, Form2, Form3 are stored in three different dlls (Form1dll.dll, Form2dll.dll, Form3dll.dll). I wanted to make parent program (parent.exe) run mo...

Seeking floorplan design VCL toolbar

I'm looking for a VCL component for C++ builder. It should preferably have a toolbar with drag & drop functionality. I want to define a building or area (which might not be rectangular) and split it into "rooms" (or areas, or whatever you want to call them). And I want to be able to put "doorways" (or passages, etc) from a room into its...

How might one create an extra worker thread for a single threaded GUI application?

I am currently developing new features for an existing VCL application. The application creates charts and static images using a thirdparty package called TeeChart. There is one instance where I have to load in 2 million data points to create a static image chart. However, this takes a while to load and the user can't do anything in the ...

Looking for non-rectangular panel VCL component

Title says it all. Sometimes I want L-shaped, T-shaped, triangular, polygonal ... Free reusable component please . . . ...

password strength meter component for delphi

Does anyone know of password strength meter component for delphi Win32? Important : must be for a Win32 Form, not for Web. something like that (but for Win32) ...

Add a property on TWinControl Class

I want to add a published property into TWinControl. Is there someway to do this without the necessity of recompiling the base source code ? If not, some way to recompile the base source code without too much troubles ? Tks in advice... EDIT 'CAUSE OF NEW IDEAS Alright, What I'm thinking to do I'm trying to override the _GetMem from...

Best website for free VCL components?

I am just getting back into C++ Bulder after several years. What's currently the best web-site for free VCL components? ...

Resource leaks when using a VCL (C++Builder) DLL from .NET

I have a DLL that's written in C++Builder (2006), and I'm invoking a single function in the DLL from a .NET application. The problem is, when I close the .NET application (and the DLL gets detached from it) I get a CodeGuard error saying that it detected resource leaks (and I see the leaks in the CodeGuard log file). I also see the Loa...

TStringGrid - is there a simple way to get the "current/selected" row?

I can go the long way round, loop over each row, get a TRect from CellRect(col, row), then query its State for gdSelected ... But isn't there a quicker way to get the row number of the currently selected row, if any? ...

VCL SQL [Query parameters error]

C++Builder ADOQuery SQLServer Continue of This questions line using this select with procedure : SELECT C.Hint, CAST(CASE WHEN T2.ID_Param IS NULL THEN 1 ELSE 0 END as bit) AS Visi FROM CfgListParIzm C LEFT JOIN ( SELECT T.ID_Param FROM TbUserParam T WHERE T.ID_User = @ID_Use...

how to write a function Click() for dynamic created button ?

Trying to write a simple VCL program for educating purposes (dynamicly created forms, controls etc). Have such a sample code: void __fastcall TForm1::Button1Click(TObject *Sender) { TForm* formQuiz = new TForm(this); formQuiz->BorderIcons = TBorderIcons() << biSystemMenu >> biMinimize >> biMaximize; formQuiz->Position = TPos...

c++ builder, label.caption, std::string to unicode conversion

Just need to set the lbl.caption (inside a loop) but the problem is bigger than i thought. I've tried even with vector of wstrings but there is no such thing. I've read some pages, tried some functions like WideString(), UnicodeString(), i know i can't and shouldn't turn off Unicode in C++Builder 2010. std::vector <std::string> myStrin...