Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding Controls At Runtime
Message
De
16/04/2002 11:36:55
 
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00645508
Message ID:
00645518
Vues:
13
This message has been marked as the solution to the initial question of the thread.
Use:
Dim ctlNewControl as Control
Set ctlNewControl = UserControl.Controls.Add("VB.CommandButton", "cmdTest", fraControl)

ctlNewControl.Caption = "New Group"
ctlNewControl.Height = 315
ctlNewControl.Width = UserControl.Width - 50
ctlNewControl.Visible = True

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform