Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 31 JUL 2023 02:14:06PM Hank Huizinga wrote:

How to you at runtime get/set editable Column Header properties at runtime?

The Sub-Object Interface has COLUMNS, ROWS and CELLS but no "COLUMNHEADERS"

Specifically, I was trying to get/set the "TextAlign" property for a header column.

I did see that INSERT column now supports setting the header style which is great.

<5> Header Style ETCHS_ styles

Thanks,

Hank


At 31 JUL 2023 02:35PM Carl Pates wrote:

Hi Hank.

Prefix the property name with "HEADER.".

E.g.

Val = Get_Property( "EDT_TEST.COLUMNS", "HEADER.TEXTALIGN", colIdx )

It's the same thing for the ROWS sub-object …

Regards

Carl Pates


At 01 AUG 2023 12:11PM Hank Huizinga wrote:

That did the trick.

Thank you Carl.

Hank


At 11 AUG 2023 05:20PM Barry Stevens wrote:

That did the trick.

Thank you Carl.

Hank

What HEADER. property do you use to change the text color

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/79b1443341add842aa87d059a923920d.txt
  • Last modified: 2024/12/10 16:16
  • by 127.0.0.1