Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there any way around this issue?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00793727
Message ID:
00794832
Vues:
21
>If that is not an acurate description of what I'm missing, then I guess I'll just have to accept the idea that it's over my head.

Concrete sample:

I define a class to draw chart, this class was based on custom class.
In this class I put a method: drawchart(), this method is empty at this stage.
From this class I subclass a BarChart class, and I put code on the DrawChart method to draw a Bar chart.
From the same base class, I subclass a PieChart class, and I put code in the DrawChart method to draw Pie chart.
I can define a lot of differents charts that use the same drawchart method.

Of course, if I want to use a button to close a form, I can start from VFP Button class and put a "thisform.release()" directly in the click of the button.

I think there is no absolute solutions for this, its all depend on the problem at hand when you start coding.

There is always be a lot of ways to skin a fox :-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform