Re: how to get scroll bar controll

2009-04-19 Thread Salvador Diaz

Read the javadoc:
http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/ScrollPanel.html#getScrollPosition()

And please read all of the recommended docs before posting
questions ;)

Excerpt from the home page for this discussion group:
" Feel free to post messages on any GWT-related topic, but please
check the list of resources above first; you may find your question
has already been answered. "

Cheers,

Salvador

On Apr 19, 7:00 am, damu daran  wrote:
> sir ,
>
>         I am using Google search API , java , GWT 1.5.3 , JSON .
>
>         I want to get the scroll bar  position .
>
>         Actually I am using HorizontalSplitPanel , because of these i am
> having three scroll  bar in a page.
>
>         In mean HorizontalSplitPanel's left Panel having one scroll bar ,
> right panel having another one scroll bar and browser having its own scroll
> bar .
> *
>        I want to listen  each of the scroll bar control.
>
>        Especially i want to call a function if scroll reaches reached the
> bottom of the page.
>
> *
>
>        This is the coding i am using...
>
> import com.google.gwt.core.client.EntryPoint;
> import com.google.gwt.core.client.GWT;
> import com.google.gwt.user.client.Window;
> import com.google.gwt.user.client.ui.*;
>
>   // some code here
> *
>     HorizontalSplitPanel hSplitPanel = new HorizontalSplitPanel();*
>     HorizontalPanel hPanel1 = new HorizontalPanel();
>
>     hSplitPanel.setSize("1200px","600px");
>     hSplitPanel.setSplitPosition("50%");
>
> // some code here
>
>     Label label1 =new Label(text);
>     Label label2 =new Label(text);
>
> // some code here
>
>     hSplitPanel.setLeftWidget(label1);
>     hSplitPanel.setRightWidget(label2);
>
> // some code here
>
>     RootPanel.get().add(hSplitPanel);
>
> }
>
>        * Help me to find the scorll bar position for these three scroll bar.
> *
>
> Waiting for ur reply.
>
> Regards
> S.Damodaran.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



how to get scroll bar controll

2009-04-18 Thread damu daran
sir ,

I am using Google search API , java , GWT 1.5.3 , JSON .

I want to get the scroll bar  position .

Actually I am using HorizontalSplitPanel , because of these i am
having three scroll  bar in a page.

In mean HorizontalSplitPanel's left Panel having one scroll bar ,
right panel having another one scroll bar and browser having its own scroll
bar .
*
   I want to listen  each of the scroll bar control.

   Especially i want to call a function if scroll reaches reached the
bottom of the page.

*

   This is the coding i am using...



import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.*;

  // some code here
*
HorizontalSplitPanel hSplitPanel = new HorizontalSplitPanel();*
HorizontalPanel hPanel1 = new HorizontalPanel();

hSplitPanel.setSize("1200px","600px");
hSplitPanel.setSplitPosition("50%");


// some code here

Label label1 =new Label(text);
Label label2 =new Label(text);



// some code here


hSplitPanel.setLeftWidget(label1);
hSplitPanel.setRightWidget(label2);

// some code here


RootPanel.get().add(hSplitPanel);

}


   * Help me to find the scorll bar position for these three scroll bar.
*


Waiting for ur reply.


Regards
S.Damodaran.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---