How do I replace a component type that is on my form from TVirtualStringTree to TMyVirtualStringTree without damaging anything?

Posted on 2007-07-20
Medium Priority
Last Modified: 2010-04-05
I have about 4 VirtualStringTrees that are of class TVirtualStringTree
and now I have a new component MyVirtualStringTree of type TMyVirtualStringTree which is inherited and slightly modified.

How can I change the components of all the existing ones from class TVirtualStringTree to take on the new class TMyVirtualStringTree without damaging the DFM file or destroying the app.

I use Delphi 2007 for win32

Question by:Alpha_AI
LVL 10

Accepted Solution

dinilud earned 360 total points
ID: 19529370
Replace all "TVirtualStringTree" with "TMyVirtualStringTree" in both DFM and PAS file
LVL 19

Assisted Solution

MerijnB earned 140 total points
ID: 19529624
make sure you close Delphi before doing this!

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question