>Hi.
>How the visibility of variables is handled inside a form?
>If a create a variable in a form event it will be visible
>by the events of the objects inside the form?
>Thanks!
The variables created in the form's methods are only visible to these methods. If you create a private variable and call some method from another method, I would guess, this variable would be visible in that method also.
However, why you can not handle variables as form's properties? You can add them on the fly using AddProperty method.
If it's not broken, fix it until it is.
My Blog