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 » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

strike through font



 
 
Thread Tools Display Modes
  #1  
Old July 19th, 2004, 02:51 AM
mj
external usenet poster
 
Posts: n/a
Default strike through font

anyone out there know how to make a control's font type
strike through? I have a yes/no field that I'm hoping to
use to set the font of another control depending on a
returned value of -1 or 0. Thanks.
  #2  
Old July 19th, 2004, 03:48 PM
Rick B
external usenet poster
 
Posts: n/a
Default strike through font

I'm pretty sure Access does not support strikethrough.


Rick B

"mj" wrote in message
...
anyone out there know how to make a control's font type
strike through? I have a yes/no field that I'm hoping to
use to set the font of another control depending on a
returned value of -1 or 0. Thanks.


  #3  
Old July 19th, 2004, 04:46 PM
Duane Hookom
external usenet poster
 
Posts: n/a
Default strike through font

Depending on your exact requirements, you might be able to use the Line
method of the report. This would require code in the On Format event of the
section of the report containing the text you want to strike through.

--
Duane Hookom
MS Access MVP
--

"mj" wrote in message
...
anyone out there know how to make a control's font type
strike through? I have a yes/no field that I'm hoping to
use to set the font of another control depending on a
returned value of -1 or 0. Thanks.



  #4  
Old July 19th, 2004, 11:37 PM
Larry Linson
external usenet poster
 
Posts: n/a
Default strike through font


"mj" wrote in message
...
anyone out there know how to make a control's font type
strike through? I have a yes/no field that I'm hoping to
use to set the font of another control depending on a
returned value of -1 or 0. Thanks.


Access will not _convert_ some font to "strikethrough", but if a
strikethrough font is installed on the machine, you can set the FontName
property of the Control to that font and make _all_ the text in the TextBox
(or other Control) strikethrough. You can't have multiple fonts in a regular
Text Box; you'd need an ActiveX control for RichText to do that (MVP Stephen
Lebans has a free one -- http://www.lebans.com).

Larry Linson
Microsoft Access MVP


  #5  
Old July 20th, 2004, 01:29 AM
Stephen Lebans
external usenet poster
 
Posts: n/a
Default strike through font

I thought you or Fred posted another solution for this issue before
Duane. Using the Line Tool create a Line control that you place directly
over the TextBox. Using the Format event of the relevant Section, set
the Line control's Visible prop as desired.

Me.NameOfLineCOntrol.Visible = THeNameOfTheBooleanControl.Value
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


"Duane Hookom" wrote in message
...
Depending on your exact requirements, you might be able to use the

Line
method of the report. This would require code in the On Format event

of the
section of the report containing the text you want to strike through.

--
Duane Hookom
MS Access MVP
--

"mj" wrote in message
...
anyone out there know how to make a control's font type
strike through? I have a yes/no field that I'm hoping to
use to set the font of another control depending on a
returned value of -1 or 0. Thanks.




 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem changing font on Word 2000 labels Dan Dierda General Discussion 2 May 28th, 2004 11:16 PM
Word 2002 won't work with embedded font ? Wolfgang General Discussion 1 May 28th, 2004 07:39 AM
Publisher font issue [email protected] Publisher 1 May 19th, 2004 10:43 AM
Andy Font & Universal Font ... Dude De La Dude Publisher 1 May 7th, 2004 10:41 AM
Org Chart font size 8 = Word font size 11? Mike Maxwell General Discussions 0 May 5th, 2004 04:29 PM


All times are GMT +1. The time now is 11:39 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.