I'm fairly certain only if 'YOU' handle the dialog. 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.
- :-D -- Matt Disher [EMAIL PROTECTED] > From: [EMAIL PROTECTED] > Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Date: Thu, 7 Mar 2002 13:20:11 -0800 > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Subject: Re: Looking for example popup list dialog code > > > I was able to get the dialog form to run the pop-up list, but I am > having problems making it run cleanly through POSE. I tap the pop-up's > triangle and it displays the list. When I select an item, I get a > couple of bad pointer/handle type warnings (I forgot which one) that I > can continue through. Every once in a while, I get a fatal error, but I > haven't determined a pattern on that yet. > > However, if this is not the right way to do this, can I use a regular > list in the dialog? > > alan > > ---Original Message--- > From: "Palm Developer Forum" <[EMAIL PROTECTED]> > To: Palm Developer Forum <[EMAIL PROTECTED]> > Date: Thu, 7 Mar 2002 15:49:14 -0500 > Subject: Re: Looking for example popup list dialog code > > Hrms... > > Off the top of my head I don't think you can do this that way. > FrmDoDialog > treats the form as a modal dialog. All you're ever gonna get back is the > button that was tapped (and only one can be tapped). > > You need to do FrmPopUpForm (to acheive the same effect) but establish an > event handler for the form. > > In this event handler you set the popup an retrieve it's settings then > go > back to the previous form with FrmReturnToForm. > > -MD > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Sent: Thursday, March 07, 2002 3:22 PM > Subject: Looking for example popup list dialog code > > >> >> Can someone point me to some sample code that sets up a FrmDoDialog() >> call and picks through the results for a form that has a pop-up list on >> it? I keep botching this up in my application. >> >> alan >> >> >> >> -- >> For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/tech/support/forums/ >> > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/tech/support/forums/ > > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please > see http://www.palmos.com/dev/tech/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
