Click here to Skip to main content
15,899,825 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to use generic abstract class as return type ? Pin
kkris19839-Mar-09 4:40
kkris19839-Mar-09 4:40 
QuestionImage property of button Pin
saksp9-Mar-09 2:02
saksp9-Mar-09 2:02 
AnswerRe: Image property of button Pin
Xmen Real 9-Mar-09 2:28
professional Xmen Real 9-Mar-09 2:28 
AnswerRe: Image property of button Pin
NeCroFire9-Mar-09 2:29
NeCroFire9-Mar-09 2:29 
QuestionSelecting the text in a cell from a datagrid Pin
Wamuti9-Mar-09 2:01
Wamuti9-Mar-09 2:01 
QuestionFFT from byte array Pin
frg63189-Mar-09 1:40
frg63189-Mar-09 1:40 
QuestionHow to avoid autoscrolling of richtextbox in c#? Pin
GeetaGadmi9-Mar-09 1:17
GeetaGadmi9-Mar-09 1:17 
AnswerRe: How to avoid autoscrolling of richtextbox in c#? Pin
Eddy Vluggen9-Mar-09 1:56
professionalEddy Vluggen9-Mar-09 1:56 
GeetaGadmi wrote:
1. when user is selected the cursor position somewhere except the bottom position, new text entered will cause the auto scrolling of the vertical scroll bar to the last position.

This should be avoided, user selected position should be retained whenever text is appended.


I don't know if you can 'enter' text without moving the cursor. You can however, get the position of the cursor before you add text, and move the cursor back to that position when you are done with adding the text.

GeetaGadmi wrote:
2. Say user has selected some text, appending of new text causes the user to loose control of the last position. how to make the user not to loose control when text is appended?


Put the TextBox.SelectionStart in a variable before adding text, do the same for TextBox.SelectionLength and restore those values when finished with adding text. You might want to suspend the layout while doing this Smile | :)

I are troll Smile | :)

QuestionChange a version of pdf Pin
abbd9-Mar-09 1:16
abbd9-Mar-09 1:16 
AnswerRe: Change a version of pdf Pin
Colin Angus Mackay9-Mar-09 3:17
Colin Angus Mackay9-Mar-09 3:17 
AnswerRe: Change a version of pdf Pin
Dave Kreskowiak9-Mar-09 3:29
mveDave Kreskowiak9-Mar-09 3:29 
QuestionRe: Change a version of pdf Pin
abbd9-Mar-09 3:34
abbd9-Mar-09 3:34 
AnswerRe: Change a version of pdf Pin
Dave Kreskowiak9-Mar-09 4:43
mveDave Kreskowiak9-Mar-09 4:43 
GeneralRe: Change a version of pdf Pin
DaveyM699-Mar-09 5:13
professionalDaveyM699-Mar-09 5:13 
GeneralRe: Change a version of pdf Pin
Dave Kreskowiak9-Mar-09 7:53
mveDave Kreskowiak9-Mar-09 7:53 
JokeRe: Change a version of pdf Pin
DaveyM699-Mar-09 10:17
professionalDaveyM699-Mar-09 10:17 
Questionc# Pin
Amin.mosbat9-Mar-09 0:53
Amin.mosbat9-Mar-09 0:53 
AnswerRe: c# Pin
dan!sh 9-Mar-09 0:59
professional dan!sh 9-Mar-09 0:59 
AnswerRe: c# Pin
Paw Jershauge9-Mar-09 1:39
Paw Jershauge9-Mar-09 1:39 
QuestionCreating you own Nullable<t></t> Pin
Paw Jershauge9-Mar-09 0:25
Paw Jershauge9-Mar-09 0:25 
AnswerRe: Creating you own Nullable Pin
ABitSmart9-Mar-09 0:39
ABitSmart9-Mar-09 0:39 
GeneralRe: Creating you own Nullable Pin
Paw Jershauge9-Mar-09 1:19
Paw Jershauge9-Mar-09 1:19 
GeneralRe: Creating you own Nullable Pin
ABitSmart9-Mar-09 1:29
ABitSmart9-Mar-09 1:29 
AnswerRe: Creating you own Nullable [modified] Pin
harold aptroot9-Mar-09 0:51
harold aptroot9-Mar-09 0:51 
GeneralRe: Creating you own Nullable Pin
Paw Jershauge9-Mar-09 1:26
Paw Jershauge9-Mar-09 1:26 

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.