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.

Hard/Idiot Question, Navigate DW via keyboard ?

2 posts in Objects Last posting was on 2008-01-17 13:22:43.0Z
Steven Posted on 2008-01-17 01:20:30.0Z
Sender: 382b.478c0d98.1804289383@sybase.com
From: steven
Newsgroups: sybase.public.powerbuilder.objects
Subject: Hard/Idiot Question, Navigate DW via keyboard ?
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <478ead5e.79b9.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 16 Jan 2008 17:20:30 -0800
X-Trace: forums-1-dub 1200532830 10.22.241.41 (16 Jan 2008 17:20:30 -0800)
X-Original-Trace: 16 Jan 2008 17:20:30 -0800, 10.22.241.41
Lines: 26
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9592
Article PK: 736733

Hello to you,

I'm newbie in PB world, using PB9.
May background is VB6 using lots of third-party activex
components.

How to navigate DW via keyboard ?

I means, I can navigate it likes MS-EXCEL, or others GRID
Components.

Able to navigate POINTER to LEFT, RIGHT, UP, DOWN, by
[ENTER]/[TAB], [LEFT ARROW], [RIGHT ARROW] keystroke.

Can do Smart-Scrolling when Column is activate.

or All of you accept the "standard-behaviour" comes from PB
?

What is your general-practice for DW Navigation without
using MOUSE ?

Please advice & show me how to code it

Regards,
Steven


Millard F. Brown III Posted on 2008-01-17 13:22:43.0Z
From: "Millard F. Brown III" <millard.brown@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <478ead5e.79b9.1681692777@sybase.com>
Subject: Re: Hard/Idiot Question, Navigate DW via keyboard ?
Lines: 60
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 204.86.34.1
X-Original-NNTP-Posting-Host: 204.86.34.1
Message-ID: <478f56a3$1@forums-1-dub>
Date: 17 Jan 2008 05:22:43 -0800
X-Trace: forums-1-dub 1200576163 204.86.34.1 (17 Jan 2008 05:22:43 -0800)
X-Original-Trace: 17 Jan 2008 05:22:43 -0800, 204.86.34.1
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9595
Article PK: 736738

The default behavior usually suffices. If you need to respond to specific
keystrokes that are not part of the default navigation, you need to add an
event to decode the keypresses.

Add a new event mapped to pbm_dwnkey, and use the keypress to control your
specific navigation needs. This example simply fills in a text field, but
you can change it to move about the screen:

Choose CASE key
CASE KeyPageUp!
dw_1.Object.t_1.text='KeyPageUp!'
CASE KeyPageDown!
dw_1.Object.t_1.text='KeyPageDown!'
CASE KeyEnd!
dw_1.Object.t_1.text='KeyEnd!'
CASE KeyHome!
dw_1.Object.t_1.text='KeyHome!'
CASE KeyLeftArrow!
dw_1.Object.t_1.text='KeyLeftArrow!'
CASE KeyUpArrow!
dw_1.Object.t_1.text='KeyUpArrow!'
CASE KeyRightArrow!
dw_1.Object.t_1.text='KeyRightArrow!'
CASE KeyDownArrow!
dw_1.Object.t_1.text='KeyDownArrow!'
END CHOOSE

--
Regards,
Millard [TeamSybase]

<steven> wrote in message news:478ead5e.79b9.1681692777@sybase.com...
> Hello to you,
>
> I'm newbie in PB world, using PB9.
> May background is VB6 using lots of third-party activex
> components.
>
> How to navigate DW via keyboard ?
>
> I means, I can navigate it likes MS-EXCEL, or others GRID
> Components.
>
> Able to navigate POINTER to LEFT, RIGHT, UP, DOWN, by
> [ENTER]/[TAB], [LEFT ARROW], [RIGHT ARROW] keystroke.
>
> Can do Smart-Scrolling when Column is activate.
>
> or All of you accept the "standard-behaviour" comes from PB
> ?
>
> What is your general-practice for DW Navigation without
> using MOUSE ?
>
> Please advice & show me how to code it
>
> Regards,
> Steven