Click here to Skip to main content
15,895,740 members
Home / Discussions / C#
   

C#

 
AnswerRe: textbox & tab page bugg? Pin
rohitsrivastava7-Sep-07 19:42
rohitsrivastava7-Sep-07 19:42 
GeneralRe: textbox & tab page bugg? Pin
rbuchana8-Sep-07 4:39
rbuchana8-Sep-07 4:39 
Questioncollection editors & component/control designers [modified] Pin
urbane.tiger7-Sep-07 17:31
urbane.tiger7-Sep-07 17:31 
QuestionHttpWebRequest performance and keep-alive Pin
pattyweb7-Sep-07 13:47
pattyweb7-Sep-07 13:47 
AnswerRe: HttpWebRequest performance and keep-alive Pin
Scott Dorman7-Sep-07 13:54
professionalScott Dorman7-Sep-07 13:54 
QuestionNeed help with panels and forms? Pin
DogMa3x7-Sep-07 12:28
DogMa3x7-Sep-07 12:28 
AnswerRe: Need help with panels and forms? Pin
Skippums10-Sep-07 3:52
Skippums10-Sep-07 3:52 
QuestionRichTextBox DragDrop [modified] Pin
Skippums7-Sep-07 11:37
Skippums7-Sep-07 11:37 
I am attempting to override RichTextBox class and am overloading the appropriate methods to allow drag-drop text. If the source textboxes are NOT readonly, this process works fine. However, when I try to perform a drag-drop from a readonly textbox to a writable textbox, my code fails. I know that it is failing because I am setting the e.Effect value to DragDropEffects.Move, when the only effect that I allow is DragDropEffects.Copy. What I don't understand is how I can, at runtime, determine if DragDropEffects.Move is available as an option. In both my event handlers for DragEnter and DragOver, e.AllowedEffect appears to ALWAYS be (Move | Copy | Select) regardless of what I set it to in the call to DoDragDrop(). I know there is a way to see what options are available, because I can drag from my readonly textboxes into wordpad. I am also wondering why, when I override the ReadOnly property, does the RichTextBox NOT get displayed in the readonly style? It is showing up as a normal textbox, despite it being defined as readonly. Thanks in advance for your help.

-Jeff


-- modified at 17:49 Friday 7th September, 2007
AnswerRe: RichTextBox DragDrop Pin
Dave Kreskowiak7-Sep-07 13:04
mveDave Kreskowiak7-Sep-07 13:04 
QuestionRichTextBox DragDrop Pin
Skippums10-Sep-07 3:40
Skippums10-Sep-07 3:40 
QuestionOverriding ReadOnlyCollection and "Late Population" of the list Pin
J.G.Cda7-Sep-07 11:06
J.G.Cda7-Sep-07 11:06 
QuestionHierarchical hyperlink hype Pin
Istvan4047-Sep-07 10:55
Istvan4047-Sep-07 10:55 
QuestionData Grid View Calculations Pin
jasper0187-Sep-07 10:54
jasper0187-Sep-07 10:54 
AnswerRe: Data Grid View Calculations Pin
Giorgi Dalakishvili7-Sep-07 11:06
mentorGiorgi Dalakishvili7-Sep-07 11:06 
GeneralRe: Data Grid View Calculations Pin
jasper01810-Sep-07 7:20
jasper01810-Sep-07 7:20 
Questioncalculate subitems Pin
andredani7-Sep-07 10:44
andredani7-Sep-07 10:44 
AnswerRe: calculate subitems Pin
Giorgi Dalakishvili7-Sep-07 11:11
mentorGiorgi Dalakishvili7-Sep-07 11:11 
GeneralRe: calculate subitems Pin
andredani7-Sep-07 11:16
andredani7-Sep-07 11:16 
AnswerRe: calculate subitems Pin
Skippums7-Sep-07 11:44
Skippums7-Sep-07 11:44 
GeneralRe: calculate subitems Pin
andredani7-Sep-07 11:52
andredani7-Sep-07 11:52 
GeneralRe: calculate subitems Pin
Guffa7-Sep-07 12:01
Guffa7-Sep-07 12:01 
GeneralRe: calculate subitems Pin
ChrisKo7-Sep-07 12:01
ChrisKo7-Sep-07 12:01 
GeneralRe: calculate subitems Pin
andredani7-Sep-07 12:17
andredani7-Sep-07 12:17 
GeneralRe: calculate subitems Pin
ChrisKo7-Sep-07 12:53
ChrisKo7-Sep-07 12:53 
GeneralRe: calculate subitems [modified] Pin
andredani7-Sep-07 13:10
andredani7-Sep-07 13: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.