Bug [15118] native scroller

Richard Gaskin ambassador at fourthworld.com
Tue Apr 14 10:58:25 EDT 2015


John Dixon wrote:

 > I was absolutely convinced that I was correct, as I was using the
 > same code that is already in a stack on the Apple app store...  I
 > must have deleted the line whilst preparing a facelift for the
 > app...:-(
 >
 >    iphoneControlSet scrollID, "visible", true
 >
 > this is the missing line that caused me to think that the scroller in
 > LC 6.7.4 & LC 7.0.4 was not working and prompted me to file a 'bug'
 > report...
 >
 > I apologise to Hanson, Sebastien and Panos for putting up with my
 > 'bug' report, completely wasting their time and for getting me out of
 > the 'massive' hole that I have manged to dig for myself...

That was very gentlemanly of you, but in all fairness I've always 
wondered why the engine doesn't just instantiate those for us.

Now that I'm doing mobile work in earnest I found it tedious to create 
groups around fields, so I've been experimenting with having those 
dynamically created at runtime via script, and then calling the 
appropriate native instantiation calls.

But to be honest it feels a little silly having to do that:  the engine 
knows the rect of the object, and it knows the object is visible, and it 
knows the object is scrolling. If I can write a script to look for those 
and automatically instantiate scrollers as needed, is it really too hard 
for the engine to do?  After all, scripts are run by the engine.

Whingeing aside, there was another bit of good news from this thread - 
earlier I'd noted that we can't paste text from LiveCode into programs 
that expect styled text, and I got notice this morning that now the lead 
engineer, Mark Waddingham, is looking into that.

Good to see progress like this.

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list