detect line clicked in iOS multiline field

John Dixon dixonja at hotmail.co.uk
Thu Mar 15 16:26:31 EDT 2012



Tom...

formattedHeight of field "Lap Counter"... not effective height...:-)

Dixie

> Subject: Re: detect line clicked in iOS multiline field
> From: mcgrath3 at mac.com
> Date: Thu, 15 Mar 2012 16:21:29 -0400
> To: use-livecode at lists.runrev.com
> 
> OK, so I put my field in a scrolling group and got a nice iOS scroll bar and my text field works and looks great. However because my field has text added to it during runtime I need to grow the text field after new lines of text are added.
> 
> I thought using the effective height of the field would give me the size needed to hold all of the lines of text but that doesn't work. Any ideas how to make the field grow as new text is added???
> 
> THanks again, I think I'm coming down with something because thinking seems more difficult today.
> 
>  put the top of field "Lap Counter" of this card into tTop
>  put the effective height of field "Lap Counter" of this card into tEHeight
>  set the height of field "Lap Counter" to tEHeight
>  set the top of field "Lap Counter" to tTop -- just to make sure the top position doesn't move
> 
> Any idaes
> 
> 
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> 3mcgrath at comcast.net
> 
> On Mar 15, 2012, at 2:56 PM, Colin Holgate wrote:
> 
> > I tried this once, and I think I gave up, and used a picker instead.
> > 
> > 
> > On Mar 15, 2012, at 2:50 PM, Thomas McGrath III wrote:
> > 
> >> I must be tired.. How do you detect a clicked line in an iOS multiLine field?
> > 
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
 		 	   		  


More information about the use-livecode mailing list