R
R. MacDonald
Hello, Group,
I have been curious about a statement I see occasionally in the VB
(v2003) help. Sometimes the information about a property will indicate
that it is overridable, and I have been making use of this. Sometimes
there is also a statement such as:
"You are not required to override both the get and set methods of the
.... property; you can override only one if needed."
Can anyone tell me how I can override just one of these?
So far, my practice has been to override the "entire" property, and
simply invoke the base property for the piece that I don't need to
adjust. Is there a "better" way?
Cheers,
Randy
I have been curious about a statement I see occasionally in the VB
(v2003) help. Sometimes the information about a property will indicate
that it is overridable, and I have been making use of this. Sometimes
there is also a statement such as:
"You are not required to override both the get and set methods of the
.... property; you can override only one if needed."
Can anyone tell me how I can override just one of these?
So far, my practice has been to override the "entire" property, and
simply invoke the base property for the piece that I don't need to
adjust. Is there a "better" way?
Cheers,
Randy