Datagrid Error in Standalone
pete at mollysrevenge.com
Thu Dec 23 13:07:53 EST 2010
I'll try. A little difficult since the error doesn't occur in the IDE
although the datagrid corruption does.
I have the following code in the script for the datagrid.
put "menuPick" && the label of button "DB_ContactInfoType" into
send myMessage to button "DB_ContactInfoType"
put "menuPick" && the label of button "DB_Type" into myMessage
send myMessage to button "DB_Type"
As far as I can tell, the problem occurs when the "send myMessage to
button "DB_Type" statement is executed (the button is an option
menu). There's something else strange going on because I have a
breakpoint set at the start of the menuPick handler for that button
but it doesn't always trigger. The code in the menuPick handler does
no dg manipulation, just resizes the window depending on the label of
The dg corruption goes away if Refresh the datagrid from its property
On Dec 23, 2010, at 6:18 AM, Trevor DeVore wrote:
> On Wed, Dec 22, 2010 at 9:23 PM, Peter Haworth
> <pete at mollysrevenge.com>wrote:
>> Getting this error in a standalone, doesn't happen in the IDE:
>> Type: Handler: error in statement
>> Object: group 'TaskList' of group 'DB_Activities' of card
>> of stack 'Tasks' of stack
>> Line Num: 0
>> Hint: _table.DeleteDataControls
> Can you provide some context such as what is triggering the error?
>> After the error is reported, the data in the datagrid is corrupted.
> The data or the display of the data? If you fetch the dgData of the
> grid are values missing?
> Trevor DeVore
> Blue Mango Learning Systems
> ScreenSteps: http://www.screensteps.com
> Releasable Revolution Resources for Developers:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode