Re: RichText in a "classic" TextBox
From: Stephen Lebans (ForEmailGotoMy.WebSite.-WWWdotlebansdotcom_at_linvalid.com)
Date: 09/22/04
- Next message: Dan Artuso: "Re: using the results of a SQL SELECT(COUNT) statement in VBA"
- Previous message: Jamie Richards: "RE: can't make an option group or drop down menu where multi selectio."
- In reply to: Alain: "RichText in a "classic" TextBox"
- Next in thread: Alain: "Re: RichText in a "classic" TextBox"
- Reply: Alain: "Re: RichText in a "classic" TextBox"
- Messages sorted by: [ date ] [ thread ]
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 > >
- Next message: Dan Artuso: "Re: using the results of a SQL SELECT(COUNT) statement in VBA"
- Previous message: Jamie Richards: "RE: can't make an option group or drop down menu where multi selectio."
- In reply to: Alain: "RichText in a "classic" TextBox"
- Next in thread: Alain: "Re: RichText in a "classic" TextBox"
- Reply: Alain: "Re: RichText in a "classic" TextBox"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|