1.05 flm.b4a.scrollview2d.ScrollView2DWrapper ScrollView2D flm.b4a.scrollview2d.TwoDScrollView activity ScrollChanged(PosX As Int, PosY As Int) DesignerCreateView void base anywheresoftware.b4a.objects.PanelWrapper lw anywheresoftware.b4a.objects.LabelWrapper props anywheresoftware.b4a.objects.collections.Map IsInitialized boolean Initialize Initializes the ScrollView and sets its inner panel dimensions to the given width and height. You can later change these dimensions by calling ScrollView2D.Panel.Width or ScrollView2D.Panel.Height. You should never use a ScrollView2D with a ListView, since ListView takes care of its own scrolling. Most importantly, doing this defeats all of the important optimizations in ListView for dealing with large lists, since it effectively forces the ListView to display its entire list of items to fill up the infinite container supplied by ScrollView2D. void ba anywheresoftware.b4a.BA Width int Height int EventName java.lang.String SmoothScrollTo Scrolls smoothly to the given position. void PosX int PosY int BringToFront Changes the Z order of this view and brings it to the front. void SetLayout Changes the view position and size. void Left int Top int Width int Height int DisableTouchEventInterception Prevents the ScrollView2D from intercepting the touch events. You should only call this function when the SV2D is in conflict with its parent about scrolling (e.g. AHViewPager). void Disabled boolean ScrollingIsFinished Returns whether the ScrollView2D has finished scrolling. boolean SendToBack Changes the Z order of this view and sends it to the back. void FullScroll Scrolls the scroll view to the beginning or end, horizontally or/and vertically. Direction: 0 = horizontally 1 = vertically 2 = horizontally and vertically void Direction byte ToTheEnd boolean Smoothly boolean ScrollbarsVisibility Sets the scrollbars visibility. They are visible by default. void HorizontalVisible boolean VerticalVisible boolean FadingEdges Defines whether the edges should be faded when this view is scrolled. They are faded by default. void Enabled boolean RemoveView Removes this view from its parent. void Invalidate3 Invalidates the given rectangle. Redrawing will only happen when the program can process messages. Usually when it finishes running the current code. void Left int Top int Right int Bottom int Invalidate2 Invalidates the given rectangle. Redrawing will only happen when the program can process messages. Usually when it finishes running the current code. void Rect android.graphics.Rect SetBackgroundImage void Bitmap android.graphics.Bitmap GiveFocusToFirstVisible Sets the focus to the first focusable view in the visible area of the ScrollView2D panel. You should call this function after a FullScroll, SmoothScrollTo or H/VScrollPosition to move the focus. void Invalidate Invalidates the whole view forcing the view to redraw itself. Redrawing will only happen when the program can process messages. Usually when it finishes running the current code. void RequestFocus Tries to set the focus to this view. Returns True if the focus was set. boolean HorizontalScrollPosition int Scroll int Gets/sets the horizontal scroll position. Left int left int Gets or sets the view's left. VerticalScrollPosition int Scroll int Gets/sets the vertical scroll position. Background android.graphics.drawable.Drawable drawable android.graphics.drawable.Drawable Gets or sets the background drawable. Color color int Sets the background of the view to be a ColorDrawable with the given color. If the current background is of type GradientDrawable or ColorDrawable the round corners will be kept. Enabled boolean Enabled boolean Panel anywheresoftware.b4a.objects.PanelWrapper Top int top int Gets or sets the view's top. Visible boolean Visible boolean Height int height int Gets or sets the view's height. Tag java.lang.Object tag java.lang.Object Gets or sets the Tag value. This is a place holder which can used to store additional data. Width int width int Gets or sets the view's width. FS_DIR_VERT byte FS_DIR_HORZ_AND_VERT byte FS_ToTheEND boolean FS_DIR_HORZ byte key:FadingEdges, displayname:Fading edges, defaultvalue:True, fieldtype:Boolean key:HorzScrollbarVisibility, displayname:Horizontal scrollbar, defaultvalue:True, fieldtype:Boolean key:VertScrollbarVisibility, displayname:Vertical scrollbar, defaultvalue:True, fieldtype:Boolean key:PanelHeight, displayname:Panel height, defaultvalue:-1, fieldtype:Int key:PanelWidth, displayname:Panel width, defaultvalue:-1, fieldtype:Int 1.3 ScrollView2D = HorizontalScrollView + VerticalScrollView Fr\u00e9d\u00e9ric Leneuf-Magaud/Informatix