I've got you MergeDataGrid Scroller for a stack that should work on OS X,Win and mobile. I have 2 problems: 1st problem: since I decided to put 2 different option buttons on the data grid (hiding one or the other according to mobile or OS X/Win), when I refresh the data grid I get this error:
573,3,1,resetList 241,3,1,mouseup 353,0,0,button id 46466 of card id 46375 of stack "revPropertyPalette 1"
Trying to open the script return "no such card". Of course the data grid does not draw correctly. This is the row behavior:
on FillInData pDataArray
set the text of field "DossierName" of me to pDataArray["DossierName"]
set the text of field "DossierDetails" of me to pDataArray["DossierDetails"]
set the text of field "DossierTemplate" of me to pDataArray["TemplateName"]
if the environment = "Mobile" then
show group "Dossier_Status" of me
hide button "Dossier_StatusDesktop" of me
put line pDataArray["DossierStatus"] of gDialogs[34] into gCurrentSelectedValue
set the label of button "Dossier_Status" of me to gCurrentSelectedValue
else --desktop
hide group "Dossier_Status" of me
show button "Dossier_StatusDesktop" of me
set the content of btn "Dossier_StatusDesktop" of me to gDialogs[34]
set the label of button "Dossier_StatusDesktop" of me to line pDataArray["DossierStatus"] of gDialogs[34]
end if
end FillInData
2nd problem: Before the above change (the two buttons) the stack was working fine on OS X. But on iOS simulator or iPad2 fisical, if there was data on the data grid, the App would crash without messages (after OpenCard). How can I find out the problem from the apple crash report ?