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.

rte_1.Facename work in 11.5?

2 posts in Last posting was on 2008-11-05 16:07:55.0Z
Sybase Posted on 2008-09-17 13:31:16.0Z
From: "Sybase" <fake_email@aol.com>
Newsgroups: sybase.public.powerbuilder.rte
Subject: rte_1.Facename work in 11.5?
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48d106a4$1@forums-1-dub>
Date: 17 Sep 2008 06:31:16 -0700
X-Trace: forums-1-dub 1221658276 10.22.241.152 (17 Sep 2008 06:31:16 -0700)
X-Original-Trace: 17 Sep 2008 06:31:16 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.rte:184
Article PK: 791811

Anyone know if coding in powerscript to change the font of the RTE works yet
in 11.5? Something as simple as:

rte_1.FaceName = "Arial"
rte_1.ReplaceText("Hello World")
rte_1.FaceName = "Courier New"
rte_1.ReplaceText("Hello World")

doesn't work in either 10.5.n nor 11.n up to 11.5 which I haven't tried.
Nor does programically selecting all text and changing the font. Changing
fonts interactively works, but most of my processing is batch and in code,
not user-driven.

Yes, I tried using the samples on CodeXChange to change font, but they
crash, after batch-processing about 2000 documents. Without using these
samples, and without the ability to change fonts, I can batch process
hundreds of thousands of documents.

I know the RTE has been a PITA to Sybase way back, as it has been to me, but
if you're going to say in the documentation that FaceName = "Blah" is going
to work, then please make it work.

Thanks to anyone who can test this in 11.5 so I don't have to bother
downloading it if I don't need to,

-cp


Craig Posted on 2008-11-05 16:07:55.0Z
From: "Craig" <fake_email@aol.com>
Newsgroups: sybase.public.powerbuilder.rte
References: <48d106a4$1@forums-1-dub>
Subject: Re: rte_1.Facename work in 11.5?
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4911c4db$1@forums-1-dub>
Date: 5 Nov 2008 08:07:55 -0800
X-Trace: forums-1-dub 1225901275 10.22.241.152 (5 Nov 2008 08:07:55 -0800)
X-Original-Trace: 5 Nov 2008 08:07:55 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.rte:193
Article PK: 791818

To answer my own question, and probably save others from wasting their time,
no it still doesn't work.

-cp

"Sybase" <fake_email@aol.com> wrote in message
news:48d106a4$1@forums-1-dub...
> Anyone know if coding in powerscript to change the font of the RTE works
> yet in 11.5? Something as simple as:
>
> rte_1.FaceName = "Arial"
> rte_1.ReplaceText("Hello World")
> rte_1.FaceName = "Courier New"
> rte_1.ReplaceText("Hello World")
>
> doesn't work in either 10.5.n nor 11.n up to 11.5 which I haven't tried.
> Nor does programically selecting all text and changing the font. Changing
> fonts interactively works, but most of my processing is batch and in code,
> not user-driven.
>
> Yes, I tried using the samples on CodeXChange to change font, but they
> crash, after batch-processing about 2000 documents. Without using these
> samples, and without the ability to change fonts, I can batch process
> hundreds of thousands of documents.
>
> I know the RTE has been a PITA to Sybase way back, as it has been to me,
> but if you're going to say in the documentation that FaceName = "Blah" is
> going to work, then please make it work.
>
> Thanks to anyone who can test this in 11.5 so I don't have to bother
> downloading it if I don't need to,
>
> -cp
>