closeField - Curious
bobs at twft.com
Wed Jan 5 11:35:54 CST 2011
Well... hmmm... I dunno. I like to enable special behaviors for my fields in the card script or the stack script, check for the existence of a custom prop, if it exists handle it, if not pass closeField. That way new fields work just fine, but I can add a custom prop to enable the special behavior. This is a great way to implement field validation routines.
On Dec 18, 2010, at 8:48 PM, Joe Lewis Wilkins wrote:
> Hi Mike,
> First, you're not going to want to put a "closeField" handler anyplace other than the field to which it applies unless all of the fields on the card, or stack are going to implement something when that message is sent.
More information about the use-livecode