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.

Highlight text in datawindow using arrow keys

2 posts in Appeon (partner product) Last posting was on 2007-07-25 02:40:07.0Z
Arnie Posted on 2007-07-18 03:29:00.0Z
Sender: 47c2.469d8144.1804289383@sybase.com
From: Arnie
Newsgroups: sybase.public.appeon
Subject: Highlight text in datawindow using arrow keys
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <469d88fc.48f3.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 17 Jul 2007 20:29:00 -0700
X-Trace: forums-1-dub 1184729340 10.22.241.41 (17 Jul 2007 20:29:00 -0700)
X-Original-Trace: 17 Jul 2007 20:29:00 -0700, 10.22.241.41
Lines: 17
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:1952
Article PK: 13215

Hi, Anybody here knows how to highlight the entire text in
datawindow columns. I'll try to do coding in pbm_dwnkey
event of my datawindow and works fine in PB but when I
deployed to Appeon, it doesnt highlight. Below is my code:

If key KeyLeftArrow!
this.setcolumn(This.Getcolumn())
this.scrolltorow(This.Getcolumn())
This.PostEvent("ue_postevent")
End if

ue_postevent code:
This.SetRow(This.Getrow())
This.Setfocus()


thanks!


Sally Li Posted on 2007-07-25 02:40:07.0Z
Sender: 75c2.469ef7ae.1804289383@sybase.com
From: Sally Li
Newsgroups: sybase.public.appeon
Subject: Re: Highlight text in datawindow using arrow keys
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <46a6b807.67a3.1681692777@sybase.com>
References: <469d88fc.48f3.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 24 Jul 2007 19:40:07 -0700
X-Trace: forums-1-dub 1185331207 10.22.241.41 (24 Jul 2007 19:40:07 -0700)
X-Original-Trace: 24 Jul 2007 19:40:07 -0700, 10.22.241.41
Lines: 28
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:1959
Article PK: 13219

Hi Arnie,

This problem is caused by Keyboard navigation which is a
partially supported feature on the Web.
If you use click the mouse in the datawindow column, text
will be highlighted entirely.

Regards
Sally Li

> Hi, Anybody here knows how to highlight the entire text in
> datawindow columns. I'll try to do coding in pbm_dwnkey
> event of my datawindow and works fine in PB but when I
> deployed to Appeon, it doesnt highlight. Below is my code:
>
> If key KeyLeftArrow!
> this.setcolumn(This.Getcolumn())
> this.scrolltorow(This.Getcolumn())
> This.PostEvent("ue_postevent")
> End if
>
> ue_postevent code:
> This.SetRow(This.Getrow())
> This.Setfocus()
>
>
> thanks!