I have a form with a table of 5 columns and 10 rows. Two of the columns
contain text fields. For any particular row, I would like to be able to
mask the text cells independently of each other. It seems that the API does
not support such a usage (would the person from Palm who conceived of this
implementation please give himself/herself 65,535 lashes with a wet
noodle?). Thus it seems that I will have to do masking myself.
1. Is it correct that masking is done by the table object, NOT by the
underlying field? (Of course, if it is done by the field, I can get the
field from the table and tell IT to mask...)
2. Is the little padlock icon available as a resource on the Palm?
3. How is the masking implemented? I would expect it to be a
WinFillRectangle call, or maybe WinPaintRectangle. If so, what is the
proper pattern (0xaaaaaaaa55555555?) or draw state to use?
4. Can I set an individual cell's item style to customTableItem when the
remainder of the cells in that column have either a textTableItem or
narrowTextTableItem style? If I do so, will my drawCallback get called as
appropriate (i.e., not get called for the cells when it is a textTableItem,
but get called both for customTableItem and narrowTableItem)? The OS 3.0
sources do NOT indicate that this would happen, but I believe them to be in
error on this point.
5. Any other words of wisdom?
I would also like to request Palm to, in future OS versions, allow the
masking of table items on a cell by cell basis!!!!!!!!!
-bob mckenzie
<[EMAIL PROTECTED]>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html