> 1. While my program is running, if the user tabs on the silkscreen buttons
> or the hard keys, does the FrmCloseEvent invoke? and the AppStop() will be
> called?

Not automatically.  You need to call FrmCloseAllForms in your program
appStopEvent handler.

> 2. At a certain point in my program, I want to ignore anything the user
tabs
> on the silkscreen (except the "cancel" button in my form), I set handle to
> true in keyDownEvent but it doesn't seem to work. What do I have to do?

You'll need to intercept these events before the system event handler is
called.  If you catch the keyDownEvents in your form handler, its too
late -- the appStopEvent has already been queued.

> 3. I have a dialog form in my program ("save behind" is checked), when
user
> tab a button on this dialog form, the window doesn't redraw completely.
Part
> of the screen is erased, do I have to redraw everything to make sure? I
think,
> supposely, we don't have to that.

If you're using a 3.5 debug ROM, you need to be able to handle the
frmUpdateEvent.  This means redrawing anything in your form not drawn by the
FrmDrawForm call.  See the archives of this group for details.  You really
need to do this for any ROM version, but the 3.5 debug versions make it
explicit so you don't miss doing it.




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

Reply via email to