Page 1 of 1

Problem with Calculating Formatted Height of a Datagrid

Posted: Tue May 05, 2020 8:40 pm
by montymay
Hello

When I open a particular card, the message box opens with the following text:
88,3484,1
62,3484,1
69,3484,1,group id 1375 of card id 1374 of stack "Data Grid Templates 1517645074315"
241,3484,1,_list.CalculateFormattedHeight
353,0,0,stack "C:/Program Files (x86)/RunRev/LiveCode Business 9.5/Toolset/palettes/revdatagridlibrary/behaviorsdatagridbuttonbehavior.livecodescript"
573,2722,1,_list.CalculateFormattedHeight
587,2722,1
241,2716,1,_CalculateFormattedHeight
353,0,0,stack "C:/Program Files (x86)/RunRev/LiveCode Business 9.5/Toolset/palettes/revdatagridlibrary/behaviorsdatagridbuttonbehavior.livecodescript"
573,1884,1,_CalculateFormattedHeight
253,1884,1
253,1884,1
The card has a table datagrid. The message box opens after the datagrid is displayed. Since a datagrid template is referenced in the message, I thought that the table datagrid had something to do with the problem, but disabling it does not prevent the message box message. Thank you for comments and suggestions as to the cause or remedy.

Monty

Re: Problem with Calculating Formatted Height of a Datagrid

Posted: Tue May 05, 2020 8:50 pm
by FourthWorld
You should be seeing a more friendly format for that error. If report the error handling as a bug.

As for the underlying issue, I won't be able to help until I'm back at my computer and can look up those error codes. But normally the IDE should be providing that guidance for you, so please consider reporting it, or if you have a simple example for reproducing it I can report it for you.