A class form is when you create a form inside a class library. For example, issue the following command:
CREATE CLASS MyForm OF MyClassLib AS FORM
VFP will create a new class based on VFP's form base class.
An advantage of "form classes" over "regular forms" is that -since they are classes- you can inherit other forms from this "form class."
For example, let's say that you want to have all your forms with blue background. Your could create a "form class", set the background to blue. Then, everytime you need a form, you create it based on this form class rather than the VFP form and the blue color will be there.
To launch a form-class you can use the following commands:
oForm = NEWOBJECT( 'MyForm', 'MyClassLib' )
oForm.Show()
>Hello:
>
>What is a Class Form? Has anyone any examples?
>
>TYA
Hector Correa