Checkbox.onClick¶
wxEVT_COMMAND_CHECKBOX_CLICKEDWhen the user clicks on this checkbox.
Example¶
This example prints the name of the checkbox when the user click.
1 2 3 4 5 | local function onClickHandler ( this, isChecked )
print ( 'the click is on the checkbox "'.. this:getSender():getName() ..'"' )
end
mycheckbox.onEnter:setHandler(onEnterHandler)
|