Hi,

Does sending frmUpdateEvents to a form other than the active form (using
FrmUpdateForm) only work just before you close the active form?

Let me explain. In my app I implement custom categorization. I display my
"Edit Categories..." dialog on top of the main form (which shows the
category popup trigger). Now whenever the user adds/renames/deletes a
category in the "Edit Categories..." dialog I want to post an frmUpdateEvent
to the main form, so that it can update the category popup trigger and list.
This is a clean approach.

Now this only seems to work when I post the event just prior to closing the
dialog.  Example:

FrmUpdateEvent(frmMain, CATEGORY_RENAMED); // This works
FrmReturnToForm(0);

However, when I call FrmUpdateEvent just after the user has edited the
category (while the dialog is still displayed), the frmUpdateEvent never
reaches my main form's event handler and seems to get ignored altogether.


Thanks
-Laurens




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

Reply via email to