DataGrid ios Scroller

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Kevvy
Posts: 20
Joined: Fri Jan 10, 2014 7:06 am

DataGrid ios Scroller

Post by Kevvy » Thu Dec 11, 2014 8:07 am

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

charms
Posts: 122
Joined: Mon Feb 10, 2014 6:21 pm
Contact:

Re: DataGrid ios Scroller

Post by charms » Sat Dec 13, 2014 12:15 am

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.

Post Reply