|
-
Jun 6th, 2001, 04:32 PM
#1
-
Jun 6th, 2001, 04:36 PM
#2
VB Code:
Private Sub Command1_Click()
Controls.Add "VB.Label", "Label1"
Me!Label1.Move 0, 0
Me!Label1.Caption = "New label"
Me!Label1.Visible = True
End Sub
-
Jun 6th, 2001, 04:42 PM
#3
Frenzied Member
Orrrrrrrrrr, suposing you have a command1 (it can be anything actually) with its index set to 0:
Code:
Load Command1(Command1.count) 'add a new command1 to the array
Command1(command1.count-1).Left = Command1(command1.count-2).Left
Command1(command1.count-1).Top = Command1(command1.count-2).top+Command1(command1.count-2).height 'put it under the previous one
Command1(command1.count-1).visible = true 'nake it visible (duh!!!)
retired member. Thanks for everything 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|