Bug [15118] native scroller

John Dixon dixonja at hotmail.co.uk
Tue Apr 14 08:17:27 EDT 2015



        


                                      

This is addressed to a number of members of the liveCode team in Edinburgh...
To three members of the team in particular...

Hanson, Sebastien and Panos...

After having read your email, there is nothing I can say except that 'I am an idiot'... 
I have no excuse whatsoever for missing such a fundamental line as setting the visible of the 'scroller' to true.

I was absolutely convinced that I was correct, as I was using the same code that is already in a stack on the Apple app store...  I must have deleted the line whilst preparing a facelift for the app...:-(

   iphoneControlSet scrollID, "visible", true

this is the missing line that caused me to think that the scroller in LC 6.7.4 & LC 7.0.4 was not working and prompted me to file a 'bug' report...

I apologise to Hanson, Sebastien and Panos for putting up with my 'bug' report, completely wasting their time and for getting me out of the 'massive' hole that I have manged to dig for myself...

Gentlemen... I thank you..

John Dixon

                                                                                                                                                                          [Bug 15118] native scroller‏                                                                                                                                                                                                                                                                                                                                                                                                                     To:  dixonja at hotmail.co.uk                                                                                                                                                                                                    
                                                                                                                                        
    
      
    
     Panos Merakos
 changed
              bug 15118
        

             
          
            What
            Removed
            Added
          

         
           Status
           CONFIRMED
           
           PENDING_AWAITING_FOLLOW_UP
           
         

         
           CC
           
                
           
           panos.merakos at livecode.com
           
         
      
        

            Comment # 9
              on bug 15118
              from  Panos Merakos

        Hi John,

We had a deeper look in the scripts of the sample stacks you have attached, and
found the problem. You have not set the "visible" of the scroller to true, and
this is why it does not scroll. This is what we did to resolve the issue:

1. In stack local directory copy.livecode:
Go to card id 1011, and add the following line in the buildScroller handler (at
the point where you set the scroller properties)

iphoneControlSet scrollID, "visible", true

2. In stacks textScroll.livecode and PicsHorz copy.livecode, this line already
exists, and thus the scrollers work as expected.

3. In stack scroll704.livecode:
Go to card id 1002, and add the following line in the buildScroller handler (at
the point where you set the scroller properties):

iphoneControlSet scrollID, "visible", true

Can you please let us know if this fixes the problem for you?

Warmest regards,
Panos
--
        
      
      
      You are receiving this mail because:
      
      You are on the CC list for the bug.You reported the bug.
    

                                                                                                                                                                                                                                                                                                                                                                                                                                


        
    
    

    










  

    
    
  

  
                                                                                                                       		 	   		  


More information about the use-livecode mailing list