Results 1 to 6 of 6

Thread: Tristate in RTF-Box

  1. #1

    Thread Starter
    Lively Member sjwesley's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    73
    Well..if I got you right...

    you have to use SelBold, SelItalic and SelUnderline property of the RichTextBox for both setting and reading.

    You could use CheckBox Control with Style=1 to set Bold and so on.
    A time to love, and a time to hate; a time of war, and a time of peace - Ec:3:8

  2. #2
    Addicted Member
    Join Date
    Aug 2001
    Location
    Munic
    Posts
    178
    I use a button on a toolbar to set them on and off. I want to handle the tristate, thats all. The rest almost works

    maybe I didn't got you right ??

  3. #3
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    If you want it to be a button then use a Checkbox and set it's style to 1 (Graphical).

  4. #4

    Thread Starter
    Lively Member sjwesley's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    73
    Did you try toolbar Button.Style=tbrCheck
    A time to love, and a time to hate; a time of war, and a time of peace - Ec:3:8

  5. #5
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    Set the MixedState of the Toolbar button to True.

    Best regards

  6. #6
    Addicted Member
    Join Date
    Aug 2001
    Location
    Munic
    Posts
    178
    Thanks Guys

    I got it !!

    CU

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width