Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Usage of chameleon button or activex to improve justification and display

Hi

1)I have a problem with making text inside a rich text box which is actually a field in access table fetched by a recordset, justified fully. It is displayed awkwardly : a few sentences start from left, a few from centre, and a few ends with only one or two words. I want to justify the text in richtext box fully. Is this possible with using some chameleon button.

2)THe same justification problem I have with label. captions arranged one below one too.

3)How to improve the display of form interfaces using activex chameleon button.

Please help me.
[594 byte] By [maheeru] at [2007-11-11 7:32:41]
# 1 Re: Usage of chameleon button or activex to improve justification and display
Hi Marco

Am expecting some solution for my troubles. I hope u give some solution
maheeru at 2007-11-11 17:26:53 >
# 2 Re: Usage of chameleon button or activex to improve justification and display
what is a "chamaleon" button?
I suspect that the problem is in some formatting characters that are embedded in the strings you are displaying, because you have the same problem with Labels.
There is nothing I can do, you just have to parse the string char by char and see if it is correct before displaying it.

Marco
mstraf at 2007-11-11 17:27:53 >
# 3 Re: Usage of chameleon button or activex to improve justification and display
I should ve been more clearer Marco.

This chameleon buttons are not ordinary grey vb buttons. They are rather like original chameleon which take different colour from the sorroundings. They voluntarily take colour, texture, form, gradient (also other formatting features could be corrected )from the background of form and backcolour of other containers.

Strings are typed in databases without proper alignment it seems. So when I get them in richtext box and other things in label.captions a bit weirdy alignment shows. But manually correcting thousands of records is a bit difficult. So I want control over how to place the text justified using any activex control.
maheeru at 2007-11-11 17:28:51 >