Jump to content
Xtreme .Net Talk

right click property


Recommended Posts

Guest hasnain_razwi
Posted

hi all. im having trouble using the right click event with a checkbox. ive set the appearence of the checkbox to a button. ive put in a handler for its click event but there doesnt seem to be any rightclick event. an idea?

thanks.:confused:

  • *Experts*
Posted

You would have to use MouseDown or MouseUp event, whichever one you want and use the arguments that are passed into it to check what button was pressed.

'in one of those events...
'check what button was pressed
If e.Button = MouseButtons.Right Then
 'do what you need to do when right button pressed
End If

Guest hasnain_razwi
Posted

thanks

 

thanks for that. do u know how i can display a pic next to my name. i think it is called an avatar.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...