Re: wxEuphoria events don't work

new topic     » goto parent     » topic index » view thread      » older message » newer message
ghaberek said...

The event handler system, as a whole, works fine. Can you provide an example of an event that does not work? I think there are a few that are declared but don't work yet. Are you calling set_event_handler() correctly? You should look at the provided examples to gain an understanding of how event handlers are setup.

-Greg

I have something set up wrong. But I don't have a clue what. All the events fail to work and all used to work. Here is a small example.

procedure onClick_btnCheck1(atom this, atom event_type, atom id, atom event) 
  check1() 
  shade_check1() 
end procedure 
set_event_handler( btnCheck1, get_id(btnCheck1),wxEVT_COMMAND_BUTTON_CLICKED,routine_id( "onClick_btnCheck1" )) 

This used to work. Now it doesn't work. I don't have a clue why.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu