Do VBA textbox controls not have right click Cut/Copy/Paste
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Do VBA textbox controls not have right click Cut/Copy/Paste

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
Allen Johnson
Guest





Posted: Tue Dec 07, 2004 10:23 pm    Post subject: Do VBA textbox controls not have right click Cut/Copy/Paste Reply with quote

Do VBA textbox controls have right click Cut/Copy/Paste methods as in
standard VB controls?
If they do, how can you activate them? When I right-click in a textbox box
in VB, you get a popup Undo/Cut/Copy/Paste/Delete/SelectAll submenu, but I
don't seem to get that with a VBA control.

Also, do VBA Userforms not have the menubars either, say like I wanted to
create my own popup menu?

Back to top
Kevin Terry
Guest





Posted: Wed Dec 08, 2004 6:45 pm    Post subject: Re: Do VBA textbox controls not have right click Cut/Copy/Pa Reply with quote

you can use windows shortcut keys, such as ctrl+c for copy, but the right
click menu is not an easy thing to create on vba forms. you have to use the
windows api - if you're up for the challenge you might be able to find an
example on cadvault.com (use to be on vbdesign.net anyway...)

Kevin

"Allen Johnson" <ajohnson@dwase> wrote in message
news:41b5e6fb$1_2@newsprd01...
Quote:
Do VBA textbox controls have right click Cut/Copy/Paste methods as in
standard VB controls?
If they do, how can you activate them? When I right-click in a textbox
box
in VB, you get a popup Undo/Cut/Copy/Paste/Delete/SelectAll submenu, but I
don't seem to get that with a VBA control.

Also, do VBA Userforms not have the menubars either, say like I wanted to
create my own popup menu?

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB