![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Re: Print spaces with Underline "Jon Jacobs" <JonJacobs@xxxxxx> wrote in message news:1F395B13-B3B6-4074-A6C2-DFAE83C74B74@xxxxxx Quote: > _Grp.DrawString(S, F, Brushes.Black, X, Y) > > F is a font that included the underline style. > S is a string right-padded with spaces to give it a desired width. > Unfortunately, the undeline only appears witht the left part of the > string. > All the trailing spaces are ignored. > I get around the problem by changing the final space to a period or > underscore, but this is very ugly. > > Is there a way to force the underline to appear on the trailing spaces? Quote: > > Thanks, > |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Print spaces with Underline "Michael C" wrote: Quote: > Try doing S.Replace(" ", Convert.ToChar(160)) work. Jon |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| How do I get underline under menu letter to always be present? | Vista General | |||
| Underline menu? | Vista General | |||
| Keyboard Shortcuts - Underline | Tutorials | |||
| Always show menu underline (keyboard accelerators) | Vista General | |||