473,490 Members | 2,473 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Copy/Cut/Paste menu

Is there elegant way to create Edit menu in MainMenu with standard
Copy/Cut/Paste MenuItems which will work on the Application level.

There ara Copy/Cut/Paste methods connected to the TextBox-es, but i need a
general functionality in MDI Oriented Application.

If there is a way to get the currently focused Control (TextBox), it will
do!
May 11 '06 #1
2 2188
For MDI applications, you can get the currently active MDI child through the
MDI parents .ActiveMdiChild property.

"Sasho Popovski" wrote:
Is there elegant way to create Edit menu in MainMenu with standard
Copy/Cut/Paste MenuItems which will work on the Application level.

There ara Copy/Cut/Paste methods connected to the TextBox-es, but i need a
general functionality in MDI Oriented Application.

If there is a way to get the currently focused Control (TextBox), it will
do!

May 11 '06 #2
It's not problem go get, active form (MDIChild), I was asking how to get the
control that currently has focus (Buton, TextBox, ListView...)

Thanks anyway !!!

"Brian C. Barnes" <bc******@newsgroups.nospam> wrote in message
news:A0**********************************@microsof t.com...
For MDI applications, you can get the currently active MDI child through the MDI parents .ActiveMdiChild property.

"Sasho Popovski" wrote:
Is there elegant way to create Edit menu in MainMenu with standard
Copy/Cut/Paste MenuItems which will work on the Application level.

There ara Copy/Cut/Paste methods connected to the TextBox-es, but i need a general functionality in MDI Oriented Application.

If there is a way to get the currently focused Control (TextBox), it will do!

May 12 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
2717
by: Bani | last post by:
Is it possible to get browser-menu events (IE) into Javascript? I have a special copy/paste on the onkeydown event (ctrl+c/ctrl+v). Now the users would like to trigger it also from the browser...
1
2554
by: Wladimir Borsov | last post by:
I want to mark certain text on a web page in InternetExplorer and then copy and paste it into a normal text editor. With the copied text not only the pure text should be transferred but also the...
4
21587
by: Legendary Pansy | last post by:
I was checking out the 101 C# Samples, specifically Windows Forms - Use the Clipboard. I took a look at the code for a while, and I understand what the program is doing with the cut, copy, pasting...
6
2601
by: NuB | last post by:
I have a winform and a menu on the form, It allows the users to copy and paste text from text boxes. I never had to do this before, how can I copy and paste text from one box to another?
7
11596
by: lgbjr | last post by:
Hello All, I¡¯m using a context menu associated with some pictureboxes to provide copy/paste functionality. Copying the image to the clipboard was easy. But pasting an image from the clipboard...
0
1503
by: jshoffner | last post by:
This sounds like a really silly question but I'm can't find a solution anywhere. I use the Search window within VS.NET 2003 all the time. However, when I find a sample that is usefull I would like...
6
9612
by: Ben R. | last post by:
Hi, I've got a vb.net winforms app. Out of the box, I can use Ctrl X, C and V as expected in controls like textboxes. I've got a menustrip, and if I click the link "Add standard items" which...
17
5073
by: Steve | last post by:
I'm trying to code cut, copy, and paste in vb 2005 so that when the user clicks on a toolbar button, the cut/copy/paste will work with whatever textbox the cursor is current located in (I have...
11
9622
by: John | last post by:
Hi In a winform app I need to provide a menu with Cut, Copy and Paste options., What code do I use to accomplish cut, copy and paste features for fields on a winfrom? Thanks Regards
5
11081
by: phill86 | last post by:
Hi I have a main form that holds records for scheduled meetings, date time location etc... in that form i have a sub form that has a list of equipment resources that you can assign to the meeting in...
0
6967
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7142
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7181
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6847
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4875
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3078
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1383
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
272
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.