Peter Epstein at [EMAIL PROTECTED] wrote:
> That will erase the table, but if you call FrmDrawForm, it'll draw the table
> again. That means you'd need to carefully handle the frmUpdateEvent in such a
> way as to avoid calling FrmDrawForm.
Are you suggesting that I write my own version of FrmDrawForm that skips
over hidden tables? Hmmm... I'd never thought of that, but I suppose that
it would work, even if it was a little messy... Don't you worry that
different versions of the Palm OS might be doing different things in
FrmDrawForm, and my version would fail to reproduce it faithfully?
> I suggest using TblSetRowUsable to set
> all the rows to be unusable. This is normally done for all the unused rows off
> the bottom of the screen. For example, if you enter a very long to do item
> that takes 5 lines, leaving room for only 6 more to do items, the table will
> still have 11 rows, but only the first 7 will be usable.
I tried this, but FrmDrawForm still calls TblDrawTable, which then erases
from the bottom of the last used row to the bottom of the form. This has
two problems. First, if the background color of the table isn't the same as
the background color of the form, you can see the shape of the table.
Second, it obliterates any visible form objects that were drawn before it.
Why exactly does POSE object to my placing a table off the edge of the form
in order to hide it? It seems to work fine -- so what's the problem?
--Stuart A. Malone
Llamagraphics, Inc.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/