Advertisement
C_Volume2 Custom Controls/ Forms/ Menus #69366

Creating Aboutbox in UserControl

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

AI

Podsumowanie 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.

Kod źródłowy
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.
Oryginalne komentarze (3)
Odzyskane z Wayback Machine