02-16-2018 09:51 AM
Dear Madam/Sir,
I would like to change the labels of a ringdial control at runtime.
I tried to use the command
ReplaceListItem (panel, TOF_RINGDIAL_MUX1, 0, "2Dx", 0);
to replace the old label at the item 0 with the new one ("2Dx"). The command:
GetLabelFromIndex (panel, TOF_RINGDIAL_MUX1, 0, zp);
shows that the label has successfully changed (zp="2Dx") but the appearance of the command when the .uir is loaded at runtime is as before the label change. Is there some command required to update the appearance?
Thanks
Regards
Luca
02-16-2018 10:43 AM - edited 02-16-2018 10:44 AM
Every change done at run time is valid only during program lifetime and is not saved in the .UIR file.
This means that you must repeat the customization every time you load the panel with LoadPanel.