>another thing !
>how about all froms having same public variables ?
>i want public variable "XXX" in form "A" does not interfere the
>public variable "XXX" in form "B".......
A form property is the appropriate thing. It is somewhere in between a local/private variable and a public variable: It is available from any method within the form, but it can't be easily accessed from an other form.
For example, one form uses ThisForm.MyProperty, and another form also uses ThisForm.MyProperty. MyProperty is two different things - in each case it refers to the current form. In other words, each form has its own copy of the property.
By the way, you create the property with the command Form - New Property. You can also use the following command in the Init() method:
ThisForm.AddProperty("MyProperty")
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)