Re: wxEuphoria: Drop Down Menu from Bitmap Button
- Posted by euphoric (admin) Aug 10, 2015
- 1513 views
Greg, if I wanted to add menu items dynamically (I'm building a path history list that gets read from a text file), how would I go about doing that? I'll be adding to the list during runtime. Would I keep creating wxMenuItems as needed? How do I prevent duplicates? etc...
Thank you!
ADDED: When the user clicks a wxMenuItem, I want to change the current directory, update another control (textbox), etc. How do I capture the wxMenuItem clicks, especially for ones added during runtime?
ADDED: Found the wxMenuItem demo file. Will investigate...
ADDED: I got it working! I will post the deets later, for knowledgebase purposes.