|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
AddHandler p.MouseClick Confusing ProblemOk so i added this line of code to a dynamic PictureBox. (i dim it p)
AddHandler p.MouseClick, AddressOf Hand.Canvas_Click what it would do is change the pic on the picbox but every time you click the picturebox it raises the event several times? Public Sub Canvas_Click(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) is the sub that it raises i must be missin something. any ideas? Where did you put your "addhandler" statement?
-- Show quoteHide quoteDennis in Houston "JimBob" wrote: > Ok so i added this line of code to a dynamic PictureBox. (i dim it p) > AddHandler p.MouseClick, AddressOf Hand.Canvas_Click > what it would do is change the pic on the picbox but every time you > click the picturebox it raises the event several times? > Public Sub Canvas_Click(ByVal sender As System.Object, ByVal e As > System.Windows.Forms.MouseEventArgs) is the sub that it raises > i must be missin something. any ideas? > >
[Regular Expression] extraction when bounds are vbCr and vbLf
Help with Adding A Row How to input characters that are not present in a keyboard to a VB Better way to process many conditions with If Then User Control constructors taking arguments? UI Challenge: How to create a real outliner (like Ecco, Grandview, etc) - SampleDisplay.bmp (0/1) Book Recommendations Request datagridview.SelectedRows returns last row first? Break up string, Comma Delimited Is the difference intended? |
|||||||||||||||||||||||