Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 New picturebox at click event
Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
element4l




PostPosted: Thu Jan 10, 2008 11:38 pm   Post subject: New picturebox at click event

This is to make a bullethole effect, where the user would click and a picturebox with the image of a bullethole would appear where they clicked.

So basically I'm asking if there is any way of creating a new picturebox at the coordinates of a mouse click. Then, preferably, later delete it but there's no big deal about that.
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Thu Jan 10, 2008 11:57 pm   Post subject: RE:New picturebox at click event

I don't remember this well, but I think that if you set up an array of controllers, then you could add and remove controls (such as a picturebox in this case) to such collection, dynamically.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: