radiobuttons

  • Thread starter Thread starter new at this via DotNetMonster.com
  • Start date Start date
N

new at this via DotNetMonster.com

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
dialog will control richtextbox1s font and color and if you select
radiobutton2 and hit button1 you can control rich textbox2s font and color.
 
new said:
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
dialog will control richtextbox1s font and color and if you select
radiobutton2 and hit button1 you can control rich textbox2s font and color.
Ok.
How about in the button click you get the selected font via the fontdialog.
if(radiobutton1.Checked)
{
TextBox1.SelectionFont = MyFont;
{
else
{
TextBox2.SelectionFont = MyFont;
}
 
John said:
Ok.
How about in the button click you get the selected font via the fontdialog.
if(radiobutton1.Checked)
{
TextBox1.SelectionFont = MyFont;
{
else
{
TextBox2.SelectionFont = MyFont;
}

thx thats jus what i needed
 
Back
Top