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.

How to move my cursor to the end of the RTE?

3 posts in Objects Last posting was on 2004-09-22 00:20:33.0Z
Kevin Posted on 2004-09-20 22:12:02.0Z
Sender: 347.414f53b6.1804289383@sybase.com
From: Kevin
Newsgroups: sybase.public.powerbuilder.objects
Subject: How to move my cursor to the end of the RTE?
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <414f55b2.34f.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 20 Sep 2004 15:12:02 -0700
X-Trace: forums-1-dub 1095718322 10.22.241.41 (20 Sep 2004 15:12:02 -0700)
X-Original-Trace: 20 Sep 2004 15:12:02 -0700, 10.22.241.41
Lines: 6
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8013
Article PK: 735280

Hi, I have a RTE control and would like to move the cursor
to the end of the document via program. Is there a way to do
that?
Thanks!

-Kevin


Bruce Armstrong [TeamSybase] Posted on 2004-09-21 05:11:06.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: How to move my cursor to the end of the RTE?
Organization: TeamSybase
Reply-To: NOCANSPAM_bruce.armstrong@teamsybase.com
Message-ID: <o4dvk0lrei4ppsnvuaepu6hbv81klpq6db@4ax.com>
References: <414f55b2.34f.1681692777@sybase.com>
X-Newsreader: Forte Agent 2.0/32.646
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: 68-190-226-38.la-cbi.charterpipeline.net
X-Original-Trace: 20 Sep 2004 22:18:48 -0700, 68-190-226-38.la-cbi.charterpipeline.net
Lines: 45
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 20 Sep 2004 21:58:25 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 20 Sep 2004 22:11:06 -0700
X-Trace: forums-1-dub 1095743466 10.22.108.75 (20 Sep 2004 22:11:06 -0700)
X-Original-Trace: 20 Sep 2004 22:11:06 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8016
Article PK: 735283

Do a LineCount to get the number of lines in the control. Then you
can use SelectText to set the pointer position to that location. If
you send 0 for the toline and tochar arguments, the function sets the
pointer without selecting text.

On 20 Sep 2004 15:12:02 -0700, Kevin wrote:

>Hi, I have a RTE control and would like to move the cursor
>to the end of the document via program. Is there a way to do
>that?
>Thanks!
>
>-Kevin

Bruce Armstrong [TeamSybase]
http://www.teamsybase.com

TeamSybase blogs:
http://www.teamsybase.net/blogs

Two 3rd party books on developing with PowerBuilder
http://www.pb9books.com?source=newsgroups

Need code sample? Check out CodeXchange:
http://www.codexchange.sybase.com

Preach the gospel at all times. If necessary, use words. - Francis of Assisi
http://www.needhim.org

---------------------------------------------------------------------
DISCLAIMER:

This newsgroup message is only intended for the recipient. Given that it
is a posting to a public newsgroup, that means if you can read this
message then you are the recipient. This message may contain information
that is confidential and protected from disclosure. And then again,
it may not.

Given that TeamSybase members are not employees of Sybase, the contents
of this message do not necessarily represent the views or policies of
Sybase. Given that TeamSybase is a diverse group of users of Sybase
products, the contents of this message do not necessarily represent the
views of a significant number of the members of TeamSybase. Given that the
author has multiple personalities and hears voices in his head, the contents
of this message do not necessarily represent his own views.


Kevin Posted on 2004-09-22 00:20:33.0Z
Sender: 3969.414f58ca.1804289383@sybase.com
From: Kevin
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: How to move my cursor to the end of the RTE?
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4150c720.4b39.1681692777@sybase.com>
References: <o4dvk0lrei4ppsnvuaepu6hbv81klpq6db@4ax.com>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 21 Sep 2004 17:28:16 -0700, 10.22.241.42
Lines: 51
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 21 Sep 2004 17:07:47 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 21 Sep 2004 17:20:33 -0700
X-Trace: forums-1-dub 1095812433 10.22.108.75 (21 Sep 2004 17:20:33 -0700)
X-Original-Trace: 21 Sep 2004 17:20:33 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8020
Article PK: 735289

Thanks!

> Do a LineCount to get the number of lines in the control.
> Then you can use SelectText to set the pointer position to
> that location. If you send 0 for the toline and tochar
> arguments, the function sets the pointer without selecting
> text.
>
> On 20 Sep 2004 15:12:02 -0700, Kevin wrote:
>
> >Hi, I have a RTE control and would like to move the
> cursor >to the end of the document via program. Is there a
> way to do >that?
> >Thanks!
> >
> >-Kevin
>
> Bruce Armstrong [TeamSybase]
> http://www.teamsybase.com
>
> TeamSybase blogs:
> http://www.teamsybase.net/blogs
>
> Two 3rd party books on developing with PowerBuilder
> http://www.pb9books.com?source=newsgroups
>
> Need code sample? Check out CodeXchange:
> http://www.codexchange.sybase.com
>
> Preach the gospel at all times. If necessary, use words. -
> Francis of Assisi http://www.needhim.org
>
> ----------------------------------------------------------
> ----------- DISCLAIMER:
>
> This newsgroup message is only intended for the recipient.
> Given that it is a posting to a public newsgroup, that
> means if you can read this message then you are the
> recipient. This message may contain information that is
> confidential and protected from disclosure. And then again
> , it may not.
>
> Given that TeamSybase members are not employees of Sybase,
> the contents of this message do not necessarily represent
> the views or policies of Sybase. Given that TeamSybase
> is a diverse group of users of Sybase products, the
> contents of this message do not necessarily represent the
> views of a significant number of the members of
> TeamSybase. Given that the author has multiple
> personalities and hears voices in his head, the contents
> of this message do not necessarily represent his own
> views.