Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.visual.misc > #406
| From | Michael Cole <invalid@microsoft.com> |
|---|---|
| Newsgroups | alt.comp.lang.vb, microsoft.public.vb.general.discussion, alt.comp.lang.visualbasic, comp.lang.basic.visual.misc |
| Subject | Re: Embedding a lable inside a Rich Text Box |
| Date | 2011-08-26 10:36 +1000 |
| Organization | A noiseless patient Spider |
| Message-ID | <j36poq$38v$1@dont-email.me> (permalink) |
| References | <j34saf$uss$1@dont-email.me> <j361e4$54m$1@dont-email.me> |
Cross-posted to 4 groups.
MikeD brought next idea : > > "Michael Cole" <invalid@microsoft.com> wrote in message > news:j34saf$uss$1@dont-email.me... >> I have been trying to figure this out for ages and cannot. I need some >> help. >> >> I am trying to emulate a standard email address field, where addresses can >> be typed in or selected, and once recognised, they are no longer text. >> >> As far as I can see, this is done by replacing the address with a label (or >> something like that) which is embedded in the text at the location that the >> address was. The question is how to embed the label. The documentation on >> the RTBox.OLEObjects.Add method is spectacularly unhelpful. >> >> Does anyone have any thoughts, suggestions or articles that they could >> point me too as to how to accomplish this. >> >> Or alternatively, if I have got all of this wrong, could you let me know >> how it should be done. >> > > > So what exactly are you asking? It sounds to me as if you just want > hyperlinks in your RTB. > No, its not hyperlinks. What I want is an effect, as in Outlook, whereby validated email addresses are effectively in the RTBox as a single character: - - clicking anywhere on them highlights the entire text - when arrowing forwards and backwards, it acts as a single character - pressing delete will delete the entire address In effect, it acts like an embedded picture. Now there is plently of examples on the internet as to how to embed pictures in RTBoxes, and how to embed Excel spreadsheets, but nothing about how to embed a label or other control. -- Michael Cole
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