|
User-contributed comments | |
Anonymous 20 Mar 2001 07:09 PM GMT |
This is not a bug. This is documented.
Reinier Sterkenburg 27 Mar 2001 06:31 PM GMT |
It is a bug, for two reasons:
1. In Delphi 1, 2 and 3, this behaviour was not there
2. The delphi 5 documentation fails to mention it on most places where it would be appropriate.
Try these:
- From the Help Contents tab, choose, under Create Custom Components, under Introduction to component creation, the topic "Registration overview".
Then jump on that page through the link "Registering components".
The topic does not mention the case sensitivity.
The next two topics: "Declaring the Register procedure" and
"Writing the Register procedure" don't mention it either. I can go on trying links, but I haven't found the specific Help page where the case-sensitivity is explained.
And this information should not be hidden at all; this case-sensitivity is rather odd for OP programmers and therefore should be documented *very* clearly.
- On the Index tab of the online help, choose the item Register. No mention of case-sensitivity. It says "Registration is a simple process ...";
well, I don't have experience with it myself, but I am convinced that someone who declared it as "register", will definitely not find it simple...
IMHO, this item should be considered 'fixed' when either the documentation becomes MUCH clearer about this or the behaviour is restored to normal (not case sensitive) again.
Daniel Grace 24 Aug 2001 11:50 AM GMT |
I tried this in Delphi 6 Build 6.163, it has not been fixed. I tried "register" instead of "Register" in both places in the unit. My component did not appear until I changed the text to "Register." IMO this is confusing especially when the IDE colours both "register" and "Register" as keywords, so there is no indication that anything is wrong. It is worth noting that only using "Register" at the top of the unit and "register" on the procedure itself works OK, that in IMO is strange.
|
|