Subject Re: Custom components name parameter
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Fri, 13 Dec 2019 09:56:08 -0800
Newsgroups dbase.getting-started

On 12/13/2019 9:02 AM, Russ Fisher wrote:
> At the end of Phase IV of the tutorial where you have just created all the custom components, you are advised to edit the Mycontrols.cc file and remove the "name" parameter from all the class definitions.  In his book, Ken Mayer goes into more detail about the reason for this, stating that dBase streams out the wrong name for the class.
>
> My question is, is there ever a time when you would WANT that behavior?  If not, then why, after so many generations of dBase, have the devs not fixed that - to either stream the correct name or remove the parameter from any class definitions based on a custom class?  That would eliminate one more "thing" you have to remember to change while designing or editing an application.
>

I don't know of a time, the problem is the name that gets streamed out
is seldom what you want to use. As to the developers fixing it, it's a
simple enough thing for you to do when building your custom library. I
think if it is in the bug database it's probably a pretty low priority.

Ken

--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm