How do you bind something like a listbox to an event, but keep that events default actions... ie when you bind a listbox to EVT_RIGHT_DOWN it overrides the SetSelection method that is normally called. I'm trying to call a popup menu on the right down event but I also want to normal SetSelection method to be called first... How do you bind without overriding the default methods?
ihatehippies
11
Junior Poster
Recommended Answers
Jump to PostCouldnt you just bind it to an event that called SetSelection before doing anything kinda like:
def method(self,event): self.richtext.SetSelection() #and then do all of your usual stuff here
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.