P
pyda001
I'm making a retianed mode drawing system. In my application I want to
make the users able to create textboxes similar to the ones used in
e.g. PowerPoint.
So far the application lets the user create the textboxes. My issue
arises when the user doubleclicks the textbox and I superimpose a
RichTextBox exactly over the extents of my retained mode textbox. The
user should be able to edit the text in the textbox, but no matter how
I tweak the RichTextBox it moves the text slightly compared to the
underlying text. I can also foresee an upcoming problem when I let the
user have two or more fonts in the same textbox.
Anyone have dealt with this before? Is the RichTextBox the right
control to use or should I recreate this entire control from scratch?
- Peder -
make the users able to create textboxes similar to the ones used in
e.g. PowerPoint.
So far the application lets the user create the textboxes. My issue
arises when the user doubleclicks the textbox and I superimpose a
RichTextBox exactly over the extents of my retained mode textbox. The
user should be able to edit the text in the textbox, but no matter how
I tweak the RichTextBox it moves the text slightly compared to the
underlying text. I can also foresee an upcoming problem when I let the
user have two or more fonts in the same textbox.
Anyone have dealt with this before? Is the RichTextBox the right
control to use or should I recreate this entire control from scratch?
- Peder -