Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Tab key on SingleLineEdit

2 posts in Objects Last posting was on 2006-11-11 13:36:02.0Z
Miguel POA-RS Posted on 2006-11-08 14:00:18.0Z
From: "Miguel POA-RS" <mendes.ribeiro@terra.com.br>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Tab key on SingleLineEdit
Date: 8 Nov 2006 06:00:18 -0800
Organization: http://groups.google.com
Lines: 12
Message-ID: <1162994418.218885.89760@k70g2000cwa.googlegroups.com>
NNTP-Posting-Host: 200.198.136.137
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1162994424 23354 127.0.0.1 (8 Nov 2006 14:00:24 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 8 Nov 2006 14:00:24 +0000 (UTC)
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.0 fbspro405proxy.procergs:3128 (squid/2.5.STABLE14)
Complaints-To: groups-abuse@google.com
Injection-Info: k70g2000cwa.googlegroups.com; posting-host=200.198.136.137; posting-account=MVO3Vw0AAAAWmn9gSUnY7HixRLORr-BS
Path: forums-1-dub!forums-master!newswest.sybase.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!k70g2000cwa.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9116
Article PK: 736295

Dear group members.

I am trying to capture the Tab key on a SingleLineEdit object.
I´ve created an user event based on pbm_keydown but when I put some
code like

if key = keyTab! then...

It doesn´t execute its statements.
Any suggestion?
Thank you.


Brad Wery [TeamSybase] Posted on 2006-11-11 13:36:02.0Z
From: "Brad Wery [TeamSybase]" <bradweryatagricoreunited.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <1162994418.218885.89760@k70g2000cwa.googlegroups.com>
Subject: Re: Tab key on SingleLineEdit
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: stnbmb01bbq-ac11-62-200.dial.mts.net
X-Original-NNTP-Posting-Host: stnbmb01bbq-ac11-62-200.dial.mts.net
Message-ID: <4555dfd2@forums-1-dub>
Date: 11 Nov 2006 06:36:02 -0700
X-Trace: forums-1-dub 1163255762 205.200.62.200 (11 Nov 2006 06:36:02 -0700)
X-Original-Trace: 11 Nov 2006 06:36:02 -0700, stnbmb01bbq-ac11-62-200.dial.mts.net
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9118
Article PK: 736296

This is probably happening because the tab key is usually used to se focus
to the next control in the tab order. Depending on what you're doing you
could trap the tab key in the controls losefocus event:

//LoseFocus
IF KeyDown(KeyTab!) THEN
....
THIS.SetFocus()
END IF

Brad

"Miguel POA-RS" <mendes.ribeiro@terra.com.br> wrote in message
news:1162994418.218885.89760@k70g2000cwa.googlegroups.com...
Dear group members.

I am trying to capture the Tab key on a SingleLineEdit object.
I´ve created an user event based on pbm_keydown but when I put some
code like

if key = keyTab! then...

It doesn´t execute its statements.
Any suggestion?
Thank you.