Is there a better way and or faster way to do this. I know it sounds simple, but i have seen "propertys" i think that people use to modify variables
does anybody know what i am saying?
Printable View
Is there a better way and or faster way to do this. I know it sounds simple, but i have seen "propertys" i think that people use to modify variables
does anybody know what i am saying?
Nope...
Have any examples?
You mean:
If so, there is no better or faster way.Code:Public Property Get Backcolor() As OLE_COLOR
Backcolor = m_Backcolor
End Property
Public Property Let Backcolor(ByVal NewValue As OLE_COLOR)
m_Backcolor = Backcolor
Refresh
End Property
In theory you could just use a structure to send all the required information to a class in. It would tend to be faster, however, it exposes the structure to the client so it breaks the rule of encapsulation, which is usually a design goal of OOP.Quote:
Originally Posted by Merri
Yeah thanks, thats what I'm looking for.Quote:
Originally Posted by Merri