Problems with borders
Posted: Tue Oct 31, 2006 10:00 pm
Hi.
If i have a word ABC, I highlight it, then insert borders (with all BorderOffests=0) around it, the border will alsways go from the left margin to the right margine of the richview control (regardles of where on the line i put ABC). If I change BorderOffsetts.right to -100, the right border margin comes (100 pixels??) shorter then the richview right margin. -200, shorter, -600, it comes close to the end of ABC. In other words, it seems that what is expalined in the online manual for BorderOffsets works BUT with respect to the width of the richview control, not the width of the word selected. Am I doing something wrong? No doubt. Moreover, if i have 3 lines
ABC
123
DEF
highlight them all and insert a border around them, richview draws 3 borders, 1 around each line . Is it possible to draw a border aound the selected paragraph?
Thanks for any help.
If i have a word ABC, I highlight it, then insert borders (with all BorderOffests=0) around it, the border will alsways go from the left margin to the right margine of the richview control (regardles of where on the line i put ABC). If I change BorderOffsetts.right to -100, the right border margin comes (100 pixels??) shorter then the richview right margin. -200, shorter, -600, it comes close to the end of ABC. In other words, it seems that what is expalined in the online manual for BorderOffsets works BUT with respect to the width of the richview control, not the width of the word selected. Am I doing something wrong? No doubt. Moreover, if i have 3 lines
ABC
123
DEF
highlight them all and insert a border around them, richview draws 3 borders, 1 around each line . Is it possible to draw a border aound the selected paragraph?
Thanks for any help.