Page 1 of 1

DataGrid ios Scroller

Posted: Thu Dec 11, 2014 8:07 am
by Kevvy
Hi Guys,

I am currently having an issue with my native scrolling for a datagrid. I have a checkbox in each record which doesnt respond to the tap in till there is some sort of scrolling action first.
This started appearing after i Switched over to LiveCode 7.0

Here is parts of my code related to the scrolling:

Code: Select all

  if the environment is "mobile" then
      lock screen
      
      put mobileControls() into tControlList
      repeat for each line x in tControlList
         mobileControlDelete x
      end repeat
      
      set the unboundedHScroll of group "ScrollerGroup" to false
      set the unboundedVScroll of group "ScrollerGroup" to true
      
      iphoneControlCreate "scroller"
      put the result into sScrollerId
      
      iphoneControlSet sScrollerId, "visible", "true"
      iphoneControlSet sScrollerId, "canBounce", "false"
      iphoneControlSet sScrollerId, "pagingEnabled", "false"
      iphoneControlSet sScrollerId, "canScrollToTop", "true"
      iphoneControlSet sScrollerId, "vIndicator", "false"
      iphoneControlSet sScrollerId, "contentRect",  (0, 0, 688, 2500)  
      iphoneControlSet sScrollerId, "rect", "44,598,732,950"  

      unlock screen

   end if

on scrollerDidScroll OffsetX, OffsetY
   set the hScroll of group "ScrollerGroup" to OffsetX
   set the vScroll of group "ScrollerGroup" to OffsetY
end scrollerDidScroll
Any ideas ?

Thanks !

Regards,
Kevvy

Re: DataGrid ios Scroller

Posted: Sat Dec 13, 2014 12:15 am
by charms
Use 6.7 and open a bug report for 7 at http://quality.runrev.com. We still have much issues with 7.0 ourselves too with our IOS app. In my eyes it's not yet usable. Also the size of the binary doubles out of some reason. The browser crashes when closing and so on.

6.7 is more or less usable.