Hi Kevin,
What exactly doesn't work? Do you get any errors?
Any of those properties could return Null if selected text has a mix of corresponded settings.
>In the mouse move of a RichText control, I change
>the Bold, Italic and Underline buttons on a toolbar:
>
>WITH This
>
> .cntToolbar.optBold.Value = .oleRTFPad.SelBold
> .cntToolbar.optItalic.Value = .oleRTFPad.SelItalic
> .cntToolbar.optUnderline.Value = .oleRTFPad.SelUnderline
>
>ENDWITH
>
>
>
>The problem is that if the selected text is both Bold AND
>Italic, it doesn't work.
>
>Anyone know what I'm doing wrong?
>
>Thanks
--sb--