Wow, I must really need a nap! After messing with this for hours I finally 
realized that I was adjusting the height of my field but not repositioning it 
in the locked group. So naturally the whole thing wasn't scrolling correctly. 
All good now. :-)

Chris

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

On Feb 23, 2012, at 1:10 PM, Chris Sheffield wrote:

> I need some help with this before I start ripping my hair out!
> 
> I'm trying to create a scroller to scroll a list of words in a field. I have 
> a grouped field, with the group's lockLoc property set to true and the group 
> resized to conceal part of the field. I can get the scroller created just 
> fine, but I cannot for the life of me figure out what the contectRect of the 
> scroller should be. I've set the rect of the scroller to the rect of the 
> group. Should the contentRect be the rect of the field in the group? If so, 
> I've found some weird problem because that doesn't work. When I scroll, a 
> good one-third of the top of the field is cut off and I can't scroll to it. 
> Then if I scroll to the bottom, I've got this big blank space. I'm pretty 
> sure I'm just not getting the content rect set correctly. The rect seems 
> okay, as I can see the scroll indicator and it appears to be in the right 
> spot. I've looked at the scroller sample stack provided by RunRev, but it's 
> different than what I'm trying to do, and I'm missing something.
> 
> For what it's worth, my ultimate goal is to create my own "picker" control. I 
> know I can get one by using the iphonePick command, but I need a little more 
> control over it, like positioning and text formatting. Any help would be 
> greatly appreciated.
> 
> Thanks,
> Chris
> 
> 
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.com
> 
> 
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to