revPrintField suggestion

Steve Messimer steve at messimercomputing.com
Tue Dec 3 20:43:01 EST 2002


on 12/3/02 7:48 PM, use-revolution-request at lists.runrev.com at
use-revolution-request at lists.runrev.com wrote:

> Hi Steve,
> 
> No solution; but a suggestion:
> 
> Have you considered scripting this with a handler in the group script
> instead of the individual control?  Eg:
> 
> on mouseUp
> switch (the short name of the target)
> case thisControl
> revPrintField the short id of field "fldGrp" -- Thanks Richard
> 
> The logic seems more straightforward to me.
> -- 
> 
> Rob Cozens
> CCW, Serendipity Software Company

Rob

As usual when you hang around here you find other ways to do what you had in
mind. I think I am going to stick with the solution I came up with but your
idea has  a lot to recommend it and I will no doubt consider this approach
in the future.

As an aside, I have noticed that folks use parentheses after commands.  It
seems that these can be used after almost any command. I know that
parentheses are used after functions and can be used with properties.  In
What other circumstabses can they be used?

Thanks 

Steve




More information about the Use-livecode mailing list