ScrollBar event for scrolling or paging?
Does anyone know if there is an event that can be listened
for on a ScrollBar that is kicked off when the user content either
scrolls left or right by clicking on the arrows of the track? I
can't find an event like that in the documentation but it seems
like it should be there.
Thanks in advance,
Todd
The only thing I can figure is that the user getting the paginartor has accessibility turned on:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/19/e64941bfb4de2be10000000a1550b0/frameset.htm
That is the only option I know of that should override the system or application settings for scrolling. In particular accessibility can be turned on at the user profile level:
To do this, in transaction SU01 for your user name choose the tabstrip Parameters, insert the parameter ID ACCESSIBILITY_MODE with the value X, and save the entry.
Or within the portal:
To do this, in your user profile in the portal, under General Information select option Activate Accessibility (Screen Reader Required) and save your entries. This specification is evaluated by Web Dynpro ABAP.
Similar Messages
-
Mouse released event for scrollbar
Hello,
I have a java.awt.Scrollbar component on applet.
I need to perform actions when user releases the mouse from the
scrollbar. For example the user presses the mouse on the scrollbars
tracking rectangle and starts to track. Then the values of the
scrollbar changes and finally user releases the mouse left button-
this final event (mouse release) is in my interest. How can i get
mouse release event from scrollbar? The AdjustmentListener does not
suit for me because it fires AdjustmentEvents even then when the user
hasn't released the mouse. I need to perform more actions for every
scrollbar's change; so my applet i slow at the moment, because every
"tracking in scrollbar" creates a lot of events before the mouse is
finally released.
I added a MouseListener for my scrollbar, but mouseReleased event does
not work. Can yo help me?
Thank you, any help would be nice.
Here is some demo code i tried:
import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;
public class Kerimisriba1 extends Applet implements
AdjustmentListener, MouseListener{
Scrollbar kerimisriba=new Scrollbar(Scrollbar.VERTICAL, 20, 5, 1,
100); //algv��rtus, nupu suurus, v�him ja suurim v��rtus
TextField tf=new TextField(10);
public Kerimisriba1(){
setLayout(new BorderLayout());
add(kerimisriba, BorderLayout.WEST);
add(tf, BorderLayout.SOUTH);
//kerimisriba.addAdjustmentListener(this);
kerimisriba.addMouseListener(this);
System.out.println("AdjustmentEvent.TRACK="+AdjustmentEvent.TRACK);
public void adjustmentValueChanged(AdjustmentEvent e){
//System.out.println(e.getAdjustmentType());
// tf.setText(kerimisriba.getValue()+"");
public void mouseReleased(MouseEvent me){
tf.setText("mouseReleased");
public void mouseClicked(MouseEvent me){}
public void mouseEntered(MouseEvent me){}
public void mouseExited(MouseEvent me){}
public void mousePressed(MouseEvent me){}
}I made a screenshot of how the applet works in my computer:
http://charles.pri.ee/scroll.gif
As you see in the java console,
the statement System.out.println("mouseReleased");
does not executes,
in my computer.
I tried this on co-workers comuter with Internet Explorer- there was no mouse release event either.
I hope i'm not very annoying, but i still need help:)
I replaced the constructor with init() method:
import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;
public class Kerimisriba1 extends Applet implements AdjustmentListener, MouseListener{
Scrollbar kerimisriba=new Scrollbar(Scrollbar.VERTICAL, 20, 5, 1, 100); //algv��rtus, nupu suurus, v�him ja suurim v��rtus
TextField tf=new TextField(10);
public void init(){
kerimisriba.addAdjustmentListener(this);
setLayout(new BorderLayout());
kerimisriba.addMouseListener(this);
add(kerimisriba, BorderLayout.WEST);
add(tf, BorderLayout.SOUTH);
System.out.println("AdjustmentEvent.TRACK="+AdjustmentEvent.TRACK);
public void adjustmentValueChanged(AdjustmentEvent e){
System.out.println(e.getAdjustmentType());
tf.setText(kerimisriba.getValue()+"");
public void mouseReleased(MouseEvent me){
tf.setText("mouseReleased");
System.out.println("mouseReleased");
public void mouseClicked(MouseEvent me){
System.out.println("mouseClicked");
public void mouseEntered(MouseEvent me){}
public void mouseExited(MouseEvent me){}
public void mousePressed(MouseEvent me){
System.out.println("mousePressed"); -
When I go to a day, I want to see a list of my events for that day in order, together, not have to scroll through 24 hours.
You can tap on the magnifying glass in the upper right and see a list view.
-
Revision: 4707
Author: [email protected]
Date: 2009-01-28 09:00:45 -0800 (Wed, 28 Jan 2009)
Log Message:
Dispatch propertyChange event for horizontalScrollPosition/verticalScrollPosition so the thumbnail in the scroller will track the movement made via the keyboard.
QE Notes:
Doc Notes:
Bugs: SDK-18887
Reviewers: Gordon
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-18887
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.asRevision: 4707
Author: [email protected]
Date: 2009-01-28 09:00:45 -0800 (Wed, 28 Jan 2009)
Log Message:
Dispatch propertyChange event for horizontalScrollPosition/verticalScrollPosition so the thumbnail in the scroller will track the movement made via the keyboard.
QE Notes:
Doc Notes:
Bugs: SDK-18887
Reviewers: Gordon
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-18887
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as -
JScrollPane - Set the rate of the mouse wheel for scrolling
Hi,
I'm curious to know a little more about the mouse wheel used for scrolling in a JScrollPane. I'm using it for a JTextComponent at the moment, but the scroll rate is really slow.
Is this because of the way swing deals with the mouse wheel, and therefore can I increase the rate of scroll?
Or is it to do with the native OS and the way it processes mouse wheel events?
Cheers,
DavidHey John,
Scroll rate has nothing to do with the OS you'll be glad to know. As far as Swing goes, it doesn't in this case make any assumptions on how you want you 'views' to scroll.
I think LookAndFeel implementations often decide on default behaviour - I suppose this is in essence the whole point of the pluggable LnF framework.
Anyway, JTextComponent is an abstract class so I would not be surprised if it performs like a lame duck! You will however notice that it implements the Scrollable interface. Take a look at Scrollable.getScrollableBlockIncrement() and Scrollable.getScrollableUnitIncrement().
Overriding these methods will give you the behaviour you desire.
Warm regards,
Darren B -
Different user settings for scrolling in tables or ALVs
Hi Experts,
I have a strange problem.
I have a Web Dynpro Application that uses the UI Element table. For one user who uses it the scrolling mode is a scrollbar and for an other user the scrolling mode is a paginator. That appears not only for this application. ALL applications on the system have this difference for users. So, not only in tables does that appear. In ALVs too!
Does anybody know where I can configure this for every single user?
Thanks a lot!
Best regards,
IngmarThe only thing I can figure is that the user getting the paginartor has accessibility turned on:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/19/e64941bfb4de2be10000000a1550b0/frameset.htm
That is the only option I know of that should override the system or application settings for scrolling. In particular accessibility can be turned on at the user profile level:
To do this, in transaction SU01 for your user name choose the tabstrip Parameters, insert the parameter ID ACCESSIBILITY_MODE with the value X, and save the entry.
Or within the portal:
To do this, in your user profile in the portal, under General Information select option Activate Accessibility (Screen Reader Required) and save your entries. This specification is evaluated by Web Dynpro ABAP. -
Binding DataGrid Scrollbar Events
I just re-posted my initial inquiry, regarding the context for the result I'm going for. In the meantime, I have a question based on a potential work-around:
How would I go about creating a two-way binding for scrollbar mouse events between two DataGrids with the same dataprovider? Programmatically loosely speaking, they would be arranged as follows:
<mx:DataGrid
id="datagrid1"
dataProvider="{vidItems}"
left="0" top="0" width="300" rowCount="5" (etc...)
</mx:DataGrid>
<mx:DataGrid
id="datagrid2"
dataProvider="{vidItems}"
left="25" top="0" width="275" rowCount="5" (etc...)
</mx:DataGrid>
In this scenario, the additional rows would activate the scrollbar for each DataGrid and, by default would be aligned row-for-row at the same index at creation. For "datagrid1" the MouseWheel events for the Scrollbar executed over the visible area of the DataGrid would need to be passed to "datagrid2" to keep the rows for both components in synch, while the MouseWheel, thumb drag, increment click, and decrement clicks from "datagrid2" would need to be passed to "datagrid1".
Any suggestions would be greatly appreciated.
Thanks~BennyI came up with an alternate solution that's a much more straightforward and logical way of achieving the desired effect. I posted it here: http://forums.adobe.com/message/3160303#3160303
It's not an answer to the question, but I'm no longer looking for one, so... -
Page-up/down not working for scrolling in grid (4.0EA1)
when displaying data for a table, after clicking in a row, page-up/down does not work for scrolling; scrollbar is working and cursor-up/down; did work in 3.2
when manually executing a select in the sql-worksheet, page-up/down are working in the result-grid.Yes, Thanks we noted it. BrianJ is working on it.
B -
On ThinkPad Edge 325 laptop I have UltraNav device (both touchpad and trackpoint). I never use touchpad as pointing device, but I find it handy to use it for scrolling. Is there any way to disable all pointing device functionality on touchpad, but retain scrolling?
I read synaptics(4) manual and ThinkWiki articles for touchpad, trackpoint and UltraNav, but I see no solution there. Search on forum revealed a topic from 2012, but no solution there either.
Edit: I actually want to have only two-finger scrolling, so that all the events with one finger would be ignored by touchpad. The solution below indeed turns touchpad to scrolling-only device, but it still makes me suffer from accidential touchs.
Last edited by czarkoff (2013-07-05 15:52:58)I ahve never tried this, but what if you made the actual requirements for pointer movement ridiculously small. So much so that it would never register as being legit. I'm not sure exactly what options you would use... maybe zpressure? I have thought about this before, but the best thing that I could come up with was expanding the right scroll as mentioned above.
Of course, you could always just modify the source and recompile. -
When previewing images by clicking on the thumbnail in an Event for example, I've been finding that many images preview in a 'zoomed in' way so only a small part of the photos is previewed in a highly magnified view.
Initially I could find no cause. Then I tried right click - Edit and on the affected images, always get this warning:
"Image Cannot Be Edited - This photo was previously edited with another application or with an early version of Iphoto. Duplicate this photo to edit it." and a "Duplicate To Edit" Button is displayed.
The external Editor defined for iPhoto is Adobe Photoshop Elements.
Now, I reckon the MUST be others out there affected by this same apparent Preview bug, yet my searches have not revealed any answers. Also seems impossible to find a contact number for adobe???
ThanksStart '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in Safe Mode]''' {web Link} by holding down the '''<Shift ''(Mac Options)'' >''' key, and then starting Firefox. Is the problem still there?
-
Client side event for h:outputText... and other JSF component
Hello friends...
I need client side (to use Java script ) event for change in <h:outputText /> or <h:inputText...>.
I want to open a popup window when there is a change in there. I donot want to use onblur() for this. Is there any thing for achiev it.
Thanks.
Regard
Roshan Lal ( I don't know why there is "DOG" display in LIST )
:-)Hi Jacek,
Unfortunately I think you may be stuck extending Renderer. Another possibility is creating your component via a template, which will be available in JSF 2.0. However, as JSF 2.0 won't be out for a while... you can use JSFTemplating in the meantime:
http://java.sun.com/developer/technicalArticles/J2EE/jsf_templating/
http://www.theserverside.com/tt/articles/article.tss?l=JSFTemplateComponent
Good luck!
Ken Paulsen
https://jsftemplating.dev.java.net -
Need To Return Calendar Events For Current Day
Hello,
I have a calendar which includes seperate start and end date fields. I need to write a query that will return events for each day in a month, but I need to be mindful of the fact that some events span multiple days. Here is my query so far which isn't working quite right.
<cfquery name="qTodayEvents" datasource="#getDatasource()#">
SELECT eventID, title, summary, code, description
FROM events INNER JOIN eventTypes ON events.typeID=eventTypes.typeID
WHERE deleted=0
AND
startDate >= <cfqueryparam cfsqltype="cf_sql_timestamp" value="#todayStartTime#" />
AND startDate <= <cfqueryparam cfsqltype="cf_sql_timestamp" value="#todayEndTime#" />
) OR (
endDate >= <cfqueryparam cfsqltype="cf_sql_timestamp" value="#todayStartTime#" />
AND endDate <= <cfqueryparam cfsqltype="cf_sql_timestamp" value="#todayEndTime#" />
) OR (
startDate <= <cfqueryparam cfsqltype="cf_sql_timestamp" value="#todayStartTime#" />
AND endDate >= <cfqueryparam cfsqltype="cf_sql_timestamp" value="#todayEndTime#" />
</cfquery>
The query is located inside a loop which loops through the days in a given month.
Does anyone know what I am doing wrong? Any assistance would be appreciated.
Many thanks,
SimonYou have to do nested loops - one for the days of the month, and once for the query. It probably does not matter which is nested inside of what. You want your query ordered by EndDate. Then you can do something like this.
ControlDate = Date1;
MaxDate = arraymax(yourquery["enddate"]);
<cfloop condition = ControlDate lt Date2>
<cfloop from = "1" to = yourquery.recordcount index = 1>
<cfif ControlDate >= StartDate and ControlDate <= EndDate>
your code goes here
<cfelse>
break
</cfif>
<cfloop>
add a day to ControlDate
maybe break if the control date is greater than the max date.
</cfloop> -
Looking for help in organizing my photos. I would like to organize them so that i can put all of the events for a year into one folder (i would like to keep multiple events under a folder)? Help please?!
Like Larry suggested:
Click to view full size
The top folder could be named 2011. In it could be 12 smart folders each with the following criteria:
Date is in the range" mm/01/yyyy to mm/31/yyyy.
So the 2011 folder would have 12 month smart albums each with the photos for that particular month.
Or you can use the search by date function at the bottom of the window to search by year, month, week or day.
OT -
How to set fire action event for particular rows in a table
HI All,
I have a requirement in which I want to set fire action event for particular rows in a table based on some condition.
The table has columns like fullname,employee id etc.
So i want to set fire action event for particulars rows only which will saisfy some condition.Atanu,
Your approach(setting fire action for few rows) seems not possible. Better to go ahead with workaround.
Do you want this functionality in processRequest(while page loading) or processFromRequest(on some event) method ? Give more explanation regd. your requirement ?
In either case loop through the rows and when your condition is met write the action to be performed in controller.
Regards,
Anand -
How can I export a list of events for one of many calendars - e.g. "sailing" to use in Excel?
See this thread here
Display number of emails by sender
Maybe you are looking for
-
Is there any "Search and Replace" option in Crystal Reports?
Is there any option to search and replace in Crystal Reports. Since i am using a name in many of the formulas in crystal reports. I need to replace with the desired name on the go. Could anyone help me on this....
-
AX not able to print; host is "busy"
I have a new Airport Express connected via Ethernet to a router. The AX is configured in bridge mode because the router is handling NAT etc. I have a printer connected to the AX, I connect wirelessly to the AX and can see and set up the printer. Howe
-
I edit an online newsletter; when I import a pdf (single page) into CS6 it looks fine but when I export (Adobe PDF presets, smallest file size so to load faster) the print looks blurred (pixilated?)...what am I doing wrong?...over and out...ChuckR
-
When a zip file is un-archived, where does it go?
When a zip file is un-archived, where does it go?
-
Copying pictures w/ the same name to a cd
How do I get pictures with the same assigned name.jpg onto a CD. These are different pictures downloaded at different but given the same name. I'm asked if I want to replace the picture with the same name. thanks, Steve