>ubject: How to set form object properties BEFORE drawing the form
>From: "Jeremy Schwartzentruber" <[EMAIL PROTECTED]>
>Date: Thu, 31 May 2001 15:54:00 -0700
>Problem: I don't like having to call FrmDrawForm to draw a form, THEN set
>properties for form objects (such as checkbox state, etc), then call
>FrmDrawForm AGAIN. However, it doesn't seem to work to try setting >object
properties before the first call to FrmDrawForm.
Most objects can be setup before calling FrmDrawForm(). You just
have to carefully read the documentation to find out which functions are
allowed and how to use them.
You can enable and disable controls, move controls, set field values,
set/unset checkboxes, change label text, set form title, etc. etc. etc.
Doing this before the draw is a faster and visually more pleasing UI.
I'd think drawing twice would be pretty ugly!
Roger Stringer
Marietta Systems, Inc.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/