Hi,
I want to create a standard-form which shall be stored as a class.
Thisform shall have a command-button to release the form resp. leave the program
When I pick this form from the class-library I am asked to create a FORMSET because
as far I understand a form picked from a class-lib can only reside on a VFP-standard form.
1. question: Is that correct understood?
If yes:
The command-button used to exit the form should have the command:
"thisformset.release".
So the button to exit the program only works fine, when there is a formset behind.
So I can not use this exit-button for a stand-alone (single) form as VFP claims that there
is no formset existing.
Do I have to create a second button in my library now, which includes the command:
"THIS FORMSET RELEASE" ? - or - can both functions combined in one code and in
relation whether I have a formset or only a single form I would work properly?
I only want to have confirmed how far I understood everything right - the german literature
concerning foxpro is very poor - and with the english language I have sometimes some problems...
but am just beginning to feel the big wealth and profitability of object-orientation.
Regards from Germany
Klaus
I want to create a standard-form which shall be stored as a class.
Thisform shall have a command-button to release the form resp. leave the program
When I pick this form from the class-library I am asked to create a FORMSET because
as far I understand a form picked from a class-lib can only reside on a VFP-standard form.
1. question: Is that correct understood?
If yes:
The command-button used to exit the form should have the command:
"thisformset.release".
So the button to exit the program only works fine, when there is a formset behind.
So I can not use this exit-button for a stand-alone (single) form as VFP claims that there
is no formset existing.
Do I have to create a second button in my library now, which includes the command:
"THIS FORMSET RELEASE" ? - or - can both functions combined in one code and in
relation whether I have a formset or only a single form I would work properly?
I only want to have confirmed how far I understood everything right - the german literature
concerning foxpro is very poor - and with the english language I have sometimes some problems...
but am just beginning to feel the big wealth and profitability of object-orientation.
Regards from Germany
Klaus