Widget Properties

Monte Goulding monte at sweattechnologies.com
Sun Oct 11 02:44:16 EDT 2015


> On 11 Oct 2015, at 5:26 pm, Mark Wieder <mwieder at ahsoftware.net> wrote:
> 
> On 10/10/2015 11:11 PM, Monte Goulding wrote:
> 
>> No I haven’t reported it. I got the impression from the discussion that it was never intended to support the properties so it wouldn’t happen. I’m about to propose (on the engine forum) a refactor of the properties property (which I’ll do if they want me to) that will essentially make the properties property self maintaining rather than the current situation which means the list of properties for an object type needs to be maintained manually. This wasn’t possible before the refactor and there’s still a few issues like identifying which synonym of a property is the one to use in the properties array and which properties should be in the array. The end result will mean the properties of a widget will be kind + the standard properties for a control + the standard properties for an object.
> 
> Oh, please do. I hate that manual updating thing.

Here’s what I’m thinking:

http://forums.livecode.com/viewtopic.php?f=66&t=25563 <http://forums.livecode.com/viewtopic.php?f=66&t=25563>

If I get the go ahead there’s going to be bucket loads trivial changes and stuff like identifying which token is a synonym and which is the official token. Things like rect and rectangle are curly because just about nobody uses rectangle yet obviously rect is the synonym and has been used in the properties property for as long as it has existed...

Cheers

Monte


More information about the use-livecode mailing list