G
Guest
Is there a delcaration between Private and Friend
In one form I declared
private iParentID0 as integer
I couldn't access it from another form.
If I changed it to
friend iParentID0 as integer
Of course I could. However I'd like to expose this integer to only certain
other classes - in this case forms. Is there any easy way of doing this?
Another question is whether it's worth bothering implementing a workaround (
if one of you have one ) when vs 2005 might include an intermediate
declaration, or an easier workaround. Does anybody know if it does?
Dennis
In one form I declared
private iParentID0 as integer
I couldn't access it from another form.
If I changed it to
friend iParentID0 as integer
Of course I could. However I'd like to expose this integer to only certain
other classes - in this case forms. Is there any easy way of doing this?
Another question is whether it's worth bothering implementing a workaround (
if one of you have one ) when vs 2005 might include an intermediate
declaration, or an easier workaround. Does anybody know if it does?
Dennis