On Thu, 7 Mar 2002, Matt Disher (TiBook) wrote: > I could be way off but I believe dialogs (as in FrmDoDialog) is assumed > to be a dialog like an alert dialog. It's not savvy about UI stuff > other than buttons. That being said there is no event handler for a > dialog unles you make one by making it a regular form (that looks, feels > and smells like a dialog) and provide an event handler for it.
At least in my experience... 1) You can set an event handler for a popup form by calling FrmSetEventHandler on that form before calling FrmDoDialog. 2) FrmDoDialog, even with no event handler, does popup triggers fairly well. I only know this for a fact with static lists (choices defined in the resource itself), but I can't imagine a dynamic list being any different since there's no special event handling involved... only a callback which can be (I would think) set before calling FrmDoDialog Assuming the popup triggers are being done the normal way and therefore are setting the text label of the trigger when a choice is made from the list, you can do CtlGetLabel to pull that text value out after FrmDoDialog returns (just like you can get information from checkboxes and fields) and process that. ----------------------------------------------------------------------- Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/ Software Developer // Gamer // Webmaster // System Administrator Echelon Teasers: NSA CIA FBI Mossad MI5 Cocaine Cuba Revolution Espionage -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
