on 01-28-2015 5:25 PM
Hi,
We a problem with RTF report margins in Powerbuilder 12.5 .
We noticed a different type of margins interpretation between Powerbuilder 9 and 12.5 when there are many fields in the same row.
We would like to display the single fields under a specific heading column, as a table; for example:
heading1 heading2 heading3
column1 column2 column3
In powerbuilder 9 was easy to do this , by setting the heading columns and fixing the fields positions , by tabbing as shown below
In Powerbuilder 12.5 this doesn't work properly, because the fields are shifted from the original position. The result is this:
Only the first 2 colums are correctly aligned, the third (A POS) is not well positioned.
Someone have any idea to how work around this problem?
Thank you
Luca
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Luca;
Have you tried using a non-proportional (fixed width) font ( ie: Courier, Courier New, and Lucinda Console, etc )?
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris,
yes we tried and using fixed width font is a possible solution. In every case you have to create a compute field to fixed the lenght of the column , otherwise you can't be sure that the columns positions (not heading column) is that you want ; and use another font instead the original.
We were wondering if there is another way....
Thank you so much
Luca
Hi Luca;
AFAIK this is the only way I have been able to accomplish the alignment in the new RTF control (3rd party control BTW) changed over in PB v10-10.5 time frame.
I wish there was a setting in the RTF control in the Window or DW Painter that allowed us to set "Tab Stops" like you can in MS-Word - or - even a SetTabStop ( ) method that gave us more control at run time.
Maybe someone else has another idea (<fingers crossed for you here>)
Regards ... Chris
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.