Click here to Skip to main content
15,891,567 members
Home / Discussions / C#
   

C#

 
AnswerRe: [Message Deleted] Pin
Colin Angus Mackay3-Sep-07 3:58
Colin Angus Mackay3-Sep-07 3:58 
GeneralRe: [Message Deleted] Pin
Paul Conrad3-Sep-07 7:52
professionalPaul Conrad3-Sep-07 7:52 
GeneralRe: [Message Deleted] Pin
Colin Angus Mackay3-Sep-07 8:06
Colin Angus Mackay3-Sep-07 8:06 
GeneralRe: [Message Deleted] Pin
Paul Conrad3-Sep-07 8:25
professionalPaul Conrad3-Sep-07 8:25 
QuestionNeed code for Word Wrapping- Plz help Pin
Hum Dum3-Sep-07 2:12
Hum Dum3-Sep-07 2:12 
AnswerRe: Need code for Word Wrapping- Plz help Pin
Luc Pattyn3-Sep-07 5:15
sitebuilderLuc Pattyn3-Sep-07 5:15 
GeneralRe: Need code for Word Wrapping- Plz help Pin
Hum Dum4-Sep-07 19:05
Hum Dum4-Sep-07 19:05 
GeneralRe: Need code for Word Wrapping- Plz help Pin
Luc Pattyn5-Sep-07 8:50
sitebuilderLuc Pattyn5-Sep-07 8:50 
Hi,

1.
what is this? the code does not compile at all, it is full of mistakes.
C# is case-sensitive, what are currentWords, currentWord and currentword ??
.NET methods start with an upper-case, there is no string.split, no string.length.

2.
the algorithm is flawed. If you insert in the middle of a line, the last word
would get moved to the next line; if you keep inserting, another word would
get moved to the next line; in the end all the words are on separate lines.
You can't do proper word wrapping without recombining words to lines.
But then you also need a way to indicate the start a new paragraph.

3.
A TextBox has built-in support for word wrapping; I guess it will function a lot
better than anything you will come up with any time soon.

Goodbye.



Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


GeneralNo where to go........- Plz help Pin
Hum Dum18-Sep-07 19:12
Hum Dum18-Sep-07 19:12 
AnswerRe: TRICKY&CHALLENGING LOOP Pin
Pete O'Hanlon3-Sep-07 2:12
mvePete O'Hanlon3-Sep-07 2:12 
QuestionConersion to DateTime Data type from String Pin
Prashant C3-Sep-07 2:02
Prashant C3-Sep-07 2:02 
AnswerRe: Conersion to DateTime Data type from String Pin
darkcalin3-Sep-07 4:06
darkcalin3-Sep-07 4:06 
QuestionI'm lost while looping! Pin
Muammar©3-Sep-07 1:46
Muammar©3-Sep-07 1:46 
AnswerRe: I'm lost while looping! Pin
Pete O'Hanlon3-Sep-07 2:00
mvePete O'Hanlon3-Sep-07 2:00 
GeneralRe: I'm lost while looping! Pin
Muammar©3-Sep-07 2:15
Muammar©3-Sep-07 2:15 
GeneralRe: I'm lost while looping! Pin
Pete O'Hanlon3-Sep-07 2:23
mvePete O'Hanlon3-Sep-07 2:23 
QuestionUsing gSOAP with C# Pin
Zahid Ajaib3-Sep-07 1:14
Zahid Ajaib3-Sep-07 1:14 
QuestionCABing UnCABing... Pin
Bhavesh Bagadiya3-Sep-07 0:35
Bhavesh Bagadiya3-Sep-07 0:35 
AnswerRe: CABing UnCABing... Pin
Bhavesh Bagadiya3-Sep-07 2:35
Bhavesh Bagadiya3-Sep-07 2:35 
GeneralRe: CABing UnCABing... Pin
Vasudevan Deepak Kumar3-Sep-07 2:39
Vasudevan Deepak Kumar3-Sep-07 2:39 
QuestionIs Crystal Report is not come with .Net Framework? Pin
Kumar Arun3-Sep-07 0:25
Kumar Arun3-Sep-07 0:25 
AnswerRe: Is Crystal Report is not come with .Net Framework? Pin
J4amieC3-Sep-07 0:39
J4amieC3-Sep-07 0:39 
GeneralRe: Is Crystal Report is not come with .Net Framework? Pin
Vasudevan Deepak Kumar3-Sep-07 1:34
Vasudevan Deepak Kumar3-Sep-07 1:34 
QuestionParsing XML from a string Pin
Anders Molin3-Sep-07 0:00
professionalAnders Molin3-Sep-07 0:00 
AnswerRe: Parsing XML from a string Pin
Sandeep Akhare3-Sep-07 0:08
Sandeep Akhare3-Sep-07 0:08 

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.