PC Review


Reply
Thread Tools Rate Thread

Underline partial textbox contents

 
 
tracey
Guest
Posts: n/a
 
      16th Apr 2004
is it possible to underline part of the contents of a text
box? I have created a report with textboxes that have
text "hard coded"and concantinated another value. Example
of textbox.value: ="This agreement, made this " & Format
([text8],"dd") & " day of " & Format([text8],"mmmm") & "
A.D. " & Format([text8],"yyyy") & " by and ...

I want the returned variables to be underlined.

Thanks!
 
Reply With Quote
 
 
 
 
John Spencer (MVP)
Guest
Posts: n/a
 
      18th Apr 2004
Not in a standard textbox. You need to use a rich text control to do that or
some other method

Check out the following URL for a free rtf control.
http://www.lebans.com/richtext.htm

Also take a look at:
http://www.lebans.com/mixbold-plain.htm

You might be able to adapt this to use underline vice bold text. If you do
modify it and it doesn't work - do not blame Mr. Lebans. His code works and you
need to figure out what you changed that broke it.

Hope this gives you some ideas.

tracey wrote:
>
> is it possible to underline part of the contents of a text
> box? I have created a report with textboxes that have
> text "hard coded"and concantinated another value. Example
> of textbox.value: ="This agreement, made this " & Format
> ([text8],"dd") & " day of " & Format([text8],"mmmm") & "
> A.D. " & Format([text8],"yyyy") & " by and ...
>
> I want the returned variables to be underlined.
>
> Thanks!

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
double underline textbox gator Microsoft Access Reports 1 1st May 2009 04:37 PM
[2008] Clear contents of textbox, reverting transaction with textbox method undo Rob W Microsoft VB .NET 0 6th Mar 2009 11:39 AM
Excel falls over when I try to underline the contents of a cell? =?Utf-8?B?Z29yaWxsYV9iZWFy?= Microsoft Excel Misc 3 3rd May 2007 02:04 PM
underline partial contents of textbox Microsoft Access Reports 1 16th Apr 2004 01:27 AM
Bold Italic UnderLine in TextBox Music Lover Microsoft ASP .NET 1 26th Nov 2003 10:53 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:52 PM.