Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.visual.misc > #421
| From | "Jim Mack" <no-uce-ube@mdxi.com> |
|---|---|
| Newsgroups | alt.comp.lang.vb, microsoft.public.vb.general.discussion, alt.comp.lang.visualbasic, comp.lang.basic.visual.misc |
| References | (2 earlier) <j36poq$38v$1@dont-email.me> <j37ihc$og7$1@dont-email.me> <j389qm$6pt$1@dont-email.me> <j3mkat$qpk$1@dont-email.me> <j3mptu$m8o$1@dont-email.me> |
| Subject | Re: Embedding a lable inside a Rich Text Box |
| Date | 2011-09-01 08:36 -0400 |
| Message-ID | <UN-dneZBaset4cLTnZ2dnUVZ_rydnZ2d@giganews.com> (permalink) |
Cross-posted to 4 groups.
Mayayana wrote: >> RichTextBox.TextRTF = "A" & Chr$(160) & "B" 'Non-breaking space >> Debug.Print Asc(Mid(RichTextBox.Text, 2, 1)) >> RichTextBox.TextRTF = RichTextBox.TextRTF >> Debug.Print Asc(Mid(RichTextBox.Text, 2, 1)) >> > > Interesting. It turns a 160 into a 32. I didn't know there > were things like that built in. RTF is fundamentally 7-bit, but (160) has the 8th bit set. It's not surprising to me that the high bit gets stripped off, but I've never tested to see if that happens to all such characters. Anyone tried Chr(161)? -- Jim Mack Twisted tees at www.cafepress.com/2050inc "We sew confusion"
Back to comp.lang.basic.visual.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Embedding a lable inside a Rich Text Box Michael Cole <invalid@microsoft.com> - 2011-08-25 17:07 +1000
Re: Embedding a lable inside a Rich Text Box "MikeD" <nobody@nowhere.edu> - 2011-08-25 13:40 -0400
Re: Embedding a lable inside a Rich Text Box Michael Cole <invalid@microsoft.com> - 2011-08-26 10:36 +1000
Re: Embedding a lable inside a Rich Text Box Michael Cole <invalid@microsoft.com> - 2011-08-26 17:39 +1000
Re: Embedding a lable inside a Rich Text Box "mbyerley" <mbyerley@byerley.net> - 2011-08-26 07:46 -0400
Re: Embedding a lable inside a Rich Text Box "Mayayana" <mayayana@invalid.nospam> - 2011-08-26 10:18 -0400
Re: Embedding a lable inside a Rich Text Box Michael Cole <invalid@microsoft.com> - 2011-09-01 10:42 +1000
Re: Embedding a lable inside a Rich Text Box "Mayayana" <mayayana@invalid.nospam> - 2011-08-31 22:18 -0400
Re: Embedding a lable inside a Rich Text Box "Jim Mack" <no-uce-ube@mdxi.com> - 2011-09-01 08:36 -0400
Re: Embedding a lable inside a Rich Text Box Michael Cole <invalid@microsoft.com> - 2011-09-02 10:22 +1000
Re: Embedding a lable inside a Rich Text Box Raoul Watson <WatsonR@IntelligenCIA.com> - 2011-09-11 12:00 -0400
csiph-web