kellyb at montana.com
Sun May 23 13:30:22 UTC 2021
>I use to store window preferences like text size in headed list and tree list now I have to change it because of Omnis backward step.
> . . .
>when closing window the changes in the object are saved, and the user next enters the window the changes are restored.
Another way to store things in a library class, instead of using method text, is by plugging a list into the class.$userinfo property.
Calculate $cclass.$userinfo as propList
Calculate propList as $cclass.$userinfo
Calculate $cinst.$top as propList.1.value
Calculate $cinst.$left as propList.2.value
This has the advantage that you can still lock the class if you want to, whereas access to method text requires an unlocked class.
More information about the omnisdev-en