Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Controls At Runtime
Message
From
16/04/2002 11:36:55
 
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00645508
Message ID:
00645518
Views:
12
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?...

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform