Moving two scroll pane in same amount while moving any one
hai all,
i have two scrollpane while moving the first one the second should move the corresopnding amount of movement in first , if the second one is moving that same action should happend in first one also
by lolipop
You can do this by keeping track of the position of each scrollpane, then checking which scrollpane you are moving and calculate the offeset for the movement and adjust the scrollpane that wasn't moved that appropriate amount.
Similar Messages
-
Use "next" and "previous" buttons in two scroll panes
Hello, I have a question about how to use next and previous buttons in two scroll panes. In fact, I plan to display two similar files (HTML) in two scroll panes seperately. the purpose is to find their differences, highlight these differences and finally traverse these differences one by one by using next and previous buttons.
To realize this function, how should I mark their differences so that next and prevous buttons can recognize their locations? does anyone have idea?
Thank you very much.Can "focus" resolve this problem? But how should I add focus to a line in one HTML files? Thank you.
-
My new iPhone 4s and my iPad 1 have the same problem: While working on one of them, the screen goes black and the right back to home screen. I've tried resetting the iPad with no chages to this problem. Need help, this is anoying.
I just did a reset all settings on both.
Will see where this gets me.
Thank you for your helpfull input. -
I subscribe to iTunes Match. One day a couple months ago I noticed that my iTunes library was populated by a new collection of songs. Songs I already had and were identified as Matched. All of a sudden, I not only had the"Matched" copy, but also another copy labelled "Purchased." When I went to "View" --> Duplicates, sure enough there was about 180 songs that had been added to duplicates. All 180 were identified as "Purchased" and all were identified as purchased on the same date. That common date was often several years after the date associated with the Matched version. ALL had the SAME purchase date. No one in our house of 4 Mac computers sharing the same Apple Account and having the same iTunes libraries had purchased any songs on that date...7/19/13. All at around 10:30 PM, plus or minus a minute.
Has anyone had this same experience? I tried to remove the "Matched" copy of each song knowing that the "Purchased" copy would not count to my iTunes Match total. But, that didn't work. It appears I am stuck with both copies.
When the recent update to iTunes (v11.0.5) came out, I thought it may address this issue. No go. I still have all these duplicates of the same song. I mean...THE SAME SONG! AT least as far as I can tell by checking all the information associated with each. Same name, same artist, same everything. As far as I can tell, there is nothing that could "fake out" iTunes Match to think these were different versions.
And ideas what happened and what I can do?Hello mracole,
I checked my "purchases" and the 7/19/13 purchases don't show up. However, the earlier versions from usually several years back...the ones that are Matched...often do show up in my Purchases. I suspect that somehow those REALLY purchased several year old versions were deleted and redownloaded by me so I could change them to the 256 kbps versions under iTunes Match. They were probably 128 kbps versions originally when purchased.
Why the earlier versions that were really purchased are now identified as Matched is puzzling.
Why I now have Purchased versions from 7/19/13 is puzzling too...especially since these versions do NOT show up in my purchases.
Calling Apple Support if a good idea unless someone can explain this mystery. I might even take one of my laptops to the Apple store and show a Genius.
Thank you very much for taking the time to respond, Mr. Luigi -
I have two Iphones that share the same email. we got new 4s phones. Now if one person checks/deletes email, it does not show up on the other phone
and it is taken off the server.
How can I fix that?
I want it to go to both phones and to remain on the server even if I delete it off my phone.
ThanksYou must be using a POP3 account like verizon.net
using IMAP like gmail will help some of your problem, not all...
even on IMAP accounts once one person checks the email it will not show as a "new" message anymore... and if deleted it will still be gone from both phones...
There are settings you can change in the advanced section of the IMAP account settings that designate the phone NOT to delete messages at all as well... thought this is also an option on POP3 account settings too. -
I used to be able to go all day without charging my phone but now I have to charge it like every two hours and as a college student who also works. I go most of my day with a dead phone. Does anyone know how to make your battery last longer?
Eight Battery Saving settings for your iPhone and iPad | MacIssues
The Ultimate Guide to Solving iOS Battery Drain — Scotty Loveless -
Just wanted to know how can we add a scroll pane in Dream
weaver 8.
Any other way we can avoid a vertical scroll for the content,
and by freezing its size at 1024 by 768 and a scroll pane inside
the same.
SanDid you ever find a solution? I too have this problem and I
have to upload a few files at a time and then wait and often have
to restart my DSl modem to get going again. I can upload and
downlaoad all day with a browser and email but as soon as Iose DW I
am sure to loose the connection. -
Same amount of AWT has different base_amount.
Same withholding Tax Line shows different function/Base Amount if there are two item lines with same amount.
ap_invoice_distributions_all table shows different base amount for AWT tax lines like followings.
Invoice Id LINE_TYPE_LOOKUP_CODE Amount Base_amount
209229170 AWT -31030 -31030
209229170 AWT -31030 -31029
209229170 AWT -3100 -3100
209229170 AWT -3100 -3099
Here shows difference between 31030 and 31029 which should be same , 3100 and 3099 which should also be same.Other can be Album Artwork, Notes, Contacts, Firmware etc. or files that are on there if you are using the iPod as a removable storage device. If you feel that Other is being incorrectly reported then try restoring your iPod. Restoring will erase the iPod's hard drive, reload the software and put it back to default settings. Once the restore is complete follow the on screen instructions and it should connect to iTunes and give you a prompt to automatically update your library onto the fresh installation. If you want to update manually or using selected playlists choose no and it will default to manual mode and you can choose whatever setting you like: Restoring iPod to factory settings with iTunes 7
-
Time Capsule backs up the same amount several times
Right now I'm using my laptop and for the past 3 hours, my Time Capsule has backed up 2.3GB. I'm just surfing the web!!!!. No idea of why it backs up the same amount while doing nothing
Welcome to the discussions!
Suggest that you download Time Tracker to find out what is taking up the space on your backups. Depending on how much data you have on your Time Capsule, it may take 5-10 minutes for everything to load the first time you run the program. You will be able to see exactly what is backed up on each run.
May be a program like VM Fusion, Entourage, Aperture, and others that backup their entire database whenever any small change is made. If that's the case, you can exclude that program from Time Machine backups and do this manually.
If you don't really need to backup each hour, you might want to take a look at Time Machine Editor to allow you to schedule backups whenever you like. -
Hello,
I have to scroll panes and movie clips in the one scroll
pane while the other is blank. I wanted the user to be able to drag
the movie clip out of the one scroll pane and drop it into the
blank one. Any ideas? I'm totally lost on this one.
Thank YouHi Sarojamaly,
According to your description, when you create a Data Source View in BIDS/SSDT, you can't see the tables in the pane. Right?
In this scenario, when creating data source, please make sure you select a correct data provider. For example, it you connect to SQL Server database, you should use
Native OLE DB\SQL Server Native Client. Then please test your connection to the data source.
If the tables still can't be displayed, please make sure you select proper database and the check tables existence in the database.
Best Regards,
Simon Hou
TechNet Community Support -
Can I transfer songs between two libraries on the same computer?
I have two libraries on my computer, was wondering if any one knows a simple painless way to transfer music from one to the other.
The reason is my music collection has gotten unfathomably large over the years, and I no longer want it to be that way. I was thinking maybe I could just find someway to "hide" a majority of the songs most of the time, and just show the ones i'm into at the moment. Since i couldn't find a way to do that, i made another entire library (both under the same user), thinking i would keep the bulk in one and the songs i was into for the moment in another, but have them linking to the same folder containing all the music files. This is working fine, but i would love an easier way to transfer the songs over to the favourites library, especially someway to do all the songs in a play list.
Any ideas would be greatly appreciated
Thank you!iTunes must be running for home sharing to work. There is no way to have home sharing running simultaniously for two users on the same computer.
Simply add the media files using File > Add File/Folder option in iTunes. -
Two accounts with the same iTunes library (at same time!)
Hi, on my iMac I setup my iTunes library (connected with ATV), guessing what happens if I move this library to the shared folder on my iMac and in the same time this is opened by the two accounts present on my iMac (me and my wife).
Should I make the connection with ATV also on my wife's account ? What happens to other account ?
Thanks.
dalrmi.dalrmi wrote:
What happens using the same iTunes library _at same time_ by two accounts on the same iMac (computer) ?
only one iTunes can access a library at a time.
instead, you could try this:
i assume both you and your wife have their own iTMS account. if that is so, you might want to try to cross-authorize iTunes on each account to play/use content purchased by the other. this works at least for an iPod Touch so i would be surprised if it didn't work for the TV.
that's basically very easy. all you have to do is +log out+ of one account (click on the account name in the Store window and select sign out from the pop-up dialog) and into the other, and then they will both be authorized. (be sure to just *log out*, not de-authorize ).
JGG -
Sharing screen between two imacs using the same @me account
Hi Im trying to work from home and looking for a way to log into my work imac, I also have an imac at home, both mac's are using the same @me account. can any one help please.
You will need another account, Free iChat .mac account CLICK HERE
Then you need the remote to auto answer, i use Chax for this and you can say who has sreen sharing access.
Chax http://www.ksuther.com/chax/
Or have a look at LogMeIn https://secure.logmein.com/US/products/free/ -
Get the two rows of customer with same amount value within consecutive year
Hi,
Below are sample data, what I would like to do is pull the customer along with their two finance details that have the same amount within the two consecutive year. Please note that there are many customers and not all customers are have these criteria, so the query should not include those customers.
Like in my sample data the result should be:
(first row)
165321 John King Magazine 01/03/2007 30/03/2011 10/02/2009 180.00
(second row)
165321 John King Magazine 01/03/2007 30/03/2011 06/12/2008 180.00
Customer Table:
ID Name Product Start Delivery End Delivery
165321 John King Magazine 01/03/2007 30/03/2011
165322 Bryan Lee Magazine 15/04/2002 30/04/2011
Finance Table:
ID Invoice Date USD Amount
165321 10/02/2009 180.00
165321 10/02/2009 120.00
165321 06/12/2008 180.00
165321 20/05/2007 99.00
165321 12/03/2007 150.00
165321 07/03/2007 180.00
165322 01/01/2003 124.00
165322 30/05/2002 160.00
165322 20/04/2002 99.00
Thank you..Hi,
Depending on your exact requirements, you can do something like this:
WITH got_this_yr AS
SELECT id
, MIN (invoice_date) AS invoice_date
, usd_amount
, EXTRACT (YEAR FROM invoice_date) AS this_yr
FROM finance
-- WHERE ... -- any filtering goes here
GROUP BY id
, usd_amount
, EXTRACT (YEAR FROM invoice_date)
, got_neighbor_values AS
SELECT id
, invoice_date
, usd_amount
, this_yr
, LAG (this_year) OVER ( PARTITION BY id
, usd_amount
ORDER BY this_year
) AS prev_year
, LEAD(this_year) OVER ( PARTITION BY id
, usd_amount
ORDER BY this_year
) AS next_year
FROM got_this_yr
SELECT n.id
, c.name
, c.product
, c.start_delivery
, c.end_delivery
, n.invoice_date
, n.usd_amount
FROM got_neighbor_values n
JOIN customer c ON c.id = n.id
WHERE n.this_year IN ( n.prev_year + 1
, n.next_year - 1
ORDER BY n.id
, n.usd_amount
, n.invoice_date
;If you'd care to post CREATE TABLE and INSERT statements for the sample data, then I could test this.
This used the analytic LAG and LEAD functions to find the previous and next years when the same amount occurred with the same id. Since we want to use this value in a WHERE clause, it has to be computed in a sub-query (got_neighbor_vlues) first; analytic functions are always computed after the WHERRE clause is applied.
In the case of the very first year, LAG will return NULL, and in the case of the very last year, LEAD will return NULL. That's okay for our purposes; we just need something such that the WHERE clause of the main query will be TRUE if and only if one of the adjacent rows was a consecutive year.
Why don't you want a row for 2007 in the results? It looks like the same customer had the exact same amount in 2007, 2008 and 2009.
What happens if the same customer has the exact same amount 2 (or more) times in the same calendar year? The query above uses the earliest one in each year, and ignores the others. If that's not what you want, then post the results you do want
Edited by: Frank Kulash on Nov 15, 2010 10:36 AM
Included cutomer table -
Moving around in a j scroll pane.
I have a JTextArea inside a JScrollPane and I'm trying to get the scroll pane to goto a certain line number that I want by using:
TA.setCaretPosition(10*linenumber);the linenumber is the line number the user enters and then the 10 is just the pixel it will go down because the interval I counted between each line is about 10. But it doesn't seem to move at all, what am I doing wrong?I guess it doesn't work like that.
What you are doing is moving the caret to a certain position in the document. The setCaretPosition method expects the CHARACTER position in the document to which to move, and has nothing to do with pixels...
But this won't be moving the scroll pane at all. I think what you are looking for is the TA.scrollRectToVisible(Rectangle) method. You pass a Rectangle on the textarea that you want to be made visible, and the call is repassed to the parents until a JViewPort is found, which is then scrolled.
To calculate this rectangle you could use TA.getRows() and TA.getSize().height, for example, to determine how much space each row is really occupying.
Best regards,
Marcos.
Maybe you are looking for
-
I know many have this issue but i can't find a solution to the problem. i get message saying insuffisiant disk space in the volume iPhoto library and i have plenty of space available. i have the new macbook pro with retina display. i have never seen
-
HP G85 all in one - not printing color
The printer display said the color was out so I bought a new cartridge. So, installed it, did a test print but no color so I chose the clean cartridge several times - still no color at all. Printer is not complaining about the cartridge, no error
-
Sync or ASync for a Data Warehouse environment?
We have a 7 TB DW environment that we're using High Availability on. Almost all of the data is bulk loaded nightly/ weekly. We've been running this in Sync-commit mode, but lately the Transaction Log in our Primary DB has grown to > 1/2 TB waiting on
-
Vector problem after copy/paste from Excel
In the past I've been able to drag or copy and paste an image from excel into Illustrator. I've lost that ability (sometimes I'll get a shadow image copied in, but it is not in vectors and it is not editable). If I save the figure as a PDF to copy
-
Information Broadcasting purpose in BW 3.5
Hi SAP Gurus, 1.I would like to know to which & all the report output can be sent to using BEx Broadcaster. 2.Please let me know how to set the report output format to bar chart / bar graph as default after execution of a query.