I'm trying to set up a modal form for a search. Because this form will not
only
allow the user to enter text (with a button Keyboard support) but also the
ability
to scan in a barcode, I'm thinking despite the overhead FrmPopupForm is the
call of choice.

Now.... on the MainForm I've got a button to open the modal search form
using
FrmPopupForm(), On this MainForm, I've got a pdb generated list of the
searchable
items.

I handle the button event for the main form to popup the search form....
The search form has an OK and a Cancel button....
Once the user enters a search value and hits okay, I'm returning the index
of the
matching key value so I can hilite the proper list item....

But, how do I control the list from this form?

I tried this from within the Search Form Ok Button Event Handler....
form = FrmInitForm(MainListForm);
FrmSetActiveForm(form);
....etc....etc.. LstSetSelection().....

But then I get an error saying that there is no event handler? I'm
How do I get around this?





Nole Mailey


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to