on 03-31-2008 2:23 PM
Hi,
Is it possible to have a field "Value" to be formated and right aligned?
Best regards,
Dharmi
Hi,
yes its possible .Go for display tab->text aligne->set to right or left or center.
Regards,
Govindu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dharmi,
What I did was change the value property of the control I wanted to "right-align", using the configure panel for that control.
I changed it from =@NUM1 to =LPAD(@NUM1, 50, ' '). This adds the right amount of spaces to the left side of NUM1 (which is implicitly converted to a Text) to bring the total length of the column to 50 characters.
The two obvious drawbacks are 1) that if the window is resized, so that the column's width changes, then the value you've chosen for len will no longer be appropriate, and it will appear very ugly and 2) because this means using an expression for the control's value property, the control will no longer be editable.
Tell me if this works for you now.
Regards,
Eyal
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.