1. tab

When I tab (winlib 55.9) from edit text field to field the field is "blue"
for typing replace which is great. My problem is when I have edited the
field (I'm getting lost focus) and the entry has an error, I setFocus back
to the field and here arises the problem. The cursor is gone and the field
is not "blue". The not blue is OK but I need the cursor...it's gone. Any
help would be appreciated.

thanks
george

new topic     » topic index » view message » categorize

2. Re: tab

----- Original Message ----- 
From: "George Walters" <gwalters at sc.rr.com>
To: "EUforum" <EUforum at topica.com>
Subject: tab


> 
> 
> When I tab (winlib 55.9) from edit text field to field the field is "blue"
> for typing replace which is great. My problem is when I have edited the
> field (I'm getting lost focus) and the entry has an error, I setFocus back
> to the field and here arises the problem. The cursor is gone and the field
> is not "blue". The not blue is OK but I need the cursor...it's gone. Any
> help would be appreciated.
> 

Try doing a call to setIndex(theEditfld, {1,0}) right after the setFocus().

new topic     » goto parent     » topic index » view message » categorize

3. Re: tab

Derek, thanks but that did not work. I can click on the field, type in it
and generally edit it in anyway, but the cursor never shows up....until you
go to the next field.

george
----- Original Message -----
From: "Derek Parnell" <ddparnell at bigpond.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: tab


>
>
> ----- Original Message -----
> From: "George Walters" <gwalters at sc.rr.com>
> To: "EUforum" <EUforum at topica.com>
> Sent: Thursday, September 04, 2003 12:27 AM
> Subject: tab
>
>
> > When I tab (winlib 55.9) from edit text field to field the field is
"blue"
> > for typing replace which is great. My problem is when I have edited the
> > field (I'm getting lost focus) and the entry has an error, I setFocus
back
> > to the field and here arises the problem. The cursor is gone and the
field
> > is not "blue". The not blue is OK but I need the cursor...it's gone. Any
> > help would be appreciated.
> >
>
> Try doing a call to setIndex(theEditfld, {1,0}) right after the
setFocus().
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>
>

new topic     » goto parent     » topic index » view message » categorize

4. Re: tab

On Wed, 3 Sep 2003 19:29:17 -0400 (09/04/03 09:29:17)
, George Walters <gwalters at sc.rr.com> wrote:

>
>
> Derek, thanks but that did not work. I can click on the field, type in it
> and generally edit it in anyway, but the cursor never shows up....until 
> you
> go to the next field.
>

Send me a tiny example of the effect. It could be that I've fixed this in 
the newest version, but I don't  recall this effect before.

-- 

cheers,
Derek Parnell

new topic     » goto parent     » topic index » view message » categorize

5. tab

How do I get to do something with the tab and shiftTab characters. The
onKeyPress and onKeyDown don't seem to do the trick?? Must I use the
lostFocus??

..george


...george

new topic     » goto parent     » topic index » view message » categorize

6. Re: tab

On Wednesday 08 August 2001 19:57, George Walters wrote:
>
> How do I get to do something with the tab and shiftTab characters. The
> onKeyPress and onKeyDown don't seem to do the trick?? Must I use the
> lostFocus??

If you're only wanting to update other fields based on values in the current 
field, then call your update routine when the control loses focus.

If your plans are more elaborate than that, please keep this in mind:
there are millions of people out there who expect the tab key to move 
to the next control on a page, and Shift-Tab to move to the previous 
control. Best not to disappoint them. 

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

7. tab

I guess my question here is... should the tab characters be reported by
'onKeyDown'? Is this a win32 bug or is it expected to not be reported?


...george


----- Original Message -----
From: "Irv Mullins" <irvm at ellijay.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: tab


> >
> On Wednesday 08 August 2001 19:57, George Walters wrote:
> >
> > How do I get to do something with the tab and shiftTab characters. The
> > onKeyPress and onKeyDown don't seem to do the trick?? Must I use the
> > lostFocus??
>
> If you're only wanting to update other fields based on values in the
current
> field, then call your update routine when the control loses focus.
>
> If your plans are more elaborate than that, please keep this in mind:
> there are millions of people out there who expect the tab key to move
> to the next control on a page, and Shift-Tab to move to the previous
> control. Best not to disappoint them.
>
> Regards,
> Irv
>
> >
> >
>
>

new topic     » goto parent     » topic index » view message » categorize

8. Re: tab

> I guess my question here is... should the tab characters be reported by
> 'onKeyDown'? Is this a win32 bug or is it expected to not be reported?

I don't think it will be reported. I tried the same thing in Delphi, and it
catches
all keys *except* the tab key. Looks like this is Windows SOP.

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu