12-23-2022 02:14 AM - edited 12-23-2022 02:19 AM
I am trying to develop a clean help button XControl that uses One Button Dialog to show a string to user. I want multiple instances of this XControl to show different help strings. The help strings are currently saved in an .ini file, the developer specifies the INI key and string value manually. I would like the Init VI (or Facade VI) to get the INI key to read the string for its instance from the Top VI. It could be the XControl's Label or Caption. That could be done using a method in the Top VI to write the Label to the XControl's data cluster. But can it be done without any Top VI code? Can you reach the XControl ref from its Init VI?
12-23-2022 05:46 AM
Solved a while later - it is the Container state that holds the refnum to the XControl.