On 4/6/22 19:04, Neville Smythe via use-livecode wrote:
Unfortunately LC doesn’t respond with a “object does not have this property”
error message if you query any old reserved property key for a widget.
It's actually even worse. The clock widget, for instance:
The exported array contains special color options.
These appear in the property inspector colors pane.
You can set the backgroundColor.
You can query the backgroundColor.
But it doesn't appear in the property inspector colors pane.
It also doesn't appear in the custom properties pane.
It does maintain a reasonable value, but it doesn't do anything.
But it *is* serializable.
So does that qualify as a "property" of the widget?
Seems like it might be useful as a way to store "secret" information:
passwords, api keys, etc. that won't appear anywhere and you have to
know about them to query for them in the first place.
--
Mark Wieder
ahsoftw...@gmail.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode