PDA

Click to See Complete Forum and Search --> : default property or method


vnramkumar
Dec 14th, 2001, 11:00 PM
hi

how to create default property / method in active x?

please clarify my doubt with code example.

bye

vn. ram kumar

daveejay
Dec 15th, 2001, 04:37 AM
Interesting one, I tend to always use the Class builder Utility. It does'nt create any different code for a default property than for a normal one.

But I have found out, in VB6 how to do it.

Tools -> Procedure Attributes -> Advanced Button.

Select the procedure name and then finally select the Procedure ID to (Default). Open the Object browser look at your project - hey presto job done.

Hope this helps - it did me!

DJ