Paragraph formatting in rich text control

P

paulwms

After typing a phrase in an empty rich text control, I want to set the
current paragraph to be a bulleted list. But clicking the bulleted list menu
option has no effect here. After I insert a couple of returns, I can select
the middle paragraph and the bulleted list option works there just fine - but
not in the first or last paragraph in the rich text control. Am I doing
something wrong, or is this behavior by design?
 
P

paulwms

Cindy M. said:
Hi Paul,

I'm not able to reproduce your problem. [...]

FWIW, if I type something in a RichText control, then click the Bulleted List
button, the bullet appears *outside* the content control. If I then press ENTER
a new paragraph appears and the bullets for both paragraphs are inside the
content control.

Thanks Cindy. The fact that your bullet formatting was applied to the
paragraph that contains the control instead of the paragraph inside the
control may be part of the problem. The difference is that my control is
contained inside a protected group, so I'm not allowed to change the
formatting outside of the control. Therefore it appeared that nothing was
happening. I tried the test again with a control that is not contained in a
group and got the same results as you.

So, the question is: why does the formatting get applied to the paragraph
outside the control when the cursor is inside the control?? But also, with
the control contained in a group, I still cannot get the bullet to appear
after a single return is entered like you can when its not in a group. Its
only after entering another return that I'm able to go to the middle line and
apply bullet formatting successfully. Anyone have any suggestions?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top