AnsweredAssumed Answered

Get the name of a text object

Question asked by oak on Jan 9, 2019
Latest reply on Jan 18, 2019 by sarah_beete

I want to apply a conditional formatting to a text object (not a text field) in the header part of a layout.

My thought was to match the current record ID field to the name of the object. Is there a way to get the name of a text object?

Something like GetLayoutObjectAttribute (self;"objectName") ???


Background: We have a flat table of computer names. The header has the office layout map. We overlay the map with text fields for the computer names. We like to highlight a text field with the computer name on the map when the computer record is selected. Our thought was to link the text object name with the  record id, rather then writing individual formatting functions for each text field.