Virtual properties

Mark Wieder mwieder at ahsoftware.net
Wed Mar 24 22:54:47 EDT 2010


Craig-

Wednesday, March 24, 2010, 3:20:46 PM, you wrote:

> Is it true then, that "set" commands and commands that retrieve custom
> properties are always intercepted by "setprop" and "getProp"? And these will not
> pass to the engine unless you let them? Is this the single, or at least the
> most important instance where it is possible to intercept commands? Rev,
> unlike HC, does not normally allow this to happen to reserved words. Here, you
> can, and it seems appropriate.

Before you get too excited, you still can't use getProp and setProp
handlers to intercept properties that aren't custom properties. You
can't, for example say

setProp width

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list