Initialize the SlidingPanels. EventName - name of the event Click and Change. Speed - is the sliding speed in milliseconds. Horizontal - if it is True means horizontal scrolling, vertical otherwise. Parent - where is the Activity create the SlidingPanels. Module - must be "Me" ActivityTouch - if True use the event Touch the Activity rather than the individual Panels. [Recommended]
If ActivityTouch if True, adds this code in Main Activity: SubActivity_Touch (ActionAsInt, XAsFloat, YAsFloat)
SD.Panels_Touch(Action,X,Y)
EndSub
Runs the SlidingPanels up to a specific Panel. Return False if it is already in the Panel indicated. PanelNumber - number of panels to jump to. Speed - is the sliding speed in milliseconds. Delay - delay before the next jump.
Creates the SlidingPanels with Panels full screen. The Class must first be initialized. NumberOfPanels - is the number of panels to be created, Min 2. SlidingInLoop - indicates whether the SlidingPanels is in Loop (True = Loop).
Creates the SlidingPanels with smaller panels of the screen. The Class must first be initialized. NumberOfPanels - is the number of panels to be created, Min 2. Width - width of the panels. Height - height of the panels. Ypost - vertical central position of the panels. Distance - is the distance separating the panels. Friction - enable/disable the friction.
Creates the SlidingPanels with smaller panels of the screen with zoom. The Class must first be initialized. NumberOfPanels - is the number of panels to be created, Min 2. Width - width of the panels. Height - height of the panels. Ypost - vertical central position of the panels. Distance - is the distance separating the panels. Friction - enable/disable the friction. Zoom - set the zoom (150 = 150%). ZoomArea - area in which it calculates the zoom.
Sets the speed of sliding. Speed - speed in milliseconds.
Start (PanelNumberAsInt) AsString
Start the SlidingPanels showing Panels indicated. The Class must first be initialized, and choosing a mode of SlidingPanels. PanelNumber - number of panels to start.