UDT default property?
- From: upand_at_them@xxxxxxxxx
- Date: Mon, 7 Apr 2008 07:29:06 -0700 (PDT)
Can I create a UDT that has a default property? (In VB6).
I have an existing UDT, but I would like to add a property without
having to change every place that already uses it.
Example:
Type foo
....value as integer as default
....bar as integer
End Type
Dim myFoo() as foo
myFoo(1) = 42 ' (same as myFoo(1).value = 42)
.
- Follow-Ups:
- Re: UDT default property?
- From: Jan Hyde (VB MVP)
- Re: UDT default property?
- From: Jim Mack
- Re: UDT default property?
- Prev by Date: Re: Microsoft and Trust Take 2
- Next by Date: Re: UDT default property?
- Previous by thread: VB6 make DLL on Vista: "Error accessing the system regisry"
- Next by thread: Re: UDT default property?
- Index(es):
Relevant Pages
|