>anybody could help me please... i'm new in programming visual foxpro 7.0... how could i design my own class... i appreciate so much your help, thank you...
There are two ways, visual and no visual:
1. Visual Designing:
Open a project
Go to "Classes" Tab
Push the button "NEW"
Enter the class name
Select the Base class of Your new class
Select the name of the VFP class library
Press OK
Add methods, properties etc. of Your class
2. Non Visual way:
Create a PRG file & add it in Your project
Open PRJ file and then type in it somethink like this
DEFINE CLASS MyClass AS CheckBox
propertie1 = .f.
propertie2 = 0
propertie3[2]
PROCEDURE MyCustomMethod(par1)
ENDPROC
....
ENDDEFINE
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.