Click here to Skip to main content
15,922,630 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionGenerating CHM Files From .Net IDE Pin
mohsin_m28-Aug-05 19:08
mohsin_m28-Aug-05 19:08 
QuestionPassword Policy Pin
Barm28-Aug-05 16:47
Barm28-Aug-05 16:47 
AnswerRe: Password Policy Pin
Dave Kreskowiak30-Aug-05 10:13
mveDave Kreskowiak30-Aug-05 10:13 
GeneralRe: Password Policy Pin
Barm30-Aug-05 18:44
Barm30-Aug-05 18:44 
QuestionRichTextBox Text Pin
allenmpcx28-Aug-05 4:15
allenmpcx28-Aug-05 4:15 
AnswerRe: RichTextBox Text Pin
Dave Kreskowiak28-Aug-05 5:08
mveDave Kreskowiak28-Aug-05 5:08 
GeneralRe: RichTextBox Text Pin
allenmpcx28-Aug-05 8:12
allenmpcx28-Aug-05 8:12 
QuestionRichTextBox editor Pin
Anonymous28-Aug-05 3:14
Anonymous28-Aug-05 3:14 
I'm trying to create a basic rich text editor using the .NET's new
RichTextBox control. However, it seems to me that the control is
unnecessarily difficult to work with - especially in comparison to the
RichTextBox ActiveX control I used to use in Visual Basic. For example, I've
still not discovered an effective way of making the selected text bold /
italic / underlined. etc.

With Visual Basic you could just set the control's SelBold / SelItalic /
SelUnderline properties to true but with .NET you from to do something along
the lines of:

rtbEditor.SelectionFont = new Font (rtbEditor.SelectionFont, FontStyle.Bold)

Which wouldn't be a problem except that the SelectionFont property is null
if you happen to have more than one font selected.

The only way around this that I can envisage is to looping through all
selected characters and individually change all of their font properties.
Surely there is some way of doing something as simple as changing the Bold
property without having to resort to ugly hacks like that?
AnswerRe: RichTextBox editor Pin
mav.northwind28-Aug-05 3:48
mav.northwind28-Aug-05 3:48 
GeneralRe: RichTextBox editor Pin
Anonymous28-Aug-05 7:23
Anonymous28-Aug-05 7:23 
QuestionMenu bar Pin
tassu27-Aug-05 22:38
tassu27-Aug-05 22:38 
QuestionSetSocketOption - TypeOfService doesn't work Pin
Gal Shadeck27-Aug-05 22:24
Gal Shadeck27-Aug-05 22:24 
AnswerRe: SetSocketOption - TypeOfService doesn't work Pin
Anonymous31-Aug-05 20:26
Anonymous31-Aug-05 20:26 
Question8bit encoding Pin
nameoraliasfornoob27-Aug-05 21:07
nameoraliasfornoob27-Aug-05 21:07 
QuestionUse of .Net remoting for client server architecture Pin
dashik25-Aug-05 7:23
dashik25-Aug-05 7:23 
AnswerRe: Use of .Net remoting for client server architecture Pin
Achintya Jha30-Aug-05 7:06
Achintya Jha30-Aug-05 7:06 
GeneralRe: Use of .Net remoting for client server architecture Pin
dashik30-Aug-05 7:34
dashik30-Aug-05 7:34 
QuestionHide form Pin
Anonymous25-Aug-05 1:21
Anonymous25-Aug-05 1:21 
AnswerRe: Hide form Pin
Dave Kreskowiak25-Aug-05 7:15
mveDave Kreskowiak25-Aug-05 7:15 
QuestionLocalization for edit EditorZone Pin
Anonymous25-Aug-05 0:37
Anonymous25-Aug-05 0:37 
GeneralNumericUpDown Problem Pin
wjr-itt24-Aug-05 12:17
wjr-itt24-Aug-05 12:17 
GeneralRe: NumericUpDown Problem Pin
wjr-itt25-Aug-05 4:01
wjr-itt25-Aug-05 4:01 
GeneralConverting bitmaps to stdole picture Pin
gorp12324-Aug-05 9:33
gorp12324-Aug-05 9:33 
GeneralOut of memory unhandled exception Pin
Silberztein23-Aug-05 14:37
Silberztein23-Aug-05 14:37 
GeneralRe: Out of memory unhandled exception Pin
Steve Pullan23-Aug-05 14:54
Steve Pullan23-Aug-05 14:54 

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.