I use a PopFile instance in the Prefs window of my Application.
But it doesn't support exportID to save the contents.
Its string gadget theoretecally does, but I don't know the id of the field, only that of PopFile.
I had to add an additional hidden string file with an exportID to store the data to be saved. The contents of this and PopFile are synchronised to circumvent the lack.
I wish exportID attribute for PopFile.
Problem 2:
For synchronisation of the two string gadgets I wanted to utilize the feature of MUI to automatically do this:
Code: Select all
mui.DoMethod("dummystr","Notify","Contents","mypopfile","Set","Contents","Triggervalue")
Thus I had to manually evaluate triggerd events and then update myself:
Code: Select all
...
If (msg.id="dummystr") And (msg.attribute="Contents") Then mui.Set("mypopfile","Contents",msg.triggervalue)
...