At 04:15 AM 5/19/2007, you wrote:
Subject: Move UI Elements for Focus Ring Support?
From: "P. Douglas Reeder" <[EMAIL PROTECTED]>
Date: Sat, 19 May 2007 01:57:53 -0400
X-Message-Number: 7
The PalmSource User Interface Guidelines recommend that the leftmost
button on a modele
based input. However the focus ring for one-handed navigation
is two pixels thick (in standard coordinates). Thus, when the
leftmost button has the focus, the focus ring cannot be completely
displayed -- the left and bottom borders are only one pixel thick. For
other buttons, the left border c
A user has just complained that my program crashes on her Treo 700p. The same
program works fine on the 700p emulator, and also works on her device when a
call to FrmGlueNavDrawFocusRing is removed. The object in focus is a command
button, and the failure occurs when the form is opened. I am not
Harry wrote:
If you just want to suppress the focus ring try the following (works fine in my app). In
the form event handler just "swallow" the event that gives the focus to the
control:
switch (eventP->eType) {
case frmObjectFocusTakeEvent:
return true;
...
There is
Grzegorz Szewc wrote:
If you wont to turn off nav focus ring try to add following lines in
frmOpen event:
FrmNavStateFlagsTypenavStateFlags;
Err navErr;
navErr = FrmGetNavState (frmP, &navStateFlags);
navStateF
If you just want to suppress the focus ring try the following (works fine in my
app). In the form event handler just "swallow" the event that gives the focus
to the control:
switch (eventP->eType) {
case frmObjectFocusTakeEvent:
return true;
...
There is one exeption howeve
At 02:16 PM 2/4/2006, you wrote:
I'm not sure from your example whether I must complete the object
array with every single form object I have in each form even if I
just want to completely turn off the blue focus ring.
No, just specify the mode as appFocusStartState and don't bothe
If you wont to turn off nav focus ring try to add following lines in
frmOpen event:
FrmNavStateFlagsTypenavStateFlags;
Err navErr;
navErr = FrmGetNavState (frmP, &navStateFlags);
navStateFlags &= ~kFrmNavStateFlagsObjectFocusMode
I'm not sure from your example whether I must complete the object array
with every single form object I have in each form even if I just want to
completely turn off the blue focus ring.
--
Luc Le Blanc
Grzegorz Szewc wrote:
You can create navigation file and add it to your project
At 06:35 AM 2/3/2006, you wrote:
"Ben Combee" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
>
> If you use a 'fnav' resource to tell Palm OS that your form should not be
> in Object Interaction mode, you shouldn't get the blue ring. This focus
> system has a major benefi
You can create navigation file and add it to your project.
The file extension should be .r, here is an example:
//File navigation.r
#include "StarterRsc.h" //You have to include all resource headers you
will//reference to
#define frmNavFlags \
defaultStartStateVal
"Ben Combee" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
>
> If you use a 'fnav' resource to tell Palm OS that your form should not be
> in Object Interaction mode, you shouldn't get the blue ring. This focus
> system has a major benefit for smart phone users, where i
At 11:29 PM 2/2/2006, you wrote:
When I saw my app running on a Palm E2, I noticed my most
complicated form was half filled, thanks to the new blue focus ring
that made my handler think the form had already been initialized
since FrmGetFocus no longer returned noFocus upon starting. I also
When I saw my app running on a Palm E2, I noticed my most complicated
form was half filled, thanks to the new blue focus ring that made my
handler think the form had already been initialized since FrmGetFocus no
longer returned noFocus upon starting. I also noted this blue ring can
make things
On Wednesday 18 of January 2006 14:50 Regis St-Gelais wrote:
> This was discused before but I was not able to find the thread.
>
> Is there a way to get rid of the blue focus ring without adding an fnav
> resource to the form?
Why would you like to do so? Lack of keyboard "na
This was discused before but I was not able to find the thread.
Is there a way to get rid of the blue focus ring without adding an fnav
resource to the form?
Thanks
--
Regis St-Gelais
www.laubrass.com
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please
Finally found a way to get rid of it by simply "swallowing" the event that
draws the focus ring. Add this into the form handler:
switch (eventP->eType) {
case frmObjectFocusTakeEvent:
return true;
}
It should be noted that all the
Sorry,
FrmSetNavState() does not work, no matter if I call it before or after
FrmDrawForm() and no matter what flags I set.
How do you do it in PODS? I have not made the switch from CW yet...
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www
You can disable the object focus mode to prevent 5 way navigation. I use PODS
and do this statically in the resource editor for each form. If there is no
such option in CWodeWarrior FrmSetNavState should be what you're looking for.
http://www.palmos.com/dev/support/docs/palmos/PalmOSReference/F
Hi,
on the Tungsten-E2 I want to suppress the focus ring that comes along with the
5-way navigation.
Which of the FrmNav... functions is appropriate and when should it be called?
FrmNavRemoveFocusRing() does not seem to work at all.
FrmGlueNavRemoveFocusRing() seems to be missing from the
Eric Potter wrote:
> I got my first T5 recently. One of the first things I noticed was that
> on all of my modal forms, a button is given the focus ring. How does the
> palm decide which button gets the focus? Is it possible to not give the
> focus to a button? Is it possible to con
I got my first T5 recently. One of the first things I noticed was that
on all of my modal forms, a button is given the focus ring. How does the
palm decide which button gets the focus? Is it possible to not give the
focus to a button? Is it possible to control this in the resource file?
The
Thanks Ben,
I overrode DoModal() in my parent ModalForm class so that the frmOpenEvent is
posted before the form is initialized - that worked even better.
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
At 03:50 PM 11/5/2004, you wrote:
I believe I found an even slicker solution to this problem.
Basically, POL::CModalForm is doing something so that the default focus
ring is never set. I can't for the life of me figure out what
POL::CModalForm is doing wrong, but this appears to work arou
Sorry, I should explain, my FixFnavFocus() method should be called at the end of
OnOpen().
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
I believe I found an even slicker solution to this problem.
Basically, POL::CModalForm is doing something so that the default focus ring is never
set. I can't for the life of me figure out what POL::CModalForm is doing wrong, but
this appears to work around it.
void CMyModalForm::FixFnav
At Tue, 02 Dec 2003 15:54:57, Ben Combee wrote:
At 03:50 PM 12/2/2003, Ben Summers wrote:
However, I can't seem to get the focus ring to be drawn over the
default
buttons in my forms. This is in the simulator, and on the real
hardware.
Is your form in object focus mode rather than applic
At 03:50 PM 12/2/2003, Ben Summers wrote:
However, I can't seem to get the focus ring to be drawn over the default
buttons in my forms. This is in the simulator, and on the real hardware.
Is your form in object focus mode rather than application mode?
I'm using POL with Codewarrior 9.
Hi
I'm trying to get an application working nicely on the Treo 600, and am
making sure it works well with the five way navigator button.
However, I can't seem to get the focus ring to be drawn over the
default buttons in my forms. This is in the simulator, and on the real
hardwar
29 matches
Mail list logo