Brandon,
I already tried that.
The font character does NOT match the better rendered version.
I used POSE on Windows a Zoomin app from VC++ to confirm that edges of the
circle are smoother
and the i inside is 1 pixel taller.
Font char may be "good enough" for some uses though.
Randy
-----Original Message-----
From: Brandon Wallace [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 21, 2000 2:10 PM
To: Palm Developer Forum
Subject: Re: Multiple Help Messages
Here's a tip:
One of the symbol fonts has a character that is
the little circle i icon.
So you can make a normal button with no frame and
use this font and set the label to the right
character (like when making an up/down scroll button).
Then you can use the normal ctlSelectEvent and not have
the downside of your method.
Sorry I don't remember which font/char # it is, though.
Brandon
Randy Maxwell wrote:
>
> Rob,
> In Constructor:
> I used a form bitmap that looks just like the circle i icon.
> I placed a gadget at top right of form over the bitmap.
>
> In the event handler:
> case penDownEvent:
> // See if tap on Help icon area
> {
> FormPtr frm;
> RectangleType bounds;
> // Get the bounds of the Help icon area.
> frm = FrmGetActiveForm();
> FrmGetObjectBounds( frm,
> FrmGetObjectIndex( frm, FormXXXHelpBitMap ),
> &bounds );
> if (RctPtInRectangle(event->screenX, event->screenY,
> &bounds))
> {
> if ( FormXXXMode == OPTION_1 )
> FrmHelp( Option_1_HelpString );
> else
> if ( FormXXXMode == OPTION_2 )
> FrmHelp( Option_2_HelpString );
> else
> ...
>
> handled = true;
> }
> }
> break; // end pen down
>
> The only downside to this approach is that for a real Help button run by
the
> OS the user can tap down and the drag outside of the button and help will
> NOT launch as the release is outside the control.
>
> The way above will launch the Help form immediately when the pen down is
> done.
>
> Regards,
> Randy Maxwell
> [EMAIL PROTECTED]
>
> -----Original Message-----
> From: Rob Graber [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 21, 2000 8:34 AM
> To: Palm Developer Forum
> Subject: Multiple Help Messages
>
> Dear Fellow Developers,
>
> I have a form designed in Codewarrior's Constructor with a HelpID and a
Help
> String. It therefore shows the little "info" icon in the upper right part
> of the form.
>
> I want to have multiple help strings that popup based on certain
conditions
> in the form. How can I dynamically control which help string pops up? I
> have found the FrmHelp API call, but how do I know what event occurs when
> the user taps the "info" icon so that I can trap that event and handle it
> with conditional FrmHelp calls?
>
> Any experience/suggestions?
>
> Very truly yours,
>
> Rob G.
>
> --
> 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/
--
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/