protected virtual void SetUpScrollbars(IGUIContext ctx)
        {
            try {
                if (AutoScroll && Visible && Parent != null)
                {
                    if (HScrollBar != null)
                    {
                        bool visible = DocumentSize.Width > Width - VScrollBarWidth;
                        if (HScrollBar.Visible != visible)
                        {
                            HScrollBar.Visible = visible;
                            LayoutChildren(ctx, PaddingBounds);
                            OnHScrollbarVisibleChanged();
                        }
                        if (HScrollBar.Visible)
                        {
                            HScrollBar.SetUp(Width - VScrollBarWidth, DocumentSize.Width);
                        }
                    }

                    if (VScrollBar != null)
                    {
                        bool visible = DocumentSize.Height > Height - HScrollBarHeight;
                        if (VScrollBar.Visible != visible)
                        {
                            VScrollBar.Visible = visible;
                            LayoutChildren(ctx, PaddingBounds);
                            OnVScrollbarVisibleChanged();
                        }
                        if (VScrollBar.Visible)
                        {
                            VScrollBar.SetUp(Height - HScrollBarHeight, DocumentSize.Height);
                        }
                    }


                    /*** ToDo; still not perfect ***/
                    //CanFocus = (VScrollBar != null && VScrollBar.Enabled) || (HScrollBar != null && HScrollBar.Enabled);

                    // m_LastSize = Size;
                    // m_LastDocumentSize = DocumentSize;
                }
            } catch (Exception ex) {
                ex.LogError();
            }
        }