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 using ??

2 posts in DataWindow .NET Last posting was on 2004-09-24 14:17:28.0Z
Peter Stojkovic Posted on 2004-09-24 08:02:19.0Z
From: "Peter Stojkovic" <Peter.Stojkovic@gmx.net>
Newsgroups: sybase.public.datawindow.net
Subject: Tab key using ??
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: ex.sms-eumuco.de
X-Original-NNTP-Posting-Host: ex.sms-eumuco.de
Message-ID: <4153d48b$1@forums-1-dub>
Date: 24 Sep 2004 01:02:19 -0700
X-Trace: forums-1-dub 1096012939 195.126.202.3 (24 Sep 2004 01:02:19 -0700)
X-Original-Trace: 24 Sep 2004 01:02:19 -0700, ex.sms-eumuco.de
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:432
Article PK: 124862

I have a datawindow with three inputfields
( Tab-Sequence-No : 10,20 and 30 (defined in ))

Outside the datawindow I have two controls
A Commandbutton OK ( Tab order 200 )
A Commandbutton Cancel ( Tab order 300 )


When I start the window, the cursor moves to Input-field 1
After TAB to input-field 2
After TAB to input-field 3
After TAB to input-field OK
After TAB to input-field Cancel
After TAB to input-field 3
After TAB to input-field OK
After TAB to input-field Cancel
After TAB to input-field 3
After TAB to input-field OK
After TAB to input-field Cancel

I never comes back to inputfield 1 or 2 . That is only possible with
SHIFT-TAB

What I have to do, so that the TAB-Sequence includes input-field 1 and 2
always ?

Peter Stojkovic


Jim O'Neil [Sybase] Posted on 2004-09-24 14:17:28.0Z
From: "Jim O'Neil [Sybase]" <joneil_at_sybase_dot_com>
Newsgroups: sybase.public.datawindow.net
Subject: Re: Tab key using ??
Message-ID: <mva8l0dfjlv71ohthmbu48ncvf4qjv2vhb@4ax.com>
References: <4153d48b$1@forums-1-dub>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: joneilw2k.sybase.com
X-Original-Trace: 24 Sep 2004 07:17:25 -0700, joneilw2k.sybase.com
Lines: 39
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 24 Sep 2004 07:17:26 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 24 Sep 2004 07:17:28 -0700
X-Trace: forums-1-dub 1096035448 10.22.108.75 (24 Sep 2004 07:17:28 -0700)
X-Original-Trace: 24 Sep 2004 07:17:28 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:438
Article PK: 124867

The DataWindow will retain the column and row that last got focus,
which is what you are seeing. You would need to explicitly do a
dw.SetColumn(1) (and perhaps SetRow(1) if you want to go back to the
very beginning). Putting this code in your Cancel button's lose focus
event should work.

On 24 Sep 2004 01:02:19 -0700, "Peter Stojkovic"

<Peter.Stojkovic@gmx.net> wrote:

>I have a datawindow with three inputfields
>( Tab-Sequence-No : 10,20 and 30 (defined in ))
>
>Outside the datawindow I have two controls
>A Commandbutton OK ( Tab order 200 )
>A Commandbutton Cancel ( Tab order 300 )
>
>
>When I start the window, the cursor moves to Input-field 1
>After TAB to input-field 2
>After TAB to input-field 3
>After TAB to input-field OK
>After TAB to input-field Cancel
>After TAB to input-field 3
>After TAB to input-field OK
>After TAB to input-field Cancel
>After TAB to input-field 3
>After TAB to input-field OK
>After TAB to input-field Cancel
>
>I never comes back to inputfield 1 or 2 . That is only possible with
>SHIFT-TAB
>
>What I have to do, so that the TAB-Sequence includes input-field 1 and 2
>always ?
>
>Peter Stojkovic
>
>