Change properies for rich text box in Form1 from Form2

Discussion in 'Programming General' started by hampe-92, Nov 25, 2008.

Change properies for rich text box in Form1 from Form2
  1. Unread #1 - Nov 25, 2008 at 5:10 PM
  2. hampe-92
    Joined:
    Jul 10, 2008
    Posts:
    328
    Referrals:
    0
    Sythe Gold:
    0

    hampe-92 Forum Addict

    Change properies for rich text box in Form1 from Form2

    Hi
    I need to know how one should go about changeing properties (like font and color) for a rich text box in Form1 from Form2...(I just need help with accessing the form1 RichTextBox from Form2) any ideas or advices is appreciated
    Thx:)
     
  3. Unread #2 - Nov 25, 2008 at 6:14 PM
  4. BigBwoi2001
    Joined:
    Jul 4, 2008
    Posts:
    54
    Referrals:
    0
    Sythe Gold:
    0

    BigBwoi2001 Member

    Change properies for rich text box in Form1 from Form2

    Form1 f1 = new Form1();

    Form2RichTextBox.FontColor = f1.Richtext.FontColor;


    I believe something along that will work
     
< StealRS in C# | silab client problem >

Users viewing this thread
1 guest


 
 
Adblock breaks this site