Click here to Skip to main content
15,886,963 members
Home / Discussions / C#
   

C#

 
GeneralRe: conversion to pdf Pin
mohdshiraz5-Feb-04 0:43
mohdshiraz5-Feb-04 0:43 
GeneralWhat's Wrong Pin
Inam4-Feb-04 17:58
Inam4-Feb-04 17:58 
Generalno instantiate Pin
rod termaat4-Feb-04 17:24
rod termaat4-Feb-04 17:24 
GeneralRe: no instantiate Pin
Tom Clement4-Feb-04 17:39
professionalTom Clement4-Feb-04 17:39 
GeneralRe: no instantiate Pin
Not Active4-Feb-04 18:09
mentorNot Active4-Feb-04 18:09 
GeneralRe: no instantiate Pin
boogs5-Feb-04 2:48
boogs5-Feb-04 2:48 
GeneralRe: no instantiate Pin
Heath Stewart5-Feb-04 4:42
protectorHeath Stewart5-Feb-04 4:42 
QuestionRichTextBox has a bug? Pin
Zembaliti4-Feb-04 14:56
Zembaliti4-Feb-04 14:56 
Consider the following code:

a) ...
string str = richTextBox1.Text;
bool b = richTextBox1.CanUndo;
...


b) ...
int nLength = richTextBox1.TextLength;
bool b = richTextBox1.CanUndo;
...

Both a) and b): CanUndo always returns false, regardless the text has been modified (run-time).

It seems that any call to the Text, TextLength... property will clear the undo buffer. Thus it makes difficult to implement a context menu (Undo, Cut, Copy, Paste, ...) for the RichTextBox control.

Is this a bug of the RichTextBox control, or does I miss something? Note that the TextBox control does not encounter this problem.

Thank you in advance.

AnswerRe: RichTextBox has a bug? Pin
Nick Parker4-Feb-04 16:50
protectorNick Parker4-Feb-04 16:50 
GeneralRe: RichTextBox has a bug? Pin
Tom Clement4-Feb-04 17:07
professionalTom Clement4-Feb-04 17:07 
GeneralRe: RichTextBox has a bug? Pin
Zembaliti5-Feb-04 16:03
Zembaliti5-Feb-04 16:03 
GeneralRe: RichTextBox has a bug? Pin
Tom Clement5-Feb-04 16:17
professionalTom Clement5-Feb-04 16:17 
GeneralRe: RichTextBox has a bug? Pin
Zembaliti5-Feb-04 20:41
Zembaliti5-Feb-04 20:41 
GeneralRe: RichTextBox has a bug? Pin
Zembaliti6-Feb-04 0:25
Zembaliti6-Feb-04 0:25 
QuestionMulti-platform C#? Pin
Kryal4-Feb-04 12:50
Kryal4-Feb-04 12:50 
AnswerRe: Multi-platform C#? Pin
Dmitriy Kostovetskiy4-Feb-04 13:22
Dmitriy Kostovetskiy4-Feb-04 13:22 
GeneralRe: Multi-platform C#? Pin
Gerald Leslie Jones4-Feb-04 20:00
Gerald Leslie Jones4-Feb-04 20:00 
GeneralRe: Multi-platform C#? Pin
Michael P Butler5-Feb-04 2:01
Michael P Butler5-Feb-04 2:01 
GeneralRe: Multi-platform C#? Pin
Heath Stewart5-Feb-04 4:32
protectorHeath Stewart5-Feb-04 4:32 
GeneralCustom WebControl - Rendering Images Pin
Member 6440164-Feb-04 12:26
Member 6440164-Feb-04 12:26 
GeneralRe: Custom WebControl - Rendering Images Pin
krisp4-Feb-04 12:45
krisp4-Feb-04 12:45 
GeneralRe: Custom WebControl - Rendering Images Pin
Nick Parker4-Feb-04 14:38
protectorNick Parker4-Feb-04 14:38 
GeneralString Array written to and parsed from hidden web control Pin
krisp4-Feb-04 12:24
krisp4-Feb-04 12:24 
GeneralRe: String Array written to and parsed from hidden web control Pin
Heath Stewart5-Feb-04 4:22
protectorHeath Stewart5-Feb-04 4:22 
GeneralRe: String Array written to and parsed from hidden web control Pin
krisp5-Feb-04 19:22
krisp5-Feb-04 19:22 

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.