From: vbDavidC on
Hello,

I have been using VB for a while but am having a problem with this.

I am creating a simple form with textboxes. After I format the first
textbox I want to make a copy of it although not a control array.
When I select the textbox I do a Ctrl-C or copy but when I do a Ctrl-V
(paste in menu is not enabled).

I can do this with Command boxes but not textboxes.

Am I doing something wrong.
From: mayayana on
It works fine for me. It also works fine with
the mouse and context menu. You should
get a message that asks if you want to create
a control array. When you click No it copies
the control with a new name. (You do realize
this is a VB group and not VB.Net?)

>
> I have been using VB for a while but am having a problem with this.
>
> I am creating a simple form with textboxes. After I format the first
> textbox I want to make a copy of it although not a control array.
> When I select the textbox I do a Ctrl-C or copy but when I do a Ctrl-V
> (paste in menu is not enabled).
>
> I can do this with Command boxes but not textboxes.
>
> Am I doing something wrong.


From: duke on
On Jan 26, 9:32 pm, vbDavidC <davidsusergro...(a)yahoo.com> wrote:
> Hello,
>
> I have been using VB for a while but am having a problem with this.
>
> I am creating a simple form with textboxes.  After I format the first
> textbox I want to make a copy of it although not a control array.
> When I select the textbox I do a Ctrl-C or copy but when I do a Ctrl-V
> (paste in menu is not enabled).
>
> I can do this with Command boxes but not textboxes.
>
> Am I doing something wrong.

I just tried doing what you suggested with textboxes and it worked
fine for me.
If you are hitting Ctrl-V to do the paste, you are doing so without
displaying the menu and it copies just fine.
Of course you do have to say "NO" to the prompt asking about creating
an array each time you hit Ctrl-V if that is what you want, personally
I use arrays at every opportunity.
Try again, it should work... What can I say???

Duke
From: Nobody on
Try disabling all Addins, or resetting any toolbar customization.


From: vbDavidC on
On Jan 26, 11:18 pm, duke <nosp...(a)3web.net> wrote:
> On Jan 26, 9:32 pm, vbDavidC <davidsusergro...(a)yahoo.com> wrote:
>
> > Hello,
>
> > I have been using VB for a while but am having a problem with this.
>
> > I am creating a simple form with textboxes.  After I format the first
> > textbox I want to make a copy of it although not a control array.
> > When I select the textbox I do a Ctrl-C or copy but when I do a Ctrl-V
> > (paste in menu is not enabled).
>
> > I can do this with Command boxes but not textboxes.
>
> > Am I doing something wrong.
>
> I just tried doing what you suggested with textboxes and it worked
> fine for me.
> If you are hitting Ctrl-V to do the paste, you are doing so without
> displaying the menu and it copies just fine.
> Of course you do have to say "NO" to the prompt asking about creating
> an array each time you hit Ctrl-V if that is what you want, personally
> I use arrays at every opportunity.
> Try again, it should work... What can I say???
>
> Duke

I know what both of you are saying. If I do this operation on a
command button or optionbutton it works. It also does not work with
labels..

The other way it works is if I select more than 1 control for example
2 textboxes it allows me to do the copy. If I only select only 1
textbox I get no prompt.

weird. thanks.