UserControl and its properties
Hello,
I'm creating an usercontrol. Now i want to create some properties for it, and i'm wondering if the following can be accomplished:
usercontrol.props.add()
I can create it like this:
usercontrol.add()
This is what i have as code:
Code:
Public type item
prop1 as string
prop2 as string
end type
public property get test() as item
'code
end property
public property let test(vNewValue as item)
'code
end property
Public sub Add()
'code
end sub
Can anyone tell me, what i have to do to make the sub Add() as a property of Item??
Thanx,
Barry