469,935 Members | 1,792 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,935 developers. It's quick & easy.

A question about wxButton Event handler

I Create A Button Named ABtn and Blind OnABtnClick() with it .
How can i Call the ABtn Click Event just like use Abtn.click in
Delphi?
Jun 27 '08 #1
1 1520
On 6月25日, 下午6时30分, grays <grays...@gmail.com>wrote:
I Create A Button Named ABtn and Blind OnABtnClick() with it .
How can i Call the ABtn Click Event just like use Abtn.click in
Delphi?

I get it .

event = wx.CommandEvent(wx.wxEVT_COMMAND_BUTTON_CLICKED, ABtn.GetId())

ABtn.GetEventHandler().ProcessEvent(event)

thks all!
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by LutherRevisited | last post: by
18 posts views Thread by Christopher W. Douglas | last post: by
6 posts views Thread by vbMark | last post: by
9 posts views Thread by Peter Krikelis | last post: by
5 posts views Thread by John Richardson | last post: by
3 posts views Thread by Tony | last post: by
3 posts views Thread by Tony | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.