Results 1 to 4 of 4

Thread: How to make the "(About)" property for an ActiveX control ?(SOLVED)

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803

    How to make the "(About)" property for an ActiveX control ?(SOLVED)

    How to make the "(About)" property for an ActiveX control ?

    I want to display a form (from my ActiveX control), but don't know how to make the (About), WITH THE ROUND BRACKETS to show up in design time when using the ActiveX control.
    Last edited by CVMichael; Dec 18th, 2002 at 05:39 PM.

  2. #2
    Hyperactive Member Anglo Saxon's Avatar
    Join Date
    Mar 2002
    Location
    Durham, UK
    Posts
    259
    Just a few simple steps :

    1. Create your about form (obviously!)

    2. Write a sub routine that shows your about form modally

    3. Highlight the sub routine name then go to Tools->Procedure Attributes , select ShowAbout from the drop down list

    Thats it done!


    --
    Anglo Saxon

  3. #3
    New Member
    Join Date
    Dec 2002
    Location
    Phoenix
    Posts
    8

    Create About

    Well, you can add your own by including the following code in your control:

    Public Sub About()
    ' load your about form, whatever it may be
    frmAbout.Show
    End Sub

    After this, select Tools, Procedure Attributes. Select 'About' from the drop-down list, then click on the 'Advanced>>' button. From the procedure ID drop-down, select the 'AboutBox' option. This tells the Properties window that this piece of code displays your About box.

    charcoal

  4. #4

    Thread Starter
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803
    Thanks... it works...

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