Property let optional argsAuthor: Dave Date: 03.25.16 - 6:12pm Ok I never knew this worked..it looks bizzare but works fine in vb6. Handy.. Property Get sValue(Optional m As modes = mHex) As String 'do stuff end property Property Let sValue(Optional m As modes = mHex, ByVal s As String) 'do stuff end property x.sValue = "1234" x.sValue(mHex) = "1234" msgbox x.sValue msgbox x.sValue(mHex) Comments: (0) |
About Me More Blogs Main Site
|
||||||||||||||||||||||||||||||||||||||