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.

Problems with B. Armstrongs RTF example with PB10.5

3 posts in Objects Last posting was on 2006-03-31 16:06:15.0Z
Uwe Schiebold Posted on 2006-03-31 08:35:51.0Z
From: "Uwe Schiebold" <uwe.schiebold@epos-gmbh.de>
Newsgroups: sybase.public.powerbuilder.objects
Organization: 85.216.52.175
X-Newsreader: AspNNTP 1.50 (Takeshi Eto)
Subject: Problems with B. Armstrongs RTF example with PB10.5
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: web110.discountasp.net
X-Original-NNTP-Posting-Host: web110.discountasp.net
Message-ID: <442ce9e7$1@forums-1-dub>
Date: 31 Mar 2006 00:35:51 -0800
X-Trace: forums-1-dub 1143794151 64.79.161.40 (31 Mar 2006 00:35:51 -0800)
X-Original-Trace: 31 Mar 2006 00:35:51 -0800, web110.discountasp.net
Lines: 21
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8819
Article PK: 736024

Hello!

I have a little problem with Bruce Armstrongs RTF example from Sybase
Codeexchange Page.
In this example the font size of the richtext control can be changed from
Powerscript.
This is working very fine with PB9 and PB10.
But now I want to go to PB10.5 and cannot change the fontsize any more.
I tried to set the Classname property of u_rte_demo to each of the
Childcontrols, which are
"PBTxTextControl", "PBTxButtonBar", "PBTxRuler", "PBTxStatusBar", but none
of them is working!

Does anyone have any idea?
I know there is a new Richtext Control in PB10.5, but what to do in this case?

I would be very glad if there was a solution for my problem.
Thank you very much.

---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp


Chris Pollach Posted on 2006-03-31 14:02:59.0Z
From: "Chris Pollach" <cpollach@travel-net.dot.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <442ce9e7$1@forums-1-dub>
Subject: Re: Problems with B. Armstrongs RTF example with PB10.5
Lines: 31
Organization: STD Inc.
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4927.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
X-Original-NNTP-Posting-Host: stealth.nserc.ca
Message-ID: <442d2666$1@forums-2-dub>
X-Original-Trace: 31 Mar 2006 04:53:58 -0800, stealth.nserc.ca
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 31 Mar 2006 04:53:59 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 31 Mar 2006 06:02:59 -0800
X-Trace: forums-1-dub 1143813779 10.22.108.75 (31 Mar 2006 06:02:59 -0800)
X-Original-Trace: 31 Mar 2006 06:02:59 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8820
Article PK: 736022

I am not surprised as PB 10.5's RTE control is totally different under the
hood!

"Uwe Schiebold" <uwe.schiebold@epos-gmbh.de> wrote in message
news:442ce9e7$1@forums-1-dub...
> Hello!
>
> I have a little problem with Bruce Armstrongs RTF example from Sybase
> Codeexchange Page.
> In this example the font size of the richtext control can be changed from
> Powerscript.
> This is working very fine with PB9 and PB10.
> But now I want to go to PB10.5 and cannot change the fontsize any more.
> I tried to set the Classname property of u_rte_demo to each of the
> Childcontrols, which are
> "PBTxTextControl", "PBTxButtonBar", "PBTxRuler", "PBTxStatusBar", but none
> of them is working!
>
> Does anyone have any idea?
> I know there is a new Richtext Control in PB10.5, but what to do in this
case?
>
> I would be very glad if there was a solution for my problem.
> Thank you very much.
>
> ---== Posted via the PFCGuide Web Newsreader ==---
> http://www.pfcguide.com/_newsgroups/group_list.asp


Brad Wery Posted on 2006-03-31 16:06:15.0Z
From: Brad Wery <bradweryatagricoreunited.com>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Problems with B. Armstrongs RTF example with PB10.5
References: <442ce9e7$1@forums-1-dub>
In-Reply-To: <442ce9e7$1@forums-1-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: ugg10.unitedgrain.ca
Message-ID: <442d4348$1@forums-2-dub>
X-Original-Trace: 31 Mar 2006 06:57:12 -0800, ugg10.unitedgrain.ca
Lines: 31
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 31 Mar 2006 06:57:13 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 31 Mar 2006 08:06:15 -0800
X-Trace: forums-1-dub 1143821175 10.22.108.75 (31 Mar 2006 08:06:15 -0800)
X-Original-Trace: 31 Mar 2006 08:06:15 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8821
Article PK: 736025

Try rte_1.TextSize = ...

PB 10.5 uses a totally new rte control. You should explore it's
properties and methods to see what's new and what's obsolete. I found
out that you can now save to PDF from the rte (this has already saved my
bacon).

Brad

Uwe Schiebold wrote:
> Hello!
>
> I have a little problem with Bruce Armstrongs RTF example from Sybase
> Codeexchange Page.
> In this example the font size of the richtext control can be changed from
> Powerscript.
> This is working very fine with PB9 and PB10.
> But now I want to go to PB10.5 and cannot change the fontsize any more.
> I tried to set the Classname property of u_rte_demo to each of the
> Childcontrols, which are
> "PBTxTextControl", "PBTxButtonBar", "PBTxRuler", "PBTxStatusBar", but none
> of them is working!
>
> Does anyone have any idea?
> I know there is a new Richtext Control in PB10.5, but what to do in this case?
>
> I would be very glad if there was a solution for my problem.
> Thank you very much.
>
> ---== Posted via the PFCGuide Web Newsreader ==---
> http://www.pfcguide.com/_newsgroups/group_list.asp