Passing the workspace as a parameter: Difference between revisions

m
Added to Tutorials category
m (Added to Tutorials category)
 
(3 intermediate revisions by 3 users not shown)
Line 21: Line 21:
If you want to use your old .ws file, just change the value of that particular property.
If you want to use your old .ws file, just change the value of that particular property.


===The program===
===An Example of a program that uses a subclass of cApplication===
the program:
the program:


<source lang="vdf">
  //AB-StoreStart
  //AB-StoreStart
  Use dfAllEnt.pkg
  Use dfAllEnt.pkg
Line 43: Line 44:
  End_Object  // oApplication
  End_Object  // oApplication
  //etc
  //etc
</source>


===The cApplication subclass===
===The cApplication subclass===


<source lang="vdf">
   Class MyApplication is a cApplication
   Class MyApplication is a cApplication
     Procedure OnCreate
     Procedure OnCreate
Line 87: Line 90:
     End_Procedure
     End_Procedure
   End_Class
   End_Class
</source>
[[Category:How To]]
[[Category:Tutorials]]