Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #4942

Re: Different colors in MulitlineEdit

Path csiph.com!usenet.pasdenom.info!aioe.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Different colors in MulitlineEdit
Date Thu, 21 Mar 2013 16:54:51 +0100
Lines 27
Message-ID <ar0oq7F82t9U1@mid.individual.net> (permalink)
References <80844b9e-a232-4111-aeab-d1330d0515a4@googlegroups.com> <7f2c7f98-73fe-4102-88df-7599c70054ea@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-1
X-Trace individual.net RMcvgA29zbCjVEku+ap9rA10cYOE439C/+SqcMTT00MGLbu/4=
Cancel-Lock sha1:3u6PhalhYiWQofud/Hk39bQ64iU=
User-Agent XanaNews/1.18.1.6
Xref csiph.com comp.lang.clipper.visual-objects:4942

Show key headers only | View raw


Hi Lu,

> I have never used a RTF control, so are there some examples where eg.
> the second row has another color than the first row... or something
> similar examples?
> 
> I could not find much information in the VO help. 
> 
> There is only a text, and on Cellselect in bBrowser it will be
> changed. On a condition a text in the rtf control should be
> highlighted.

you will find nothing about this in the help because it is not a VO
issue at all, but a Windows API issue.

To change color om some parts in a RTF control, you need to read the
value, change the formatting and assign the new (formatted) text.

Unfortunately I don't have any code to show this - and not the time to
write and test such a part of code.

Wolfgang



-- 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Different colors in MulitlineEdit Lu <lu2k@hotmail.com> - 2013-03-21 03:22 -0700
  Re: Different colors in MulitlineEdit "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-03-21 11:43 +0100
  Re: Different colors in MulitlineEdit Lu <lu2k@hotmail.com> - 2013-03-21 04:30 -0700
    Re: Different colors in MulitlineEdit "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-03-21 14:13 +0100
  Re: Different colors in MulitlineEdit Lu <lu2k@hotmail.com> - 2013-03-21 08:11 -0700
    Re: Different colors in MulitlineEdit "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-03-21 16:54 +0100
    Re: Different colors in MulitlineEdit "Er!k \\/!$$Er" <nospam@nospam.url> - 2013-03-21 18:34 +0100
    Re: Different colors in MulitlineEdit Alain Carpentier <alain.dot.carpentier@brutele.dot.be> - 2013-03-21 22:28 +0100
  Re: Different colors in MulitlineEdit Lu <lu2k@hotmail.com> - 2013-03-22 00:57 -0700
  Re: Different colors in MulitlineEdit "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2013-04-18 23:15 +0200

csiph-web