Solved

Change Form ClassName?

Posted on 2000-04-12
10
315 Views
Last Modified: 2010-08-05
How Can I Change My Form Class Name From
TForm1
0
Comment
Question by:saar071697
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 2709101
? just give it another name
0
 
LVL 17

Expert Comment

by:inthe
ID: 2709105
hi saar,
to change the class name of your forms just change the forms name(in object inspector)
for instance if the forms name is SOME_SILLY_NAME then
class name will be TSOME_SILLY_NAME
..

Regards Barry
0
 
LVL 17

Expert Comment

by:inthe
ID: 2709112
yep just do that :o)
0
 
LVL 20

Expert Comment

by:Madshi
ID: 2710767
You can also overwrite "CreateParams". Then you can choose whatever name you like (even without that "T" in the beginning).

Regards, Madshi.
0
 
LVL 1

Accepted Solution

by:
Greyman earned 50 total points
ID: 2710803
In the property inspector, make sure that your form is the active object, and change its Name property.  In most cases, this doesn't change the ClassName - but it does for Forms, DataModules and other things that have a unit all to themselves.
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 17

Expert Comment

by:inthe
ID: 2712760
i see there's some blind (or ignorant )people around here lately !
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 2713375
seems to me too
0
 
LVL 1

Expert Comment

by:Greyman
ID: 2714154
Weren't you guys ever new at anything?
0
 
LVL 17

Expert Comment

by:inthe
ID: 2714197
neither yourself or saar are new to experts-exchange or delphi..

you have taken credit for something meikl and myself said 12 hours earlier..
surely meikl(kretzschmar) should have had the points for being first to mention the correct answer ..
a little pleasant manners go along way .
0
 
LVL 1

Expert Comment

by:Greyman
ID: 2714241
Somehow I don't think that 'just give it another name' is a particularly helpful answer.

Your answer was certainly stronger in the helpfulness department, but (being in Australia, and somewhat easily confused when it comes to what time it is on websites) it seemed to have gone unaccepted for a long time.  (Having also returned to EE after a 4-month absence.)

I therefore gave an answer with an explanation, as opposed to a one-liner.

To steal was not my intention, and I regret any offence caused.



Nick
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Simple Delphi Question 9 77
Run video youtube webbrowse 10 45
Working with hours 3 31
How to renew a Delphi rad-studio licence? 5 35
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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now