Results 1 to 2 of 2

Thread: Adding features to a command button

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Posts
    9

    Adding features to a command button

    My application requires that i add a few additional properties to that existing in the command button.
    For e.g.
    I would like to have a property called
    Key which will store unique identification for the control.
    How do i do this.
    Thanks in advance.

  2. #2
    Fanatic Member simonm's Avatar
    Join Date
    Sep 2000
    Location
    Devon, England
    Posts
    796

    Lightbulb Extending control functionality

    If you just want to have a Key property on the command button you could just use the Tag property for that purpose.

    But, to extend the functionality of existing controls you need to to enclose the control in an ActiveX wrapper. Map all the existing properties/events of the command button to the ActiveX wrappere and then add new ones as required.

    It is a resource overhead however.
    Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment.

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