DataGrid? Error

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
lohill
Posts: 770
Joined: Tue Dec 08, 2009 6:37 pm

DataGrid? Error

Post by lohill » Thu Apr 01, 2010 5:32 pm

I am occassionally getting an error that is difficult for me to trace. I think it is coming from my DataGrid column behavior script. Here is the message I get:
An error has occurred in behavior for the column template:
Object: property is not an integer.
The dialog has an 'OK' button and an 'Edit Script' button but nothing happens when you take the option for editing the script. Does anyone have a suggestion for tracing this error down or where to look to correct it?

Thanks,
Larry

trevordevore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1005
Joined: Sat Apr 08, 2006 3:06 pm
Contact:

Re: DataGrid? Error

Post by trevordevore » Thu Apr 01, 2010 6:02 pm

I would check your FillinData and LayoutControl handlers. You could try putting try/catch around the handlers and outputting any errors to the message box.

Code: Select all

on FillInData
   try
        ...
   catch theError
        put theError
    end try
end FillInData
Trevor DeVore
ScreenSteps - https://www.screensteps.com

LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder

Post Reply