You cannot set a behavior to a field. It has to be a button. I asked about this
when behaviors first were introduced. Trevor gave me some answer as to why, but
I forget what it was now.
Bob
On Jul 19, 2012, at 5:20 PM, Dr. Hawkins wrote:
> I've been trying all day to get behavior, to work, a
On Thursday, July 19, 2012, Richard Gaskin wrote:
>
>>
> Just put that field's script into a button and you'll be set.
>
> At this time buttons are the only controls that can be used to hold a
> behavior's script.
wow. Ok.
The do umentation uses buttons for the examples, but "control" for what
Dr. Hawkins wrote:
I've been trying all day to get behavior, to work, and can't
set the behavior of grp "grp_cmbIncome" of card "meansTestIncome" to
the long id of fld "ctr_calcPop" of cd 1 of stack "mcp"
produces an execution error at line n/a (parentScript: bad object)
near "field id 2081