Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Levels of code
Message
 
À
10/09/1997 11:37:53
Mandy Mccord
Public Interest Breakthroughs, Inc.
Albany, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00049335
Message ID:
00049348
Vues:
57
>I have some navigation buttons (first,next,previous,last) that are in their own class so I can use them on my forms. They have standard code in them at the class level to move the record pointer accordingly. My question is can I add additional code for individual buttons on my forms which executes after the "base" code from the class definition or do I have write the complete code for each button?? (see my example below)
>
>Eg. My "Next" button should go to the next record but also grab a new value for a variable and requery my data (in a parameterized view) in a grid which should change as the data the "Next" button changes.
>
>mtia!
>Mandy

follow ed's example, but first subclass your navigation buttons class. this way you can use the scope resolution.

in 5, you can just say dodefault()

to do class code first,

dodefault()
*- code here

btw, nice picture. i take it yours wasn't a copy of your driver's license, was it?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform