>>Hi,
>>
>>I have a method in a text box base class (CUSTOM_SETUP) that will have a line DODEFULT(). That is, this method will not have any meaningful code. This method is called from the INIT method of this class. I have not noticed that it takes any time, when doing a very superficial test. But in general does this call to a method with DEDEFAULT take any time when about 50 text boxes are instantiated (which have this code)?
>>Alternatively, I can comment the call to CUSTOM_SETUP and I can even do away with the INIT method (set it to default) since it won't have any code. But, in case in the future, I may need it, I thought I would leave these methods with DODEFULT().
>>
>
>You don't need DODEFAULT() in methods of your "base" classes unless there's also a NODEFAULT there. If a class is derived right from VFP's classes, there's no code you need to ensure runs.
>
>In general, you don't need DODEFAULT() unless you put code into a method. An empty method will automatically run the code from its parent class.
>
>Tamar
Thank you!
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham