Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Popup menu in textfields


Message #1 by "Mark Roworth" <mark@d...> on Wed, 27 Feb 2002 12:29:04 -0000
If you have at least one thing you would rather the user can do, you can 
present your own popup menu to repalce Cut/Copy/Paste.  Just create a 
popup and intercept the MouseDown event with something like:
   
   If Button = vbRightButton Then
      PopupMenu ......(and so on)
   End If

R

> 
> Does anyone know how to stop the "Cut Copy Paste" popup menu appearing 
in
> textfields in VB under Win2000? I want to have my own popup menu, which
> doesn't appear (as a result of this?). Anyone had to do this? Many 
thanks,
> 
> Mark Roworth
> Dolphin Computing Ltd
> www.dolphincomputing.co.uk
> Phone: (UK) 01273 262865
> 
> 

  Return to Index