wxEuphoria Problems
I need to change background color of a window several times during a procedure
if possible. Something like this(though this doesn't work):
procedure change_window()
if seconds<60 then
set_back_color( MyPanel, red )
end if
end procedure
AND
I want to monitor the keyboard for a certain key stroke irregardless of
whether the window has focus.
This is the code I have but the window wants focus for the event to fire.
procedure key_event( atom this, atom event_type, atom id, atom event )
key = get_key_code(event)
end procedure
set_event_handler( MyPanel, get_id(MyPanel), wxEVT_KEY_DOWN ,
routine_id("key_event"))
|
Not Categorized, Please Help
|
|