This will move one to a given location
pic2.Location = New System.Drawing.Point(175, 252)
pic2.Visible = True
But I want to create them and I would like assign the locations based 2 things
1. Mouse click ......
2. but would also like doing this using variables o an array of coordinate integers
I tried this to create ...
but I couldnt figure out how to ad the handler or assign address of for a picture box
not evn sur if this is right ... I sort of think Im on the right track though
This really worked fin with the button event ... I clicked on it and the red spot went right wer I wanted it to ... I know its not high end drawing stuff but I dont know about that and this is a great work around for me ..
I just need to figure out how to assign the coordinates and crate the picture boxes
or get the mouse click coordinate and assign it
The idea is to have multiple pictureboxs acting as my littl red dots to mark my map ... sure looks like a grat idea
All help appreciated ....
vbMarkO
pic2.Location = New System.Drawing.Point(175, 252)
pic2.Visible = True
But I want to create them and I would like assign the locations based 2 things
1. Mouse click ......
2. but would also like doing this using variables o an array of coordinate integers
I tried this to create ...
Code:
Dim pct As New PictureBox()
pct.Location = New System.Drawing.Point(177, 228)
pct.Size = New System.Drawing.Size(5, 5)
pct.BackColor = Color.Red
pct.BringToFront()
Me.Controls.Add(pct)
not evn sur if this is right ... I sort of think Im on the right track though
This really worked fin with the button event ... I clicked on it and the red spot went right wer I wanted it to ... I know its not high end drawing stuff but I dont know about that and this is a great work around for me ..
I just need to figure out how to assign the coordinates and crate the picture boxes
or get the mouse click coordinate and assign it
The idea is to have multiple pictureboxs acting as my littl red dots to mark my map ... sure looks like a grat idea
All help appreciated ....
vbMarkO