Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RichText-Edit Text Size

7 views
Skip to first unread message

Pablo Andres Prieto

unread,
Dec 22, 2004, 5:04:43 PM12/22/04
to
I need change the deafult text size the RichText-Edit....


Bruce Armstrong [TeamSybase]

unread,
Dec 23, 2004, 1:19:19 AM12/23/04
to

This demonstrates how to change the default font
http://www.teamsybase.net/bruce.armstrong/downloads/rte_font.zip

You can use the documentation for the underlying control to determine
how to modify other attributes.
http://www.teamsybase.net/bruce.armstrong/downloads/highedit.zip

On 22 Dec 2004 14:04:43 -0800, "Pablo Andres Prieto"
<pablo...@prensamoderna.com> wrote:

>I need change the deafult text size the RichText-Edit....
>
>
>

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

---------------------------------------------------------------------
NOTE:

If you are using Google to post messages to the newsgroups, you will
*not* receive a reply. Messages posted through Google never reach the
Sybase newsgroup server, so we don't see them in order to respond to
them. You should post your question using a standard newsgroup reader
or the web based newsreaders at my.sybase.com or www.pfcguide.com.
Google is great for searching the Sybase newsgroups, but you can't post
to them from there.

---------------------------------------------------------------------
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.

Pablo Andres Prieto

unread,
Dec 27, 2004, 2:39:37 PM12/27/04
to
I don't found the way for change the font size...

I need help....

"Bruce Armstrong [TeamSybase]" <NOCANSPAM_br...@teamsybase.com>
escribió en el mensaje news:q4oks01hk66e37bek...@4ax.com...

Bruce Armstrong [TeamSybase]

unread,
Dec 27, 2004, 11:13:21 PM12/27/04
to
All you needed to do was a little research in the direction I pointed
you. If you looked at the sample and the documentation, you have seen
that I'm sending the HE_SETCOLORLOGFONT message to the control to set
the font name. Looking at the online help for the control, you'll see
that COLORLOGFONT structure that is passed with that message has a
wHeight property and the embedded LOGFONT structure has a lfHeight
property, each of which can be used to control the font height. The
online help for the control also notes the FONT_SET_SIZE value you
would need to send insteadd of the FONT_SET_NAME value I'm using in
the sample.

In any event, I've updated the sample to include both the font name
and size. The updated sample is at:

http://powerbuilder.codexchange.sybase.com/files/documents/67/1822/rte_font.zip


On 27 Dec 2004 11:39:37 -0800, "Pablo Andres Prieto"

Pablo Andres Prieto

unread,
Dec 29, 2004, 12:27:24 PM12/29/04
to
Very.. Very.. Tanks....

"Bruce Armstrong [TeamSybase]" <NOCANSPAM_br...@teamsybase.com>
escribió en el mensaje news:u1k1t0d9ehm95t5ju...@4ax.com...

0 new messages