On Fri, 2003-08-01 at 14:13, rguevara wrote:
> I don't know the event received from one poped form to form launcher, i need
> update one field from Form_main, with the string selected from the popup form, i
> don't know what event receive the main form, (frmLoadEvent, frmOpenEvent and
> FrmUpdate Event don't  work).
> Please help me!

You create your own events indicating a change, enqueue them with
EvtAddEventToQueue(), and call FrmReturnToForm(0).  The popped up form
disappears, and the form behind the current one gets the event.

This was the way my code worked up until I tripped over a problem in
FrmPopupForm/FrmReturnToForm.  Basically, I'd get a crash on all Palms,
all operating systems, and there wasn't much I could do about it.

Now, I just use FrmGotoForm instead, so as I enter each form it's
repopulated with current information.  I've got a simple stack mechanism
behind it so that the flow is the same.

As it turns out, that was the only way to get this application working
again.  Crufty, but it works.

-Ken


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

Reply via email to