[DUG] (no subject)

Mehmet AK mrdelphitr at yahoo.com
Sat Jul 16 05:42:35 NZST 2005



David Brennan <dugdavid at dbsolutions.co.nz> wrote:Better still it should be done by registration. So you could use Borlands
registered prefixes or you could register your own prefixes for the various
components in your own design time package. 

However Delphi still needs to come up with unique names so you would get
btn1, btn2, etc. 

David.

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of John Bird
Sent: Monday, 27 June 2005 2:34 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: RE: [DUG] Delphi 2005 IDE and naming conventions.

I have always wondered why Delphi doesn't provide an option somewhere in the
IDE to rename default variable names...
When I drop a component on the page the first thig I do is rename it
according to what most people recommend...

Eg
button1 to btnStart etc
Label1 to lblHeader
Editbox1 to edtCode
Stringgrid1 to strgrdCodes etc

Its mainly handy to remember what a type of component is called, I always
know a button will start with btn etc, so in the middle of coding I have to
think less. And the word button at the beginning is simply too verbose.

It would be cool if there were an option somewhere in the IDE I could tick
and it would always do this naming convention.

John B




-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Phil Middlemiss
Sent: Monday, 27 June 2005 11:02 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] Delphi 2005 IDE and naming conventions.


We are revisiting our naming conventions and I have read a few of the 
previous posts on the subject, along with suggested articles, and I have 
a question about the latest IDE for Delphi (we still use Delphi 6 but 
will probably upgrade with the next release... if it is stable). After using
Eclipse with Java for a little while now, one of the things 
I really appreciate in that IDE is that any documentation for a field 
etc appears in it's hint when the mouse is held over it. Having that 
feature makes some aspects of naming conventions less important I think.

My question is, does the latest Delphi IDE also have this feature? Where 
the code-insight hint that shows for something includes any 
documentation for that item? If it does then that will probably affect 
any changes we make to our naming conventions.

Cheers,
Phil.
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz http://ns3.123.co.nz/mailman/listinfo/delphi


_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20050715/76b37693/attachment.html


More information about the Delphi mailing list