joe_pool_is
Contributor
Whenever an application is given a MenuBar and the "Standard Items" are included, there is an Edit section that includes "Redo," "Undo," "Cut," "Copy," "Paste," and "Select All."
Generally, this would be applicable to text editing controls, but I've heard a little about people using them with objects.
I generally do very basic coding (VB or C#), and I've never dealt with any of this.
Related to this ability is the ability to accept "Drag-n-Drop," or it seems like it fits into the same voodoo category to me.
Where could I find something simple on how to (redo, undo, cut, copy, paste, select all, dragNdrop) with objects?
Are events typically set up that enable and disable these menu items? For example, if nothing is selected, the Cut and Copy menu items are disabled. If there is data on the clipboard, the Paste menu item is enabled. I understand for the case where someone selects something, the programmer writes code to count how much was selected, then enables an item, but this seems like Geiko Caveman code. The activation of these menu items should respond to events.
Could anyone point me to something like that?
Generally, this would be applicable to text editing controls, but I've heard a little about people using them with objects.
I generally do very basic coding (VB or C#), and I've never dealt with any of this.
Related to this ability is the ability to accept "Drag-n-Drop," or it seems like it fits into the same voodoo category to me.
Where could I find something simple on how to (redo, undo, cut, copy, paste, select all, dragNdrop) with objects?
Are events typically set up that enable and disable these menu items? For example, if nothing is selected, the Cut and Copy menu items are disabled. If there is data on the clipboard, the Paste menu item is enabled. I understand for the case where someone selects something, the programmer writes code to count how much was selected, then enables an item, but this seems like Geiko Caveman code. The activation of these menu items should respond to events.
Could anyone point me to something like that?