Re: RichText in a "classic" TextBox

From: Stephen Lebans (ForEmailGotoMy.WebSite.-WWWdotlebansdotcom_at_linvalid.com)
Date: 09/22/04


Date: Wed, 22 Sep 2004 20:44:14 -0300

The RTF ActiveX control has a plain Text property. Is your form set to
Single or Continuous view?

--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Alain" <alain.teyssedre-NoSpam@libertysurf.fr> wrote in message
news:O2jcNz5nEHA.396@TK2MSFTNGP10.phx.gbl...
> Hello
>
> I would be able to read in a Classic Text Box bound to a Memo Field,
> assuming that the contents of my Memo Field could be a simple memo
text
> like:
>   - "Hello I am Alain"   (no RichText coding or enhancement like in an
> ordinary memo field contents in Access) => The Text Box should display
it
> exatly as it is recorded in the Memo field
>
> or it could Be like:
>
>
"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fprq2\fch
arse
> t0
>
Arial;}}{\colortbl;\red255\green0\blue0;\red255\green255\blue0;\red0\gre
en0\
> blue255;}\uc1\pard\ulnone\f0\fs20 Test \cf1\b RTF a \cf2 different
\cf3
> record\par}"
>     (RichText Coded, The message coud be display with every RichText
> functionnality in an RTF control)
>
>  I would like my Memo field to display only the text without any
RichText
> enhancement and let the user read "Test RTF a different record" in my
text
> box.
>
> Is there anybody how knows how to "extract" the text (by example:
"Test RTF
> a different record")
> from the contend of the memo field
>         -
>
(""{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fprq2\f
char
> set0
>
Arial;}}{\colortbl;\red255\green0\blue0;\red255\green255\blue0;\red0\gre
en0\
> blue255;}\uc1\pard\ulnone\f0\fs20 Test \cf1\b RTF a \cf2 different
\cf3
> record\par}")
>
> many thanks for your help
>
> regards
> Alain
>
>


Relevant Pages

  • Re: Hanging indent via Rich Text Control?
    ... The control can either be Unbound or Bound to a single Memo field, ... you would have to programmatically add the necessary RTF encoding ... >> Stephen Lebans ...
    (microsoft.public.access.reports)
  • Re: Lebans RTF2 Control Default Font Microsoft Access 2003
    ... This is the code behind my button that corrects the non RTF code with RTF ... than the system font, which when brought up in Word shows up as long thin ... The code selects memo field contents that are missing RTF ... Set mdb = CurrentDb ...
    (microsoft.public.access.forms)
  • Re: Format Text in Memo Field
    ... The control seems to accomplish what I need. ... One problem is that Stephen's control requires raw RTF code. ... I tried creating a file in Word and saving that in RTF format but was ... That means I can create a master RTF memo field once, ...
    (microsoft.public.access.reports)
  • Re: Formatted RTF in Memo field?
    ... use the MS RTF control or one of the various 3rd party products. ... and the whole thing is saved in the memo field of a different table. ... VFP doesn't seem to care what you put in a memo ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Access 2007 Ctrl-Colon Rich Text Question
    ... You will have to handle the insertion of the date yourself as I believe ... Access Code, Tips and Tricks ... I would love to use the new rich text field of Access 2007 but there ... In the plain text version of a Memo field you can easily add a date by ...
    (microsoft.public.access.forms)