Re: wxRadioBox

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

The default is set to 0... not 1..

Also note that in the set_event_handler, wxEVT_COMMAND_RADIOBOX_SELECTED works, whereas wxEVT_COMMAND_RADIOBUTTON_SELECTED does not .

-- select a link 
procedure onSet_lradio(atom this, atom event_type, atom id, atom event )  
	screenSet(-2)  
	linkNum = (get_radio_selection(this)+1)*10  
	screenSet((get_radio_selection(this)+1)*10)  
end procedure 
set_event_handler(lradio,get_id(lradio),wxEVT_COMMAND_RADIOBOX_SELECTED, routine_id("onSet_lradio")) 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu