I have a richTextbox and in it I just need to display some formatted text. But I don't want the user to edit it. I've set the richtextBox property to readOnly and Ok, it doesn't allow the user to enter any text. But the blinking cursor still appears in the richTextBox. Is it possible to remove that too?
I need to have a RichTextBox that displays various text (in color), but the user cannot highlight or edit the text in anyway, With a regular textbox, I can set .Enabled=False and that does exactly what I want, but with the RichTextBox, setting .Enabled=False turns the box grey, and I need it to stay on the BackGround color....labels won't do, as I need individual words to be different colors.
I'm trying to create a custom control based on TreeView, to be used in other programs.
The control should read the disc folder structure and display it.
The control builds OK, finds the data and builds the tree items.
Trouble is, in the host program, nothing is visible.
Any help will be appreciated.
Since you have not given us any information about the problem, that is going top be difficult. Remember, we cannot see your screen or source code. You need to do some debugging and provide some actual details of what is happening in your code.
To add to what jibesh said - please don't do it like that! Never store passwords in clear text - it is a major security risk. There is some information on how to do it here: Password Storage: How to do it.[^]
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.
i want to detect mouse over on title bar or mouse out from title bar in my c# winform apps. i got a code sample which works but the problem is when i place the mouse on any area of win form then mouse leave occur and when i put mouse on title bar then right event call. actually i want that if i place my mouse on any area of form except title bar then nothing should happen.only when i will place mouse on title bar then a notification should come to me and when i will remove mouse from title to out of my form then label should display mouse out message but if remove mouse from title bar to form body then label should be blank.
here is code. just run this code and tell me what modification i should do to get my expected result. thanks