A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Underlining Data in a Text Box



 
 
Thread Tools Display Modes
  #1  
Old January 1st, 2008, 05:46 PM posted to microsoft.public.access.forms
Frank Wagner
external usenet poster
 
Posts: 34
Default Underlining Data in a Text Box

I am trying to create a form that allows underlining for specific characters
when the users wants to enter them underlined. I'm not sure how to do this.
I have a Text Box over a Memo field. When I add the Formatting toolbar to
the form, and the user clicks on underlining, all the characters in the
control become underlined. What I need is a way for the user to underline
only one character at a time when needed.

I am using Access 2000, and am familiar with VBA if needed.

Any help would be appreciated
--
Frank Wagner

  #2  
Old January 1st, 2008, 06:03 PM posted to microsoft.public.access.forms
Larry Linson
external usenet poster
 
Posts: 3,112
Default Underlining Data in a Text Box


"Frank Wagner" wrote in message
news
I am trying to create a form that allows underlining for specific
characters
when the users wants to enter them underlined. I'm not sure how to do
this.
I have a Text Box over a Memo field. When I add the Formatting toolbar to
the form, and the user clicks on underlining, all the characters in the
control become underlined. What I need is a way for the user to underline
only one character at a time when needed.

I am using Access 2000, and am familiar with VBA if needed.

Any help would be appreciated
--
Frank Wagner



  #3  
Old January 1st, 2008, 07:21 PM posted to microsoft.public.access.forms
Douglas J. Steele
external usenet poster
 
Posts: 9,313
Default Underlining Data in a Text Box

I believe that the only way would be to use an RTF control, and to put the
appropriate RTF control characters into the text.

Stephen Lebans has a free RTF control available at
http://www.lebans.com/richtext.htm. I believe there's sample code with it
that should help you accomplish what you're trying to do.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"Frank Wagner" wrote in message
news
I am trying to create a form that allows underlining for specific
characters
when the users wants to enter them underlined. I'm not sure how to do
this.
I have a Text Box over a Memo field. When I add the Formatting toolbar to
the form, and the user clicks on underlining, all the characters in the
control become underlined. What I need is a way for the user to underline
only one character at a time when needed.

I am using Access 2000, and am familiar with VBA if needed.

Any help would be appreciated
--
Frank Wagner



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:06 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.