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.
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.
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
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.
:cool:
Thanks... it works...