Inserting a Reference Field with a theme or widget
Posted: Fri Mar 31, 2017 5:48 pm
I want to insert a reference when a screen is converted using my custom theme.
For example, I want to insert the reference 'TTLPGM' into the tooltip property of an element when I am converting a screen.
If I just do:
It just changes the tooltip to the plain text: "TTLPGM" as I would expect.
How do I tell the theme that I want this to use a referenced field?
Thanks
For example, I want to insert the reference 'TTLPGM' into the tooltip property of an element when I am converting a screen.
If I just do:
Code: Select all
item["tool tip"] = "TTLPGM";
How do I tell the theme that I want this to use a referenced field?
Thanks