Re: Capture ESC Key for Dialog in wxEuphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message

Greg, the addition of a button on your dialog screen prevents ESC from closing the dialog.

Just add

constant testbttn	= create( wxButton, {dlgDialog,-1,"OK",-1,-1,-1,-1} ) 

after

constant dlgDialog	= create( wxDialog, {0, -1, "Dialog", -1, -1, 640, 480} )  

and the dialog can't be closed with ESC key.

Now what do we do? smile

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu