![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | How do I programmatically click on a button? I want to programmatically click on a button. How do I do this? The obvious approach of my_button.Click(); doesn't work... Thanks Phil PS It might be one of those cases were it's so obvious, you can't see it. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: How do I programmatically click on a button? I think the approach to take is my_button.RaiseEvent(new RoutedEventArgs(ButtonBase.ClickEvent) or something like that. "Philippe Lavoie" <philippe.lavoie@cactus.ca> wrote in message news:uBjFHZ1UGHA.6084@TK2MSFTNGP14.phx.gbl... >I want to programmatically click on a button. How do I do this? > > The obvious approach of my_button.Click(); doesn't work... > > Thanks > > Phil > > PS It might be one of those cases were it's so obvious, you can't see it. |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| start button right click - no response | Vista performance & maintenance | |||
| after we click button E-Mail is not junk | Vista mail | |||
| Slide Show button does not do anything when I click on it | Vista General | |||
| How to click a mouse button | Vista General | |||