by vViktor (7 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB Script
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating:
(3 Votes)
This article show how you can do custom AboutBox in custom control (usercontrol).
First, add new form to you control and name it "frmAbout". Project the form and in UserControl code add this procedure:
Sub ShowAboutBox()
frmAbout.Show vbModal
End Sub
Then click in upper VB menu Tools -> Procedure Attributes.... Select "ShowAboutBox" in name combo and click "Advanced >>" button. Next you must select AboutBox in ProcedureID and click OK. It's all.