On Sep 27, 2014, at 8:34 PM, Kay C Lan <lan.kc.macm...@gmail.com> wrote:
> At this stage it looks like I have to step through each object, > extract each script and then parse out the handler names; which of > course is exactly what LC does extremely quickly and efficiently, but > not as quick as if there is a command/function that already does it > ;-) Hi, Kay. For each object, to discover all its available handler names, their types, and their line numbers in the script, you can use function handlerList( tObject, tIncludeBehaviorHandlers, tIncludePrivateHandlers ). So if you want to include behavior handlers and private handlers of tObject, the expression is handlerList( tObject, "true", "true" ). I've found code in the IDE that invokes function handlerList, but I haven't found the code for the function itself. Or you can use function revAvailableHandlers( tObject ). -- Dick _______________________________________________ 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