|
-
Jun 25th, 2003, 03:00 AM
#1
Thread Starter
Junior Member
How to create Array Button
Dear All,
I have a button object when i click on it it will automate create 5 array button object on screen. I have done it in VB6 but since .NET does not support array object anymore. I have try some .NET code but it can't work
HOW am i do this in VB. NET)?
Sample VB6 code :-
Load Button1(1)
Button1(1).left = 100
Load Button1(2)
Button1(2).left =200
.....
Sample VB .NET Code :-
Dim objPic As New PictureBox
objPic.Left = 150
objPic.Top = 230
objPic.Image.FromFile("D:\VB.NET\click1.jpg")
PictureBox1.Left = 150
PictureBox1.Width = 230
objPic.Visible = True
Pls Advise , TIA
regards
Jason
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
|