Field object bug on Android?
Mark Schonewille
m.schonewille at economy-x-talk.com
Thu Sep 5 06:48:58 EDT 2013
Hi Terry,
I would never set the height of a field to such a high number. Not only
fields, but groups too cause problems if they get that big. Similar
problems occur on all platforms, including Windows and OSX operating
systems.
A good alternative is to set the field to a reasonable size and increase
and decrease the scroll of the field, instead of setting it to a fixed
number, i.e.
set the scroll of fld x to the scroll of fld x + 10 // (or - 10)
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other
colour spaces. http://www.color-converter.com
Buy my new book "Programming LiveCode for the Real Beginner"
http://qery.us/3fi
Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/
On 9/5/2013 09:16, Terry Judd wrote:
> I'm running into what seems like a bug on Android. I have a bunch of formatted text that I'm displaying in an LC field on Android. The field's height is set to its formattedHeight in a locked group (it's the only control) and is scrolled using a native scroller control.
>
> It all works well until I throw a fairly big chunk of text at it (e.g. enough to give formattedHeight of greater than 40000). Setting the htmlText of the field seems to work OK but once I set the height of the field to its formattedHeight value the app locks up. It appears to be an Android only problem because the same field displays fine at its full height on an iOS device.
>
> Has anyone else seen this?
>
> Terry...
>
> Dr Terry Judd
> Senior Lecturer in Medical Education
> Medical Education Unit
> Faculty of Medicine, Dentistry & Health Sciences
> The University of Melbourne
>
More information about the use-livecode
mailing list