Datagrid Default Column Behavior
Trevor DeVore
lists at mangomultimedia.com
Mon Oct 4 09:45:02 EDT 2010
On Sun, Oct 3, 2010 at 9:06 PM, Peter Haworth <pete at mollysrevenge.com>wrote:
> What is the correct way to set the default column behavior of a datagrid so
> that the script is entered for columns which have been customised to contain
> option menus?
>
> I have set the default column behavior property for the datagrid but suing
> debug shows that the script is only executed for columns that hve not been
> customised in some way.
>
When you create a custom column the behavior script of the column template
is assigned to the behavior that is created alongside the column template.
The default column behavior only applies to column templates that do not
have a behavior assigned. Just set the behavior of your new column template
to empty and then it will inherit the default behavior.
--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers:
http://revolution.bluemangolearning.com
More information about the use-livecode
mailing list