Click here to Skip to main content
16,004,882 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Rich text box equivalent textbox Pin
Luc Pattyn8-Jan-10 3:15
sitebuilderLuc Pattyn8-Jan-10 3:15 
GeneralRe: Rich text box equivalent textbox Pin
Ajakblackgoat8-Jan-10 4:27
Ajakblackgoat8-Jan-10 4:27 
GeneralRe: Rich text box equivalent textbox Pin
Eddy Vluggen8-Jan-10 5:47
professionalEddy Vluggen8-Jan-10 5:47 
GeneralRe: Rich text box equivalent textbox Pin
Ajakblackgoat8-Jan-10 14:06
Ajakblackgoat8-Jan-10 14:06 
GeneralRe: Rich text box equivalent textbox Pin
Eddy Vluggen9-Jan-10 1:13
professionalEddy Vluggen9-Jan-10 1:13 
AnswerRe: Rich text box equivalent textbox Pin
Luc Pattyn8-Jan-10 2:15
sitebuilderLuc Pattyn8-Jan-10 2:15 
GeneralRe: Rich text box equivalent textbox Pin
Ajakblackgoat8-Jan-10 4:45
Ajakblackgoat8-Jan-10 4:45 
GeneralRe: Rich text box equivalent textbox Pin
Luc Pattyn8-Jan-10 4:55
sitebuilderLuc Pattyn8-Jan-10 4:55 
Ajakblackgoat wrote:
which I think will be tedious if possible


Not at all. It depends on the details of course, but it is very easy to:
- have arbitrary length text in each item (DrawString can word-wrap text)
- variable height items (OwnerDrawVariable), which adds a MeasureItem event to determine height (with Graphics.MeasureString)
- intercept CTRL/C to get your ToString() representation of an entire item

It would get somewhat more complex if you also need to copy selectable parts of an item.

FWIW: you can add controls to a ListBox item, so you could have a (Rich)TextBox inside each item, however I would not do that, as the lightweight approach is easy enough and much cheaper resource wise.

Smile | :)

Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

Happy New Year to all.
We hope 2010 soon brings us automatic PRE tags!
Until then, please insert them manually.


QuestionHow to create a taskbar in mdiform.. just like windows in vb.net code Pin
chandru4uall6-Jan-10 23:21
chandru4uall6-Jan-10 23:21 
Questionset default icon in windows app Pin
vikash_singh6-Jan-10 5:55
vikash_singh6-Jan-10 5:55 
AnswerRe: set default icon in windows app Pin
Dave Kreskowiak6-Jan-10 8:05
mveDave Kreskowiak6-Jan-10 8:05 
QuestionLoading NUnit tests into VS for use with the built in Unit test tools Pin
Ray Cassick5-Jan-10 15:49
Ray Cassick5-Jan-10 15:49 
AnswerRe: Loading NUnit tests into VS for use with the built in Unit test tools Pin
Abhinav S5-Jan-10 20:52
Abhinav S5-Jan-10 20:52 
AnswerRe: Loading NUnit tests into VS for use with the built in Unit test tools Pin
Kevin McFarlane6-Jan-10 5:29
Kevin McFarlane6-Jan-10 5:29 
GeneralRe: Loading NUnit tests into VS for use with the built in Unit test tools Pin
Ray Cassick6-Jan-10 5:44
Ray Cassick6-Jan-10 5:44 
QuestionDownloadStringAsync (infinite loop in Release only) Pin
T21024-Jan-10 23:43
T21024-Jan-10 23:43 
AnswerRe: DownloadStringAsync (infinite loop in Release only) Pin
Dimitri Witkowski5-Jan-10 3:41
Dimitri Witkowski5-Jan-10 3:41 
QuestionA question about windows MUI Pin
coderormnger4-Jan-10 21:31
coderormnger4-Jan-10 21:31 
AnswerRe: A question about windows MUI Pin
john_masen7-Jan-10 1:43
john_masen7-Jan-10 1:43 
QuestionHow to implement gmail like video chat in asp.net. Pin
naresh yadav y3-Jan-10 21:49
naresh yadav y3-Jan-10 21:49 
AnswerRe: How to implement gmail like video chat in asp.net. Pin
Ian McCaul4-Jan-10 3:19
Ian McCaul4-Jan-10 3:19 
GeneralRe: How to implement gmail like video chat in asp.net. Pin
naresh yadav y5-Jan-10 1:29
naresh yadav y5-Jan-10 1:29 
Questiondoes anyone know how 3D MAX STUDIO IS MADE Pin
gulamnabi shaikh3-Jan-10 20:23
gulamnabi shaikh3-Jan-10 20:23 
AnswerRe: does anyone know how 3D MAX STUDIO IS MADE Pin
Dimitri Witkowski3-Jan-10 21:46
Dimitri Witkowski3-Jan-10 21:46 
AnswerRe: does anyone know how 3D MAX STUDIO IS MADE Pin
Pete O'Hanlon3-Jan-10 22:10
mvePete O'Hanlon3-Jan-10 22:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.