New topic in General: PopupMenu: triggering a method
mvreade - Tue Apr 29, 2008 5:09 pm <http://forums.realsoftware.com/viewtopic.php?t=22122> Hi, I was using the PopupMenu.MouseDown to load values from a database. Then I was using the PopupMenu.Change to trigger the next action depending on the user's choice (i.e. perform a query based on the rowtag). I actually have 3 different popupmenu's on this window, the change to any of which triggers the query. So, for example, when I load the window, the query gets triggered 3 times. I was wondering if there is a more efficient way of doing this. I tried using the MouseUp event, but if I return true on the MouseDown event then the list doesn't display. So, is there a way for me to have the list display on the MouseDown event AND be able to capture the MouseUp event? Or is there another, better, way of doing this? Thanks, Michael -- Over 900 classes with 18000 functions in one REALbasic plug-in. The Monkeybread Software Realbasic Plugin v8.1. <http://www.monkeybreadsoftware.de/realbasic/plugins.shtml> [email protected]
