>>PUBLIC poForm
>>* DO FORM... Commented
>>poForm = CREATEOBJECT(yourForm, < maybe some parameters, if you have them > )
>>poForm.Show(1) %% Modal or
>>poForm.Show(2) %% Modeless
>>RELEASE poForm
>
>Does it mean that the child-form should be in
>a classlib so that the class definition could be located
>by the mother-form?
Not at all, just state "Form", and the VFP baseclass form is created.
>
>BTw, if we use ON KEY LABEL and KEYBOARD, would we
>be stuck with the same problem?
Afraid so...
Danijel