Re: Disallow editting of certain words
- From: "Mike Williams" <Mike@xxxxxxxxxxxxxxxxx>
- Date: Sun, 28 Jan 2007 23:11:55 -0000
"MAB" <MAB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:ED62DDF0-9A57-4B4B-A708-912E8975E641@xxxxxxxxxxxxxxxx
I notices when I took Mike color's coding (.SelColor = linkcolor(1))
out and replaced the selected text (either typing or ComboBox) that
the selected text was 1 character long no matter what I did. After
putting his color coding back, it all worked fine (?).
The main difference between my code and Rick's code is that I wrote my code so that the RichTextBox could very easily distinguish between one "editable section" and another, regardless of how much editing was done or whereabouts those sections actually ended up in the text. In other words, you can have dozens (or hundreds) of separate editable sections, with each one popping up a ListBox (or something similar) which allows the user to choose from a list of options which is specific to that particular editable section (something which I believe was part of your original requirement). For example, one editable section (when clicked) could offer the user a list of sizes (5mm, 8mm, 10mm, etc) wheras another editable section could offer a choice of part numbers and another perhaps a choice of colours. All sorts of things are possible with such a system. It still needs some work, though :-)
Mike
.
- References:
- Re: Disallow editting of certain words
- From: Henning
- Re: Disallow editting of certain words
- From: Mike Williams
- Re: Disallow editting of certain words
- From: Mike Williams
- Re: Disallow editting of certain words
- From: MAB
- Re: Disallow editting of certain words
- From: Rick Rothstein \(MVP - VB\)
- Re: Disallow editting of certain words
- From: Mike Williams
- Re: Disallow editting of certain words
- From: Rick Rothstein \(MVP - VB\)
- Re: Disallow editting of certain words
- From: MAB
- Re: Disallow editting of certain words
- From: Mike Williams
- Re: Disallow editting of certain words
- Prev by Date: Re: Listview flashing screen
- Next by Date: Re: Which language used most? VB vs C?
- Previous by thread: Re: Disallow editting of certain words
- Next by thread: Help..I want my table ID's to match on form load
- Index(es):
Relevant Pages
|