Hi,
>>If the program launches the form then, providing the program variables are >>not LOCAL, they will be visible within the form.
>Actually, that's not true. Private variables would be visible in form's >Load, but they would not be visible in Form's Init and other methods... It >might depend on form's modality, though.
Hmmm....
PRIVATE myVar
myVar = 4
oForm = CreateObject("MyForm")
oForm.Show()
READ EVENTS
DEFINE CLASS MyForm as Form
PROC INIT()
This.Caption = myVar
ENDPROC
PROC UNLOAD()
CLEAR EVENTS
ENDPROC
ENDDEFINE
Regards,
Viv