Get The Copy/paste/etc Popup Menu?

Aug 16, 2010

I'm using winforms and vb.net.When I right click on a textbox I get the copy/paste/etc popup menu. This is ok. But How can I add something to this menu, and where/how would I intercept the event when one would click on the Item I add to it?

View 2 Replies


ADVERTISEMENT

.net - Disable Copy/paste Menu Popup On Textbox?

Aug 6, 2010

Using winform w/vb.net.When I have form w/a textbox and one right-clicks on the textbox a context menu pops up w/copy/paste options. How do I disable this from poping up (I want to use the right-click for my one function)?

View 2 Replies

Re-code The Menu Items Cut, Copy, Paste?

Jul 27, 2010

I am developing an MDI Text Editor, well more like upgrading my standard text editor, I am trying to re-code the menu items cut, copy, paste and so on.I have written this sub routine for the "cut" click event handler

Private Sub CutToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CutToolStripButton.Click, CutToolStripMenuItem.Click
Form2.RichTextBox1.Cut()
End Sub

Form2 being the form I designed for my child forms, the idea is that the menu control is used by Form1 the parent form, I thought that if the cut menu item looked at the RichTextBox in form2 then it would cut the line of text. it doesn't work?

View 7 Replies

VS 2008 Adding Menu Items (cut - Copy - Paste)

Aug 31, 2009

Ive added items to my menu strip, cut , copy , paste etc. but i dont know how to code them im using a tabbed web browser incase that makes a difference

View 8 Replies

Make A Right Click Menu And Have It Access Options Like Copy, Paste?

Mar 14, 2009

I'm using the code from the following site to create a file manager within my app: [url]Which, I think is great. When I first started programming, I wanted to use this code, but I couldn't understand it. I love how now, I understand most of it and know how to implement it. Which, I owe much of my progress to some of you at this site Well, back to what I was saying. I want to be able to make a right click menu and have it access options like copy, paste, etc. I'm sure I can figure that out, but I can't seem to figure out how to make a right click menu.I thought I could manipulate a menustrip, but I wasn't sure how.

View 3 Replies

While Creating Context Menu Strip / Not Able To Enter More Items Like Cut Copy Paste

Aug 14, 2009

I have created a menustrip in vb.net windows application.I typed items like &File,&Open.At design time,F and O is undelined in File and Open respectively.But at runtime,it does not seem to be.Also,while creating context menu strip,iam not able to enter more items like cut copy paste.

View 3 Replies

Textbox - Copy/paste Program - Particular Field To Show When Paste It

Nov 20, 2011

I have a small copy/paste type of program. You put text in the boxes, click copy and it copies it to the clipboard. I have a text file attached to format the text when it is copied. what I want to accomplish is...If I don't fill in every single textbox with text, I don't want that particular field to show when I paste it. Example, I have the layout like below on the text document.

textbox1.
textbox2.
textbox3.

No matter what, when I click copy, the text document is going to copy textbox1,2,and 3. If I only put text in textbox 1 and 3, I don't want it to copy textbox2 if its empty.

View 7 Replies

Create A Popup Menu?

Nov 12, 2009

How can I create a popup menu in vb 2008 for use as a context sensitive menu for when I right-click?

View 2 Replies

Creating A Popup Menu In .net?

Nov 30, 2009

Is there a way of creating a popup menu in vb.net?I want to be able to click a button and it pop up the menu next to the button.But, I want the size of the text in the menu a bit bigger.anyone know how to do it?(I have been trying for a while now and can't work it out)

View 4 Replies

Popup A Menu Error?

Feb 4, 2012

I am wanting to popup a menu when a user presses the right mouse button on my listview. Here is my code:

If e.Button = MouseButtons.Right Then
Me.cnmnuLstCopy.Show(Me.cnmnuLstCopy, e.Location)
End If

I am getting this error:

An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll

View 2 Replies

Popup Menu On A Panel?

Jul 26, 2009

how to add a right click menu onto a panel?

View 4 Replies

Asp.net - Make Ckeditor As Popup Menu?

Apr 19, 2011

How can i call ckeditor as a pop up menu. I want to retrieve a file on the ckeditor. For example .txt file. How can i do to call the .txt file. I implement it on vb.net.

View 1 Replies

Popup Menu - Only Enabled When Inside The Richtextbox

Feb 25, 2009

I have created a popup menu so that when the user right clicks it appears(in the mouseclick event). the problem is that the popup is only enabled when inside the richtextbox and this is set to readonly and i want the popup menu to enable when in either of the 4 input boxes(rtbinput1 ect)

[Code]...

View 6 Replies

[2005] Creating A Systray Popup Menu?

Jan 6, 2009

I am trying to create a popup menu when a user right clicks an icon in my systray. I need to have 3 items in this menu. How do I do that?

View 16 Replies

Interface And Graphics :: AppBar And Popup Menu Woes?

Oct 10, 2009

I have an AppBar application that I've added a few drop down menu items and context menus to, but each and every time I try to access the menus, they appear outside of the form. This is what's happening with the drop down menu button I've added to my status strip, and context menus show up on the right side as well.

View 2 Replies

Stop A Popup Menu From Being Displayed If A Cell Has Not Been Selected In A DGV?

Jul 9, 2010

How do I stop a popup menu from being displayed if a cell has not been selected in a DGV?

View 5 Replies

Visual Basic & Context Menu Add A Header To The Popup?

Nov 12, 2009

Is there a way to add a Header to the popup menu? I don't find a property for this.

View 3 Replies

[2008] Disable Menu Popup In Textbox Upon Right Click?

Jan 11, 2009

I have a textbox on my form and I am showing a contextmenustrip when the user right clicks on it. That all works but the only problem is the copy,paste,cut etc menu is appearing above it. How can I disable the copy,paste and cut menu from appearing?

View 1 Replies

Copy / Paste From More Then One RichTextBox

Jun 17, 2010

in VB6 the Copy/Cut/Paste etc. feature could be setup with "AutoVerbMenu". In .net 2008 this feauture is not available as far as I know, thus I configured the functions manually.

Everything work so far as expected for my first RichtTextBox.

[Code]...

View 10 Replies

Copy And Paste Macro?

Aug 5, 2010

In my Sheet1, i will be having a data From column A to F and in Colunm D (The Red one) it will be empty, The data can be 10 rows or might be more the 60 rows sometimes and in Column I i will have some more Data.

Now i need a macro where in sheet 2, Automatically the Lines from Column A to F should get pasted and it shlould take the Column D from column I. Once the Total line are pasted the it should go for next list of Column I.

Exm: IF i have 50 lines in Column F and in Column I i have 5 lines Then i should get the result of (50x5=250 lines) 250 lines each of 50 as per Column I.

View 1 Replies

Copy Paste Gridview Asp.net?

Dec 31, 2010

How do you copy (rightclick) some columns from a gridview (asp.net) and paste it in excel? When I try I get one line with all the data pasted in excel, and it should be in the same columns and rows as the gridview.

View 3 Replies

Copy That Value And Paste It In The Same Column?

Sep 20, 2009

I have a form text box that populates a cell in the excel sheet.I then need to copy that value and paste it in the same column. I do not know how to define the end Range since it is varible.

This is how I am getting the info into the open Sheet.

Dim Maildate As String = maildatetx.Text
wbTemplateSAS = exTemplateSAS.ActiveWorkbook
wbTemplateSAS.Sheets("SAS").Range("G9") = maildatetx.Text

View 9 Replies

Copy/Paste In DataGridView?

Nov 3, 2008

I have a datagridview and I would like to be able to select an entire row by clicking on the row header column, hit CTRL+C, then put the cursor in the next row, and hit CTRL+V to paste the contents.

Right now, it pastes all of the contents into the first cell of the new row. If I paste the contents to the clipboard, I see them correctly and they are tab delimited.

Once I get this working. I would like to be able to copy and past multiple rows at a time.

FYI, I am not using a data source at all. Most of the rows are combo boxes where a user is selecting values. There is no database connection.

View 11 Replies

Richtextbox Copy Paste Between?

Dec 30, 2010

I have an problem with copy and paste between 2 richtextboxes part of the problem is if I new the 2nd Richtextbox actual name I could paste it using rtf format because I have so many of them I use a loop to go through the controls until I find the right one using typeOf control. The problem is with that that it really doesn't act as a richtextbox. See code below.

Dim RTB As New RichTextBox
RTB.Name = sender.Tag
For Each itm As Control In EnumerateAllControls(Me)

[code]......

View 2 Replies

WebBrowser Cut Copy Paste?

Aug 14, 2011

How do I access cut, copy, paste in a WebBrowser control?

View 4 Replies

Add Copy , Cut & Paste Functions To My Listview?

Apr 6, 2009

I have a basic file explorer, which has a treeview and a listview

How can I add copy, cut & paste functions to my listview

View 1 Replies

Copy & Paste A File From .Resources?

Apr 7, 2009

How Can I Copy & Paste Lets Say Test.txt Or Test.exe From My.Resources To "C:\Temp\" ???

View 9 Replies

Copy A Section Of An Image And Paste It In Another?

Jan 26, 2011

Lets say I got two images in VB.NET. Both are 100x100.

Then I want to copy a section of the first image and paste it on the second image.

For example, lets say I want to pickup the rectangle (25,25,75,75) from the first image, and paste it at (25,25) point of the second image.

View 1 Replies

Copy And Paste A Word Document?

Sep 23, 2009

how to copy and paste a word document from one location to another

i wanted to copy a CV doc from one location say desktop to another default location where all the

CVs are located.

View 4 Replies

Copy And Paste From One Excel Sheet To Another?

Mar 18, 2011

I have 300+ excel files that need to be combined. There are 4 different types and in 4 different directories on my network. I need to copy the data out of each one and combine the data into a new single workbook (1 for each type). I have come up with a solution that does MOST of what it is supposed to do. Only problem is I can't figure out how to have the paste operation go to the same single workbook. No matter what I have tried it opens a new copy of excel to paste into everytime. Here is what I have so far.[code]...

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved