Page 1 of 1

How to get the fact label

Posted: 03 Jun 2015 17:30
by shoshk
This feels like a really stupid question -- how do I get the fact label (not tag) programatically?

Thanks,

Shoshana

Re: How to get the fact label

Posted: 03 Jun 2015 21:30
by tatewise
Welcome to the FHUG.

You need to use the LUA API fhCallBuiltInFunction to call the FH =FactLabel function with a Fact pointer parameter.

Note that fhGetDisplayText and fhGetItemText will include the Fact Label for Fact items.

Re: How to get the fact label

Posted: 04 Jun 2015 01:45
by shoshk
Thank you