![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Selectable non-edittable text? What control should I use to contain selectaable, copyable but read only text? Basically I have a couple lines of databound text that I want the user to be able to select and copy, but not edit, e.g.: Username: Ryan Member Of: Developers I've tried <TextFlow> with <Section> and <TextBlock>, and can display it properly but can't find a way to make the text selectable. Do I have to use a read-only <TextEdit>? I'd like to use Rich tesxt if at all possible. |
| | #2 (permalink) |
| Guest | Re: Selectable non-edittable text? RyanLeeSchneider wrote: > What control should I use to contain selectaable, copyable but read > only text? > > Basically I have a couple lines of databound text that I want the > user to be able to select and copy, but not edit, e.g.: > > Username: Ryan > Member Of: Developers > I've tried <TextFlow> with <Section> and <TextBlock>, and can display > it properly but can't find a way to make the text selectable. > > Do I have to use a read-only <TextEdit>? I'd like to use Rich tesxt > if at all possible. Did you try a TextBox with IsReadOnly="true"? HTH, Drew ___________________________________ Drew Marsh Chief Software Architect Mimeo.com, Inc. - http://www.mimeo.com Weblog - http://blog.hackedbrain.com/ |
| | #3 (permalink) |
| Guest | Re: Selectable non-edittable text? Sorry, I meant <TextBox> not <TextEdit>. Like I said, it can't render rich text so it a far less than deal choice. "Drew Marsh" wrote: > RyanLeeSchneider wrote: > > > What control should I use to contain selectaable, copyable but read > > only text? > > > > Basically I have a couple lines of databound text that I want the > > user to be able to select and copy, but not edit, e.g.: > > > > Username: Ryan > > Member Of: Developers > > I've tried <TextFlow> with <Section> and <TextBlock>, and can display > > it properly but can't find a way to make the text selectable. > > > > Do I have to use a read-only <TextEdit>? I'd like to use Rich tesxt > > if at all possible. > > Did you try a TextBox with IsReadOnly="true"? > > HTH, > Drew > > ___________________________________ > Drew Marsh > Chief Software Architect > Mimeo.com, Inc. - http://www.mimeo.com > Weblog - http://blog.hackedbrain.com/ > > > |
| | #4 (permalink) |
| Guest | Re: Selectable non-edittable text? Have you tried RichTextBox? "RyanLeeSchneider" <RyanLeeSchneider@discussions.microsoft.com> wrote in message news:65880132-C37B-4B41-9683-80A92AAB4561@microsoft.com... > > Sorry, I meant <TextBox> not <TextEdit>. Like I said, it can't render > rich > text so it a far less than deal choice. > > "Drew Marsh" wrote: > >> RyanLeeSchneider wrote: >> >> > What control should I use to contain selectaable, copyable but read >> > only text? >> > >> > Basically I have a couple lines of databound text that I want the >> > user to be able to select and copy, but not edit, e.g.: >> > >> > Username: Ryan >> > Member Of: Developers >> > I've tried <TextFlow> with <Section> and <TextBlock>, and can display >> > it properly but can't find a way to make the text selectable. >> > >> > Do I have to use a read-only <TextEdit>? I'd like to use Rich tesxt >> > if at all possible. >> >> Did you try a TextBox with IsReadOnly="true"? >> >> HTH, >> Drew >> >> ___________________________________ >> Drew Marsh >> Chief Software Architect >> Mimeo.com, Inc. - http://www.mimeo.com >> Weblog - http://blog.hackedbrain.com/ >> >> >> |
| | #5 (permalink) |
| Guest | Re: Selectable non-edittable text? No, but that's exactly what I was looking for, can't believe I missed that. Thanks, Ryan "Dennis Cheng [MSFT]" wrote: > Have you tried RichTextBox? > > > "RyanLeeSchneider" <RyanLeeSchneider@discussions.microsoft.com> wrote in > message news:65880132-C37B-4B41-9683-80A92AAB4561@microsoft.com... > > > > Sorry, I meant <TextBox> not <TextEdit>. Like I said, it can't render > > rich > > text so it a far less than deal choice. > > > > "Drew Marsh" wrote: > > > >> RyanLeeSchneider wrote: > >> > >> > What control should I use to contain selectaable, copyable but read > >> > only text? > >> > > >> > Basically I have a couple lines of databound text that I want the > >> > user to be able to select and copy, but not edit, e.g.: > >> > > >> > Username: Ryan > >> > Member Of: Developers > >> > I've tried <TextFlow> with <Section> and <TextBlock>, and can display > >> > it properly but can't find a way to make the text selectable. > >> > > >> > Do I have to use a read-only <TextEdit>? I'd like to use Rich tesxt > >> > if at all possible. > >> > >> Did you try a TextBox with IsReadOnly="true"? > >> > >> HTH, > >> Drew > >> > >> ___________________________________ > >> Drew Marsh > >> Chief Software Architect > >> Mimeo.com, Inc. - http://www.mimeo.com > >> Weblog - http://blog.hackedbrain.com/ > >> > >> > >> > > > |
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MVP's, text to speech!!, Can I dictate in other text input program | andy t | Vista General | 0 | 07-15-2008 02:58 PM |
| missing the language in the selectable list | stopwatch | Vista General | 1 | 06-27-2008 08:29 AM |
| selectable language is missing in the list | stopwatch | Vista General | 0 | 06-19-2008 09:58 AM |
| Dreamscene not selectable anymore | Marco | Vista General | 5 | 06-17-2008 01:57 PM |
| How do I read a text file and sort text by fixed positions? | Cornelius | PowerShell | 5 | 07-20-2007 06:34 PM |