Ralph, it's in the orientationchanged handler.... Brian.... Thanks..... !!!
On Fri, Jun 18, 2021, 4:18 PM Brian Milby via use-livecode, < [email protected]> wrote: > I have this working in SivaSiva for the stories module on Android. It > locks up on iOS so I have rotation disabled for now. In my use case, the > group is essentially the full screen with an image that is being moved > around. I’ll try to find the specific scripts tonight. > > Thanks, > Brian > > Sent from my iPhone > > > On Jun 18, 2021, at 3:06 PM, Ralph DiMola via use-livecode < > [email protected]> wrote: > > > > Tom, > > > > What handler are you doing this in? > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > [email protected] > > > > -----Original Message----- > > From: use-livecode [mailto:[email protected]] On > Behalf > > Of Tom Glod via use-livecode > > Sent: Friday, June 18, 2021 2:51 PM > > To: How to use LiveCode > > Cc: Tom Glod > > Subject: Mobile Scroller > > > > Hi Folks, > > > > I implemented a MobileControl "Scroller" to scroll a group. Works great. > > However when I change the orientation, it no longer works correctly. > > > > > > - I tried to just update the properties relating to the rect > > - deleting / recreating > > > > > > mobileControlSet "CardContentScroller","visible",true > > > > mobileControlSet "CardContentScroller","rect",the rect of *group* "Card > > Content" of this card of me > > > > *put* 0,0,the width of *group* "Card Content" of this card of me,the > > formattedHeight of *group* "Card Content" of this card of me into > > tContentRect > > > > mobileControlSet "CardContentScroller","contentRect",tContentRect > > > > mobileControlSet "CardContentScroller","vIndicator",true > > > > > > but it still isn't updating properly. > > Not sure what i'm doing wrong. > > > > The code runs on the orientationChanged message > > > > Please help. > > > > Thanks, > > > > -- > > Tom Glod > > Founder & Developer > > MakeShyft R.D.A (www.makeshyft.com) > > Mobile:647.562.9411 > > _______________________________________________ > > 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 > > _______________________________________________ > 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
