Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inherited Parameters
Message
De
03/07/2002 13:41:42
 
 
À
02/07/2002 00:24:52
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00673059
Message ID:
00675027
Vues:
15
Hi Agnes,
Sorry this took so long.
I don't know why it's not working for you. I know that it worked for me, because I was having the same problem, but it went away once I put spaces between the "* *".

Just to make sure we're both doing the same thing.
1.  In parent class method put:
         * * * Procedure myClass.myProcedure()
         LPARAMETERS t1, t2, .....
2.  Open EMPTY sub-class method
I've just tried playing around with it, and it works fine.
The ONLY problem I saw was that it had to be an EMPTY sub-class method (no comments or anything in the method), and it picked up the LPARAMETERS statement.
I even tried:
1.  Open empty sub-class method and put:
        * * * Procedure ....
        (no longer empty)
2.  Open parent-class method and add "LPARAMETERS...." after the "* * * Proce..." statement.
        * * * Procedure ....
        LPARAMETERS t1 ....
3.  Open sub-class method
        (LPARAMETERS .... does NOT show up)
        (because it's not empty)
4.  In properties window click "Reset to Default" on method.
        (making it empty again)
        (automatically closes edit window)
5.  Double click method in properties window
        (re-Opens method edit window)
        (LPARAMETERS .... shows up)
>Hi Bill,
>I've tested around, but with no success. I've added the "* * * PROCEDURE ..." for test with no help.
>I've changed me usual format
>
>PARAMETERS;
> Para1,;
> Para2,;
>...,;
> Paran
>
>to
>
>PARAMETERS Para1, Para2,..., Paran
>
>
>but also this was not of help.
>
>This all works fine with 6.0, it works in the beginning of my work with 7.0 but it fades away (sometimes it works, but it approximates zero)
>
>Agnes
>>
>>Earlier thread pointed out that "*** PROCEDURE ..." as first line of code in parent class prevents "PARAMETERS ..." from appearing in child class.
>>Putting "* * * PROCEDURE ..." (spaces between astericks) brings it back.
>>
>>HTH
Bill Morris
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform