Re: Tree using wxEuphoria
- Posted by mattlewis (admin) Mar 24, 2012
- 1998 views
EUWX said...
I thought it was simple request, but after 74 views there is no answer. Perhaps I ought to change to Linux as there seems to be more support for it here.
Could anybody please direct me to which version of linux I should install to get going fast with Euphoria and wxEuphoria and cross the hurdle?
I just want to get going further with using Tree control in wxEuphoria.
Sorry, I'd been meaning to reply to you...
Try putting the following event handler into the tree_list_demo.exw demo:
procedure on_right_click(atom this, atom event_type, atom id, atom event ) atom item = get_tree_event_item( event ) message_box( get_tree_text( tree, item ), "right click", wxOK ) end procedure set_event_handler( tree, -1, wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, routine_id("on_right_click") )
It pops up a message box when you right click on one of the tree items.
Matt