473,396 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Fontdialog

Hi,

I'm not good with programming, so wanna ask quite a stupid question. I make
a font dialog as a part of my parent form. Then i used the MDI to create a
child form which consist of a richTextBox

How do change the font and colour of my typing in richTextBox inside my
child form from the fontDialog in my parent form.

And about the changing of the fonts, how to separate this 2 scenario :
1. Block the existing sentences, choose the font dialog option and change
the style.

2. Change the style, and it will only change the next letter typed. But it
does not change any typing that is not blocked.

Thanks in advance
Cheers
Nov 17 '05 #1
0 1199

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tim Haughton | last post by:
I've just released an article on using Test Driven Development with C# and Windows Forms. GUI's are often difficult to test, so I thought it might be of interest. The article along with the...
1
by: joannelai | last post by:
Hi, In my application, I would like to use a FontDialog which allows users to change some options of font of the data in DataGrid. However, I don't want to let the users to modify the face of...
3
by: Wim | last post by:
I would like to store the ListView font in the XML config file. So I have a string variable listFont that stores the font (font.ToString()). It must be a string variable because a Font object...
3
by: active | last post by:
A few questions about the FontDialog and dealing with Fonts Is it necessary to pass the parameters ByRef so that updated values can be returned.? I wouldn't think it is necessary for the font...
1
by: Chris | last post by:
Hi all, I've been trying to update the font style in a RichTextBox using FontDialog. But when I use this method (Rather than change each attribute individually) all the text in the RTB changes...
2
by: new at this via DotNetMonster.com | last post by:
i am new at this and i need some help. i am working with 2 richtextboxs,2 radiobuttons,1 fontdialog and a button i am trying to make it so when you select radiobutton1 and hit button1 the font...
2
by: piercy | last post by:
The project im working on requires the user to be able to print reports based on information the program gathers. (ie.To, From, Cost, Username etc.etc.). Now to make this report thing more usable...
3
by: Tony Johansson | last post by:
Hello! I have a class called Simple Editor below where most of it is from a book that I'm reading. If I want to add a Header and a Footer to each page printed. We can just as an example want...
0
by: Tony Johansson | last post by:
Hello! I have a simple application from a book where the actual applications permission doesn't match the permission referenced from the book. My question is written further down. The book is...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.