>I tried to pass a set of parameters using the following command:
>=doform("MyForm",tParName1,tParName2,...)
>
>In the "MyForm" ini event, those parameters are defined but those parameters disappeared in the rest of the objects(like combox box) in "MyForm".
>
>Is there any way to setup those variables as public only in this form without setting a Property in the form?
No, they have to be PUBLIC for everyone to see, or they must be properties of the form, for only this form to see.
If they are made properties: ie, myprop1, myprop2, mypro3, etc., then in the forms init method you must move the parameters to the properties.
form init:
LPARAMETERS param1, param2, param3
WITH thisform
.myprop1 = param1
.myprop2 = param2
.myprop3 = param3
ENDWITH
Then you must reference the properties in your other methods.