« Return to Thread: fxscrollwindow

Re: fxscrollwindow

by Jeroen van der Zijp :: Rate this Message:

Reply to Author | View in Thread

On Tuesday 02 June 2009, n d wrote:
> Hi again everyone. Quick question about FXScrollWindow: is it just me, or
> does the setPosition() function not work? whenever i call the call the
> function the scroll bar never moves. Any suggestions as to why this is
> happening?

It may be due to the following causes:

        1) FXScrollWindow's child (contentWindow) has a size which is smaller than
           the FXScrollWindow's viewport.  Obviously, in such a case it never needs
           scrolling.  Depending on the flags, scrollbars may or may not be visible.
       
        2) You've turned scrolling off.

        3) The contentWindow's layout hints are such (e.g. LAYOUT_FILL_X or LAYOUT_FILL_Y)
           that it will be placed to fill the viewport area.

        4) It does scroll, but has no change to repaint.


These are some of the things I can think off...

               
                - Jeroen



--
+----------------------------------------------------------------------------+
| Copyright (C) 23:30 06/ 2/2009 Jeroen van der Zijp.   All Rights Reserved. |
+----------------------------------------------------------------------------+

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users

 « Return to Thread: fxscrollwindow