Hi,
I have a client that needs to use styles in the program that I am building for him. The problem is that there are some bugs with the way styles have been implemented. Here are the bugs that are giving us the most problems:
1. Incomplete Shading - In this example assume that we have two styles; Style 1 has a shaded background and a border (applied via the "Draw box" option), and Style 2 has a plain white background. If the user applies Style 1, a border will be drawn around the text (which spans the width of the page) and the area within the border will be appropriately shaded. Now if the user applies Style 2, the border and shading will be removed correctly. The problem is in the next step. Now the user tries to apply Style 1 again. This time the border will be drawn around the text properly but only the area within the border that has text will be shaded, i.e., the deadspace is not shaded, instead it is coloured white.
2. Borders not clearing - In this example assume that we again have two styles; Style 1 has a border (applied via the "Draw box" option), and Style 2 does not. If the user applies Style 1, a border will be drawn around the text, which spans the width of the page. If the user now applies Style 2, the border is not removed.
:!: It seems to me that both of these bugs stem from the fact that the styles are not being cleared properly. Please let me know how I can fix this bug.
Thank-you,
David Reid
FYI Julian, I sent this message to you directly the first time I sent it. Sorry about that, I didn't realize that I could sent private and public message on this forum.