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 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

-----Original Message-----
From: Richard Coutts [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 27, 2002 12:16 AM
To: Palm Developer Forum
Subject: Square buttons and Constructor


Hi,

I'm getting my feet wet with CW and Constructor.  I would like to have
square button in my new app, but Constructor only seems to give the option
of with/without frames.  Is there a built in way to get square buttons?  If
not, I'd appreciate someone telling me a work-around.

Thanks!
Rich


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

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

Reply via email to