Cursor keys for scrolling in listbox (PnlTreeView)

Hi everybody,
I have developed a plugin for InDesign CS2 that is based on one of the examples included with the SDK, namely the PanelTreeView example. My plugin connects to an Oracle database, interacts with a remote file storage repository, exports documents in various formats - all things that I added to the example which are working really fine, but I've as of yet been unable to add something that should be really easy. The SDK docs and existing threads here haven't revealed much that would help me, so here's what I would like to do:
If you've ever seen the PanelTreeView example, you'll know that it displays files (located in a folder) in a hierarchical tree (originally multiple levels deep, but in my own plugin only one level deep, though that doesn't matter). In order to scroll up and down in said tree, there is a scrollbar on the right of the treeView widget, just as you would expect, BUT: I'd like to be able to scroll up and down using the cursor keys. That is, when the user has selected an element in the tree and presses "Cursor Down", I want to selection focus to jump to the element below the one currently selected. And once I've reached the (visible) end of the treeView, I want it to scroll down as if the "down arrow" of the scrollbar was pressed. So all in all nothing special, only standard behaviour you have seen all over the place in zillions of apps.
The only question is: How do I achieve that? Any pointers to specific sections and / or examples in the SDK docs? I figure I need to implement some sort of keystroke handler that is only active when the user has focussed my treeView (as the cursor keys have other functions otherwise, like scrolling in the currently open document of something). Sounds easy, but where do I start?
Any hints would be very much appreciated! Big thank-you's to all of you in advance!
Greetings,
Nils

Firefox Button > Options > Accessibility tab > Check Always use the cursor keys to navigate within pages.
W520: i7-2720QM, Q2000M at 1080/688/1376, 21GB RAM, 500GB + 750GB HDD, FHD screen
X61T: L7500, 3GB RAM, 500GB HDD, XGA screen, Ultrabase
Y3P: 5Y70, 8GB RAM, 256GB SSD, QHD+ screen

Similar Messages

  • Blinking solid line cursor used for scrolling

    It happened with Aurora first.. My blinking solid line cursor would be used to scroll the page when I press the down button on my keyboard.
    Really got annoying, makes it hard to scroll etc.
    installed firefox in it's place, worked for a few weeks then it developed the same problem.
    I ignored it for a few months until a new problem popped up. The blinking sold line cursor won't scroll through my favorite website!! other then the tabs on the top and bottom of the website (contact us etc) IT won't scroll through the webpage... just jumps from the top to the bottom.
    I downloaded and installed firefox Beta hoping a different version would fix the problem like it did before.
    Nope, same thing... It's really drilling my nerves, any advice would help (can't use another browser because I am dependent on a firefox add-on known as greasemonkey and it's many beautiful userscripts that make some websites easier to use like fanfiction.net (which is the website I am having a problem in the most) )

    Sounds that you have switched on caret browsing.
    *http://kb.mozillazine.org/accessibility.browsewithcaret
    You can press F7 (Mac: fn + F7) to toggle caret browsing on/off.
    *Tools > Options > Advanced > General > Accessibility: [ ] "Always use the cursor keys to navigate within pages"
    *http://kb.mozillazine.org/Scrolling_with_arrow_keys_no_longer_works
    *http://kb.mozillazine.org/Accessibility_features_of_Firefox

  • Arrow Keys for scrolling

    I always liked to use the arrow keys on the bottom right of the keyboard for scrolling down pages as I read long documents. For some reason this is not working in Firefox on my T520. Does anyone know of setting I can change to enable this?
    Solved!
    Go to Solution.

    Firefox Button > Options > Accessibility tab > Check Always use the cursor keys to navigate within pages.
    W520: i7-2720QM, Q2000M at 1080/688/1376, 21GB RAM, 500GB + 750GB HDD, FHD screen
    X61T: L7500, 3GB RAM, 500GB HDD, XGA screen, Ultrabase
    Y3P: 5Y70, 8GB RAM, 256GB SSD, QHD+ screen

  • How do I remove scrolling from the cursor keys which was recently applied after downloading an 'Add-on'?

    I recently downloaded an add-on called 'easy scroll' or something similar. It has meant my cursor keys now scroll up and down in the browser. However I use a web application that requires the use of the cursor keys to select options not to move around on the page. Can you tell me how I can reset scrolling to not use the cursor keys?
    Thanks.

    See:
    * [[Troubleshooting extensions and themes]]

  • Missing arrows for scrolling through tabs

    I am missing the left and right arrow keys for scrolling through tabs. They show up in new windows, but not in restored windows.

    The time it worked I completely closed all the "original restored" windows and made a new window with more than 11 tabs. This new window had the left/right arrows for scrolling through the tabs. They also appeared when I forced quit firefox and restored using session restore addon.
    This is only happening to my previous sessions. Any new session is working fine.
    Also my os is mac.

  • Consistant Scrolling position between cursor keys and mouse - how to do it??

    When I read with Adobe Reader, I often use the mouse on my laptop and scroll the pages down with the scrollbar and then become engrossed  in reading the article.
    Being engrossed, however, I also sometimes press the cursor down key, with the expectation that it will scroll the page down from the current position I am reading from.
    Unfortunately it jumps to whereever it was 50 or so pages before, or to the start and I have to mess around trying to find my place.
    It's deeply, deeply irritating and slows down my reading significantly.
    I have read all the Adobe reader help and settings, but cannot find anywhere I can change this behavour. I
    Anyone else affected by this and if so how did you overcome it?

    I shoud be clearer and say that it jumps to wherever the cursor was last placed by the cursor keys.
    Can't believe its just me who has this problem....

  • My pages stopped scrolling with cursor keys after upgrading to 5.0, the cursor moves WITHIN html documents and "jumps" from frame to frame and character to character within the frame.

    Recently, I noticed that google search pages stopped scrolling. There is an "right arrow" at the beginning of each link. When I press the cursor "up/down" arrow on the keyboard, the cursor jumps from link to link. Also, while on any html webpage, the cursor moves one character at a time (left / right arrow) and one line at a time (up/down arrow) until the end of that frame is reached, it then jumps to the next frame.

    You may have switched on [http://kb.mozillazine.org/accessibility.browsewithcaret caret browsing].
    You can press press F7 (on Mac: fn + F7) to toggle caret browsing on/off.
    * Tools > Options > Advanced : General: Accessibility: [ ] "Always use the cursor keys to navigate within pages"
    * http://kb.mozillazine.org/Scrolling_with_arrow_keys_no_longer_works
    * http://kb.mozillazine.org/Accessibility_features_of_Firefox

  • My cursor keys will not scroll my Facebook TimeLine, it jumps from top to bottom, works fine in Chrome browser.

    I am using Linux Mint ver. 16, and the Chrome browser works OK with keybd cursor keys in Gmail, Facebook, etc. but when I switch to your FireFox browser, I find the cursor keys are erratic and the up/down keys jump from the top to the bottom of Facebook time line, with no stopping or scrolling. I have tested this on a desktop PC and a laptop PC, and I get the same result, so I know it is not the hardware. So I will just stop using your Firefox browser until I can get a fix.
    Wayne

    You may have switched on caret browsing.
    *http://kb.mozillazine.org/accessibility.browsewithcaret
    You can toggle caret browsing on/off by pressing F7 (Mac: fn + F7).
    *Edit > Preferences > Advanced > General > Accessibility: [ ] "Always use the cursor keys to navigate within pages"
    Note that this is an accessibility feature of Firefox.
    *http://kb.mozillazine.org/Scrolling_with_arrow_keys_no_longer_works
    *http://kb.mozillazine.org/Accessibility_features_of_Firefox

  • What could this be? Cursor freezes for about a second

    Sometimes, the cursor freezes for about a second. It does not move on the screen. I checked the log files, but I cannot seem to find any trace of it.
    Has anyone else seen this? It does not happen a lot, it happens occasionally.
    I have seen it happen in Safari the most, but that is the app that I use the most anyway.

    Thanks for suggesting we turn off the "accidental input" option. It's a shame we have to live with the alternative - accidental input - which happens to me fairly frequently when I'm typing. But the mouse freezing was driving me insane.
    I found that it was very easy to reproduce. Simple go to a webpage, scroll down the page with the down arrow key, so the mouse disappears on-screen, then try to use the trackpage to move the mouse - it doesn't appear immediately. For me, it takes 1-3 seconds - which feels like forever.

  • Using arrow keys to scroll presets and library

    Hi
    I'm wondering if it's possible to use the arrow keys to scroll up and down folders and presets?   I'm starting to get RSI from the mouse. Is there a way?
    I can't work out how.
    Gus

    thanks.. that's really depressing news..  I'm so used to being able to scroll up and down the folders in explorer and Bridge that it makes no sense at all to have to click each folder with the mouse every time.  Awful.. Trying going through a long list of presets one by one..
    Even in LR you can scroll the images along the bottom with the cursors. Why not the folders or presets?
    why did the designers make such a departure knowing that most of their users would be coming from PS/explorer/bridge experience?
    It's the same with keystrokes.. what happened to standards of usability and consistency?
    is there a good reason for this?  I can't see one. Really fed up as I need the cataloguing features LR has but don't see myself enjoying using it at all.

  • Cursor Keys....

    Would anyone else like to see cursor keys added to the keyboard for additional navigation. I've been stuck a few times when writing text in these types of forums where the only way I can get to the top or bottom of text is to use the 'select' option.

    You can use the text editing cursor magnifying glass to scroll. Hold at the top of the text block to scroll up or at the bottom to scroll down.

  • I can edit on Premiere Pro 6 files, but after a dozen keystrokes, the space bar and cursor keys stop working while the save function works

    I can edit on Premiere Pro 6 files, but after a dozen keystrokes, the space bar and cursor keys stop working while the save function, render workspace function, export file are still operational. How can I fix it so I may complete my assignment?
    Besides DaVinci Resolve, Adobe Creative Suite 6 is the only software on the machine. I am using Windows 7 Professional 64-bit Operating System on AMD FX 6100 six-Core Processor at 3.31gHz and 32 GB RAM memory. There are two SLI-bridged GTX680 NVidia cards.
    The software was very stable for the last six months, working with 720P proxy files from 2.5K masters (Blackmagic Design Camera). I am working on a feature-length project that exceeds 1000 edits. I have broken the file into 2 one hour segments.
    I have deactivated the software before reinstalling the entire OS from scratch. PP6 was very stable for 48 hours. Then the freezing space bar returns. After a dozen strokes into the project, same problem.  I have made cache files store next to originals, I have deleted preview files if they were corrupted and causing instability. Am I missing something?
    I have Microsoft Security Essentials for virus protection. I double checked the memory for damage/defect. Nothing says that the motherboard or other components are damaged.
    I am in film competition overseas and need to have deliverables in less than a month's time.  I lost the last two weeks troubleshooting and this crisis came at an inopportune moment of the project.
    Any assistance would be greatly appreciated.

    Still getting software freezes but found a way to mitigate for the mean time.
    Upon launching Adobe Premiere Pro, hit CTRL-ALT-DEL to launch TaskManager as well.
    You will want to highlight Adobe QT32 Server.exe
    Right click and select "End Process Tree"
    You will get considerable stability in the program, long enough to get timing of cuts done. Be sure to save often.
    If the program freezes, do not hit Save. You definitely want to avoid saving the corruption into your TimeLine
    CTRL-ALT-DEL to relaunch the TaskManager and highlight Adobe Premiere Pro.exe
    Right-click to "End Process"
    No need to reboot the whole system; just launch Premiere Pro again and continue with the session. Note that your work reverted to Last Save.
    Hope this helps until the bug is fixed.

  • Thank youbfor optimizing the touch input for scrolling on my HP Slate 500, why wont the others do the horizontal scrolling feature enables?

    After testing all other available browsers the past month I have arrived at the conclusion that the Firefox browser is the only one that enables touch input for scrolling. Trying to navigate pages without this function using IE, Opera, Safari & Chrome is just tedious. I'm using the Slate as it was intended, business functions especially day to day charting for my patients in an online system.
    The larger tabs for opening new searches & sites. If Microsoft plans on making W8 truly touch enabled they need to take note of what FF has done here. The touch input is limited on W7 but you've succeeded where others have failed.
    3 cheers for FF! I couldn't do my job and document patient progress w/o your intuitive design. Brendan S. - Latham, NY
    I guess the question is why are the others not developing these key features for Windows based slates...are they ignorant or is FF that much further ahead.

    After testing all other available browsers the past month I have arrived at the conclusion that the Firefox browser is the only one that enables touch input for scrolling. Trying to navigate pages without this function using IE, Opera, Safari & Chrome is just tedious. I'm using the Slate as it was intended, business functions especially day to day charting for my patients in an online system.
    The larger tabs for opening new searches & sites. If Microsoft plans on making W8 truly touch enabled they need to take note of what FF has done here. The touch input is limited on W7 but you've succeeded where others have failed.
    3 cheers for FF! I couldn't do my job and document patient progress w/o your intuitive design. Brendan S. - Latham, NY
    I guess the question is why are the others not developing these key features for Windows based slates...are they ignorant or is FF that much further ahead.

  • Black screen with cursor blinking for a long time before loading windows 7

    Hey guys, i'm having an annoying problem with my macbook pro... i installed windows 7 using bootcamp and now i get a black screen with cursor blinking for a long time before loading windows... it *****, it takes about 3 minutes to get my notebook running
    The first time i installed windows seven i did not have this problem... i already deleted  the partition several times and installed windows again, but the black screen problem is still happening. i don't know what do
    You guys have any tips? anyone with the same problem?? this ***** a lot. thanks

    Hey Theoos..
    Yeah, my version is not.. the first time i installed it was ok, but after 30 days it was asking for a key... then i installed a cracked version, and the cursor started blinking on start up, and took like 2 minutes...
    I tested several cracks but with all of them happened the same.
    Thanks

  • How do i make the arrow scrolling go back to previous versions of firefox (arrow keys are scrolling to much)?

    As I tend to use the arrow keys to scroll on my laptop as it is to hard to do it with the mouse. I like to be able to go one line of text at a time. When i updated to Firefox 10 i started to scroll 3 lines at a time. So i was wondering if there was anyway i can change it one line scroll or whether i should roll back a version?

    I do not know of a way to do that. You can only set the scroll amount for the mouse wheel via the <b>mousewheel</b> prefs on the about:config page, but you can't do that for the keyboard navigation keys.

Maybe you are looking for

  • IPad not syncing with iCloud

    I have the new 4s.  IMac has Lion.  All hve IOS5.  My iPhone and iMac properly sync on iCloud.  However, my iPad is NOT syncing????

  • Issue with Report Layout

    Hi All, I am working on a report which display employee present or absent in the month. I have to display dynamic column as days varies as per month . I am done with the report design/query part, using matrix report layout. Report executes and produc

  • I need help with this code involving making stuff in safari appear the same in internet explorer

    In the Preview mode, Safari shows it the way I want it too look, but when I go to view it on Internet Explorer, the window look blank. When I check the 'veiw source code' for it it shows all the codes I have for it. I'm guessing because I'm using pos

  • Bridge2Java wrapper IE Browser cannot load applets

    I download the bridge2java library and modify one of the samples (QuickIE.java) to visit a url that contains a simple applet (e.g. http://java.sun.com/docs/books/tutorial/uiswing/components/applet.html) Once the page is loaded, a alert box popped out

  • HTML Graph using PL/SQL

    hi, is there a way to draw a graph about a dataset and mail it with Oracle PL/SQL? Thanks for your help.