Advertisement
4_2005-2006 Custom Controls/ Forms/ Menus #166701

Creating Aboutbox in UserControl

This article show how you can do custom AboutBox in custom control (usercontrol).

AI

Riepilogo AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Codice sorgente
original-source
First, add new form to you control and name it "frmAbout". Project the form and in UserControl code add this procedure:<br>
<br><b>Sub ShowAboutBox()<br>
   frmAbout.Show vbModal<br>
End Sub</b><br><br>
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.
Commenti originali (3)
Recuperato da Wayback Machine