-
I developed a user control as simple as allow user to select either a file or a directory, depends on a property named STYLE.
I put 2 of these controls in the same form, one with STYLE=1 and one with STYLE=0 (set inside the code, and following this sequence)
When I execute the program, both controls seems to have STYLE=0. If I reverse the sequence of the code, both will become STYLE=1.
It seems that the variables inside the user control, have been shared.
I think I may mess up something like instance or ....
Would anybody tell me what I have done wrong?
-
I'm not sure about this, but if develop an activeX with usercontrols with a common standard module could cause shared variables inside this module, how to do that within a usercontrol or class, is what we're waiting for to come in vb7, so i'm a bit sceptical to if that's the problem. Tell more about this property, where is it stored?