Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] How to controll scrolling in ScrollPane


This is GEF.

Please post this question, in more detail, to the eclipse.tools.gef newsgroup.



"Veronika Irvine" <Veronika_Irvine@xxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

11/01/2002 02:46 PM
Please respond to platform-swt-dev

       
        To:        platform-swt-dev@xxxxxxxxxxx
        cc:        
        Subject:        Re: [platform-swt-dev] How to controll scrolling in ScrollPane

       



SWT does not have a ScrollPane.  Are you trying to write AWT code?  If so,
you should try an AWT newsgroup or mailing list.



                                                                                                                                                   
                     "gear"                                                                                                                        
                     <radienssmgs2@hotmail.c         To:      <platform-swt-dev@xxxxxxxxxxx>                                                        
                     om>                             cc:                                                                                            
                     Sent by:                        Subject: [platform-swt-dev] How to controll scrolling in ScrollPane                            
                     platform-swt-dev-admin@                                                                                                        
                     eclipse.org                                                                                                                    
                                                                                                                                                   
                                                                                                                                                   
                     01/11/2002 01:00 PM                                                                                                            
                     Please respond to                                                                                                              
                     platform-swt-dev                                                                                                              
                                                                                                                                                   
                                                                                                                                                   



Hi,

How can I control the scroll behaviour of a ScrollPane? For example, I want
to control how components in the ScrollPane layouts everytime user scrolls.
What can I do?

I create my ScrollPane like this:


ScrollPane scrollpane = new ScrollPane();


pane = new FreeformLayer();


pane.setLayoutManager(new FreeformLayout());


setLayoutManager(new StackLayout());


add(scrollpane);


scrollpane.setViewport(new FreeformViewport());










_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top