If appearence is the only think you care,
then what you do is having a push button without
any group. In ctlSelect you use CtlSetValue
to remove highlighting.

This is the way I use it. Doesn't look elegant,
but no violation of Palm rules.

M.
 

-----Original Message-----
From: Laurie Davis [mailto:[EMAIL PROTECTED]]
Sent: Friday, 14 December 2001 10:18 AM
To: Palm Developer Forum
Subject: Re: Rectangle Button Frame


I have looked at PilRC and it certainly looks like it is up to the job.
Unfortunately
my application is quite large (32 forms, and most of them are very
complicated) and
I would prefer to avoid having to change everything over to PilRC.

I can use the PalmRez plugin for Creator to create the font resource, and I
was hoping that there
was a way to get Constructor to recognize it.

Laurie

"Max Bian" <[EMAIL PROTECTED]> wrote in message news:71215@palm-dev-forum...
>
> As a poor programmer I cannot afford the use of CW.  It is very easy with
> pilrc. You just need to specify the font resource to use it for button.
eg.
>
> BUTTON "\001" ID FancyButton AT ( ... ) FONT MyCustonFont, where "\001"
should
> be replaced by the character you want in your custom font.
>
> I also heard there is pilrc plugin for CW.  You may want to look into
that.
>
> Max
> --- Laurie Davis <[EMAIL PROTECTED]> wrote:
> > I like this as a potential solution to providing graphic buttons that
are
> > compatible
> > with OS3.0. The usual method of overlaying a bitmap with a button works
ok
> > in black and white, but does not highlight properly in color.
> >
> > I have been able to create an appropriate custom font, but I have not
figured
> > out how to tell Constructor to use the custom font for the button label.
I am
> > using
> > CodeWarrior 7.
> >
> > I used xFONT to create the custom font.
> >
> > Any suggestions would be appreciated,
> >
> > Laurie
> >
> >
> > "Max Bian" <[EMAIL PROTECTED]> wrote in message
news:70638@palm-dev-forum...
> > >
> > > Another way to do it:
> > >
> > > Draw a bitmap with whatever look you want your button to have (hint:
with
> > the
> > > rectangle frame you want);
> > > Make a custom font resource out of that bitmap (hint: do it for all
your
> > > buttons);
> > > Specify the buttons borderless and use the single char in your custom
font
> > as
> > > the button label.
> >
> >
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
please
> > see http://www.palmos.com/dev/tech/support/forums/
>
>
> __________________________________________________
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for all of
> your unique holiday gifts! Buy at http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
>
>



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

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

Reply via email to