Page 1 of 1

IOS Scroller MultiLine Fld

Posted: Sun Dec 09, 2012 10:45 am
by Nakia
Hi,

I have an IOS Scroller that I need to scroll a multiline text fld.
I have got the scroller creating successfully but it doesn't seem to be passing the scrolling messages to the
text fld. It appears to be more like moving the entire text fld?

I have a feeling I have had this issue before but I just cant remember how I got past it.

The text fld and group have locked locations..

Re: IOS Scroller MultiLine Fld

Posted: Sun Dec 09, 2012 2:05 pm
by CALL-151
Nakia,

I believe the issue you're referring to has been accepted as a bug. If you have access to the QCC see bug #10555 "iOS native multiline text fields do no send scroll messages"

Re: IOS Scroller MultiLine Fld

Posted: Tue Dec 11, 2012 11:22 am
by Nakia
I'm not sure its the same issue as I have a Scroller working on another stack built and running on the same version of LC.

When I get a spare minute I will strip the stack down and post the stack in hope someone can take a look at it.
But, basically it is a standard IOS Scoller that is sitting over a LC Text Field (Multiline) but it just doesn't seem to pass the
scrolling message to the IOS Text Field.

Re: IOS Scroller MultiLine Fld

Posted: Tue Dec 11, 2012 1:45 pm
by Dixie
Nakia...

Attached a stack that scrolls a liveCode textfld..

Dixie

Re: IOS Scroller MultiLine Fld

Posted: Tue Dec 11, 2012 3:22 pm
by CALL-151
OK, so instead of creating a native multiline with mobileControlCreate "multiline" you're using mobileControlCreate "scroller", and then adding a LC multiline text field to that scroller? If so, wouldn't you expect the scroller to scroll the entire object just as if you'd added an image to the scroller?

Re: IOS Scroller MultiLine Fld

Posted: Tue Dec 11, 2012 3:30 pm
by Dixie
CALL-151..

No, the liveCodeField is 'grouped'... so the field scrolls within the group.

be well

Dixie

Re: IOS Scroller MultiLine Fld

Posted: Tue Dec 11, 2012 4:00 pm
by CALL-151
Understood, but I think perhaps he's doing something like this?

Re: IOS Scroller MultiLine Fld

Posted: Tue Dec 11, 2012 4:39 pm
by Dixie
CALL-151...

The field you added is stationary, it now takes the text of the 'scrolling' field while at the same time allowing the 'scrolling' field to still scroll.

be well

Dixie

Re: IOS Scroller MultiLine Fld

Posted: Tue Dec 11, 2012 5:37 pm
by CALL-151
Right, the stationary field scrolls within the scroller rather than it's contents. Nakia, is this what you mean when you say "It appears to be more like moving the entire text fld?"