On Feb 17, 2005, at 12:15 AM, Ben Combee wrote:
At 11:52 PM 2/15/2005, Curtis Cameron wrote:I'm relatively new to Palm programming, and one of the projects I've done
is a little utility used by me and maybe a couple of other people. It
displays a modal dialog in the middle of the display, about 3/4 the width
and the height of the full diplay. Also, it's a 68000 app if that matters.
It runs fine on a real device, but the emulator is always telling me that
the modal dialog must be full width. I can't say that I understand the
reason for this. Can someone educate me?
The Palm OS UI model says that dialogs are always the full width of the
screen and bottom justified. This makes it simpler to redraw the screen if
dialogs are stacked on top of each other, and it keeps the displays consistent.
For what it's worth... One of the original reasons for this UI guideline (which dates back to Palm OS 1.0 in 1996) is that by having all dialogs stacked at the bottom edge of the display and occupying the full-width, the only buttons that are visible and therefore available to the user will be for the top-most dialog. If the top-most dialog isn't sitting at the bottom edge, or isn't full-width, then there's a chance that other (currently unavailable) buttons may be visible (from the base form or other dialogs) and that could be confusing to the user, or at least visually distracting.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
