Results 1 to 2 of 2

Thread: default property or method

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2001
    Location
    india
    Posts
    22

    default property or method

    hi

    how to create default property / method in active x?

    please clarify my doubt with code example.

    bye

    vn. ram kumar

  2. #2
    Member
    Join Date
    Feb 2000
    Location
    Kettering, Northants, England
    Posts
    56
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width