Hi Experts,
How to make our comments in a class appear in subclass ?
I need to know parameters that is needed for DoDefault()
function in a subclass without opening the class itself.

Thanks a lot

Re: comments for subclass by David

David
Thu Jun 24 00:02:38 CDT 2004

Budieko,

In the class designer itself, there is no way to display a comment block
that you have in a method while you are editting the subclass. One thing you
can do is use the Method comment that can be shown at the bottom of the
property sheet when you select the method. That is limited to 254
characters.

If you start the class browser it'll add a toolbar button that allows you to
"View ParentClass Code".

It's also fairly easy to write a utility that would extract that
documentation and publish it in HTML files.

--
df - Microsoft MVP FoxPro http://www.geocities.com/df_foxpro

"budieko" <eko_dja@myrealboxJUSTREMOVE.com> wrote in message
news:%23K7MfoYWEHA.3492@TK2MSFTNGP10.phx.gbl...
> Hi Experts,
> How to make our comments in a class appear in subclass ?
> I need to know parameters that is needed for DoDefault()
> function in a subclass without opening the class itself.



Re: comments for subclass by Sietse

Sietse
Thu Jun 24 01:27:18 CDT 2004

Hi Budieko,

The parameters of a method of a particular subclass are automatically added
at the top of the method _IF_ the method is opened and not modified. When
you're using VFP8+, next to the method-dropdown in the code editor for
visual classes there's a button 'view parent code'. This opens the current
method code of the parent class (READ ONLY) for viewing.

HTH,
Sietse Wijnker


"budieko" <eko_dja@myrealboxJUSTREMOVE.com> wrote in message
news:%23K7MfoYWEHA.3492@TK2MSFTNGP10.phx.gbl...
> Hi Experts,
> How to make our comments in a class appear in subclass ?
> I need to know parameters that is needed for DoDefault()
> function in a subclass without opening the class itself.
>
> Thanks a lot
>
>



Re: comments for subclass by budieko

budieko
Thu Jun 24 19:31:31 CDT 2004

Hi Sietse Wijnker,
I'd like to add comments automatically to inform any parameters
that are needed for DODEFAULT() such as it's done when I
make an assign and access method of an object's property
,eg:

*To do: Modify this routine for the Assign method

If there is noway, I'll use the Method comment in the property sheet.

Thank for responses

"Sietse Wijnker" <sietse.wijnker@ATsw-software.nl> wrote in message
news:OP9ATqbWEHA.3596@tk2msftngp13.phx.gbl...
> Hi Budieko,
>
> The parameters of a method of a particular subclass are automatically
added
> at the top of the method _IF_ the method is opened and not modified. When
> you're using VFP8+, next to the method-dropdown in the code editor for
> visual classes there's a button 'view parent code'. This opens the current
> method code of the parent class (READ ONLY) for viewing.
>
> HTH,
> Sietse Wijnker
>
>
> "budieko" <eko_dja@myrealboxJUSTREMOVE.com> wrote in message
> news:%23K7MfoYWEHA.3492@TK2MSFTNGP10.phx.gbl...
> > Hi Experts,
> > How to make our comments in a class appear in subclass ?
> > I need to know parameters that is needed for DoDefault()
> > function in a subclass without opening the class itself.
> >
> > Thanks a lot
> >
> >
>
>