In a fairly complex form that contains 3 text list objects, the following log items are appearing when an item is selected in one of the text lists.
When the user clicks on an item, it highlights for a moment, and then unhighlights – so, it appears as if none of the items are selected. Then it add the following to the log output.
2022-12-14 05:46:34.391 PanoramaX[16693:417149] Text List selection changed unexpectedly!
2022-12-14 05:46:35.878 PanoramaX[16693:417149] Text List selection changed unexpectedly!
2022-12-14 05:47:09.663 PanoramaX[16693:417149] Text List selection changed unexpectedly!
This appeared right after the above … not sure it’s related.
2022-12-14 05:54:57.462 PanoramaX[16693:417149] *** WARNING: Method convertPointToBase: in class NSView is deprecated on 10.7 and later. It should not be used in new applications.
I changed the “formula” property of the text list from a variable fgStatementCustIDList to a simple formula: Replace("One;Two;Three",";",cr()) and it behaved properly.
Then, I switched it back to the variable, and it’s working correctly.
Wondering what triggers this to “break” … the variable value did not change …
I have had this same type of behavior in the past when I had a global variable automatically show up with the same name as a fileglobal and they were fighting for control. I have no idea how the global was created nor did Jim when I brought up the problem with him. My suspicion is that it had something to do with using the letfileglobal command to establish the variable in the .Initialize procedure. After I change to using the older fileglobal first then giving it a value separately the problem has not come back. Can’t say for sure if that was the actual cause or not.