![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | [beginner] ApplicationCommands.Copy, I don't get it! I try to discover and play with WPF. I "designed" a very simple GUI with Orcas C# express, with 1 button and 1 text box. then, in the windows constructor, after InitializeComponent() I added: butPaste.Command = ApplicationCommands.Paste; now I don't get it, the button is always gray. I have a book which tell me to bind delegate to the Execute(), CanExecute() method but.. how do I know that the focused text change has changed or such things? I though that one benefit of action was automatic tracking of the focused component and its parent to automatically enable / disbale actions.... if it doesn't how do I track it? |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: [beginner] ApplicationCommands.Copy, I don't get it! I guess I can try something with the bubbling GotFocusEvent at the top level form..... any idea? "Lloyd Dupont" <net.galador@ld> wrote in message news:OjoFw0ulHHA.208@TK2MSFTNGP05.phx.gbl... >I try to discover and play with WPF. > I "designed" a very simple GUI with Orcas C# express, with 1 button and 1 > text box. > then, in the windows constructor, after InitializeComponent() I added: > > butPaste.Command = ApplicationCommands.Paste; > > > now I don't get it, the button is always gray. > I have a book which tell me to bind delegate to the Execute(), > CanExecute() method but.. how do I know that the focused text change has > changed or such things? > > I though that one benefit of action was automatic tracking of the focused > component and its parent to automatically enable / disbale actions.... > > if it doesn't how do I track it? > |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| beginner trying to use briefcase | magpiefound | Vista General | 4 | 03-12-2008 12:46 PM |
| Cmdlets a beginner should know about | Marco Shaw [MVP] | PowerShell | 11 | 01-22-2008 08:20 AM |
| WPF beginner question | lallous | Avalon | 13 | 08-17-2007 03:19 AM |
| prospective beginner | FireBrick | Vista installation & setup | 4 | 02-17-2007 09:48 PM |
| Beginner questions | Etienne Boucher | Avalon | 6 | 01-10-2006 03:53 PM |