Thank's  fou you help, now i can update the form and draw the field.
Very thanks

--
Open WebMail Project (http://openwebmail.org)

---------- Original Message -----------
From: kcorey <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: 01 Aug 2003 14:06:55 +0100
Subject: Re: How update one form from popuped form

> 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/
------- End of Original Message -------


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

Reply via email to