[WD18] - Table fonts

Startbeitrag von JP am 14.02.2014 15:14

Can I just confirm that the font settings for columns in a table must be set before adding any data to the table using TableAddLine() ? When I try changing the font name or size after the table is populated it has no effect on the pre-existing content. Is that correct or do I miss something?

Thanks

Antworten:

Hi JP

What about issuing a TableDisplay after changing fontnames or size ? Does this work ?

Best regards
Viggo Poulsen

von Viggo Poulsen - am 14.02.2014 15:21
Hi Viggo,

Yeah, I tried that but the existing content does not change. If I add new lines/rows to the table they pick up the new font properties - but the existing lines stay the same.

von JP - am 14.02.2014 15:50
Hi Viggo

I have found it - as usual, my own ignorance :) One needs to enumerate all existing table rows and set the fontname and size for each row to the new values. I was making a mistake thinking I had to set the column properties.

Thanks for the feedback!

von JP - am 14.02.2014 16:32
Hi JP

Glad you succeded. In the help I found this, which seems to address a single cell:
Tip for the browsing tables and for the browsing tables loaded in memory
To display a calculation in a calculated column or to format a cell ("red background if value greater than 50" for example), use the "Row display" process of the table.

I havent tried it but it would be interresting if it works.

Best regards
Viggo Poulsen

von Viggo Poulsen - am 14.02.2014 17:51
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.