I've found it kind of strange myself that you can't create a square button
in Constructor (except a pushbutton). In fact, as far as I know, you can't
do it with PilRC either. The workaround for me is an onboard resource editor
called RsrcEdit, which is available from www.quartus.net. It's a handy
little tool. Whenever you have a version of your program ready for release
or whatever you can sync it over to your Palm, open the PRC in RsrcEdit, go
to whatever forms have the buttons you want to make square and change the
frame style to rectangular. RsrcEdit also allows you to make buttons
"display as selected" which means they display inverted on the screen. I
kind of like that look myself, although it's not the standard Palm
look-and-feel. Of course, neither are rectangular buttons, which is probably
why Constructor and PilRC don't support them.

Another option: if you're thinking about graphical buttons (with icons) you
can select the no frames option in Constructor and simply make the icon
bitmaps bordered rectangles the size of your buttons. I don't use the
graphical buttons option in Constructor to do this, though. Simply make form
bitmaps that look like buttons and position them on the form in the same
coordinates as the button they represent.

David Beers



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

Reply via email to