Programming list scrolling does not

For some very odd reason, I am unable to programmaticaly scroll my list. With the exception of the simple scroll() method which takes an offset of pixels, no other methods of scrolling the no matter what.

In addition, ScrollPosition and ScrollAnimation who hold constants, are apparently not available for my use. When I ctrl + space to see tips, suggestions are only ScrollMode and ScrollIndicatorMode.

http://developer.BlackBerry.com/Cascades/reference/bb__cascades__scrollposition.html

ActionItem {
                        title: "To Top"
                        ActionBar.placement: ActionBarPlacement.InOverflow
                        imageSource: "asset:///images/ic_to_top.png"
                        onTriggered: {
                            messagesList.scrollToItem(1);
                        }
                    },
                    ActionItem {
                        title: "To Bottom"
                        ActionBar.placement: ActionBarPlacement.InOverflow
                        imageSource: "asset:///images/ic_to_bottom.png"
                        onTriggered: {
                            messagesList.scrollToItem(messagesList.dataModel.childCount());
                        }
                    },

Given that I could not access to the constants for the scrollToPosition() method, I tried to use the scrollToItem() that scrolls to a supplied index number. It does absolutely nothing.

Please, any help suggestions is welcome and appreciated.

Thank you!

Hello
scrollToItem expects a row which is a table consisting of section number JavaScript and article. The indexes are zero-based. Try:

messagesList.scrollToItem([1]) / / second item
or
messagesList.scrollToItem ([0, 1]); first section, second item
I'm not sure that it will work.

childCount returns a number of child elements in the section and uses an argument. For ArrayDataModel or GroupDataModel use the size() function. Valid range of items is 0.size () - 1.

Tags: BlackBerry Developers

Similar Questions

  • How to uninstall AVG anti virus program when it does not show in the list of programs?

    I can't uninstall AVG anti virus program because it does not appear in the list of installed programs. I need to uninstall it to install the software Total Defense.

    You will find support for AVG (free) in this forum-online http://forums.avg.com/us-en/avg-free-forum

  • Tecra A7-202: Touchpad driver virtual scrolling does not work

    Hello, I have problem with Synaptics touch pad driver version 9.1.0 (laptop Tecra A7-202).

    When I run any program as administrator, virtual scrolling does not work.
    When I run the program as a normal user, everything is OK.

    Hello

    What's your Tecra preinstalled with designed Toshiba recovery image?

  • Scrolling does not work on some applications

    I use the program Notepadd ++ and I can't use the touch pad to scroll. I plugged in a USB mouse and scrolling works very well with this device. I tried reinstalling the drivers, etc., and it still has the same problem. Also scrolling does not work when you play videos flash on Firefox. Again, scrolling works very well when you use a USB mouse.

    Name of product: notebook PC HP Pavilion g6

    Product number: B5R80UA #ABA

    ih23,

    After doing a little research, it seems that programs are in conflict with the driver and you are not alone in this experience.

    Here's what I found to solve the problem in Notepad ++. Note to change the registry, depending on how comfortable you are with it or not, it's you if you want to try this fix or not. I always recommend to back up the registry before you change anything.

    "It seems that everything that makes the Synaptics driver to display the slider is confusing Notepad ++."

    "If you go to HKLM\Software\Synaptics\SynTPEnh and add a new DWORD value named UseScrollCursor with a value of 0, the slider will not appear and vertical scrolling will work in Notepad ++.

    Good luck!

    -Kyle

  • On my trackpad scrolling does not work after the upgrade to 12.0

    On my trackpad scrolling does not work after update Firefox from version 3.6.28 to version 12. It normally works in Thunderbird, and other applications. It is a Lenovo T61 with XP Service Pack 3 and all drivers up to date. Version 3 seems to have bad memory leaks so I would like to upgrade, but I can't do it without scrolling. I would appreciate any advice.

    Try to change the pref ui.trackpoint_hack.enabled on the topic: page default config-1 to 0 or 1 to see if that makes the work button.

    Close and restart Firefox after changing the ui.trackpoint_hack.enabled preferably.

  • Scrolling does not work on Satellite Z30-A-1DJ

    Hello

    Summer on the internet trying to find an answer for my problem; How to make scrolling, pinching etc on my touchpad?

    Scrolling never works with this laptop (2 months) and up to now, even moving cursor was not reliable, since sometimes when starting the laptop touchpad was completely dead and has not reacted to what.

    Now there seems to be problems with it since I uninstalled the driver for the touchpad and restarted my computer, but still scroll does not work.

    Troubleshooting for this problem was no good.
    They all lead you to the first research of mouse in the start-> mouse-> advanced properties screen and from here you can adjust the parameters of mouse pad.

    I don't even have this tab on my laptop, while all the others are there (buttons, pointers, pointer, material options).

    How can I adjust the settings of touchpad on Satellite A-z30-1DJ?

    The characteristics mentioned touchpad should be accompanied by software as hardware.
    There are standards of touchpad different as Synaptics, Alps, but also momentum that support different features and different software.

    In the case where this software isn't installed or is not working, the touchpad to scroll as well as other features are not available.
    It could also be that tactile built-in module support no additional features.

    To my knowledge the Satellite A-Z30-1DJ should be equipped with an Alps Electric touchpad and this touch pad is different and does not support the same parameters as MOMENTUM or Synaptic touchpad.

    However, as you said, the additional parameters for touchpad Alps Electric are in
    Control Panel? mouse? last tab (Advanced)

    If you wish, you can try to install the driver for the Synaptics touchpad that has been released for other series of laptops as Portege Z10T-A

    I'm not very well if this Synaptics software would work correctly under the Alps touchpad m power but its definitely worth a try.

  • Toshiba Satellite A200 Synaptics Touch pad, scrolling does not work.

    Questions of Toshiba Satellite A200 SKU PSAF6A - 02Q01N Synaptics Touch pad, scrolling does not work.

    Operation system Win7 x 64, re-formatted and updated since Vista x 32, after having teething problems, install the drivers and do everything to work smoothly (for at least 2 months now), I managed. Today out of the blue the scrolling on the touchpad stopped working.

    I read on some forums that do, most said try using CCleaner to uninstall the driver and reinstalling.
    Tried to uninstall and reinstall the driver support Aus > drivers, done this, but received the error, (something) do not recognize the operating system.

    I went to the Synaptics site found a driver that has been recognized, it has installed but not really want to reboot the pc before I get some advice first. As there is a warning about the specific drivers for specific models and manufacturers...

    Help required, please.

    Hello

    Uninstall the existing touchpad driver and install it:

    http://Support1.toshiba-tro.de/Tedd-files2/0/tpdrv-en-20090320132707.zip

    Recently, it has been already discussed on the dysfunction of the touchpad in this thread. But unfortunately it did not help him
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=52689&TSTART=30

  • W520 Trackpoint scrolling does not work in Lightroom

    I am trialing Adobe Lightroom and scrolling does not work with the Trackpoint unless I click on the scroll bars. I have not had problems in all the other apps but have not been able to find a solution for Lightroom. Any ideas?


  • my scrolling does not work on my laptop? Help, please

    my scrolling does not work without the key and hold. Help, please?

    Hello

    · What is the operating system installed on the computer?

    · What is the number and the model of the laptop?

    · Will there be any changes made on the computer before the show?

    I suggest you to access manufacturer's website and check if there is the latest drivers or patches published for touchpad that you can install for your laptop.

    See: to update or change a device driver: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/devmgr_changing_drivers.mspx?mfr=true

  • Synaptics touchpad two fingers scrolling does not work in the player to develop modern UI application Windows 8.1

    I have a HP Envy TouchSmart UltraBook 4-1161er. Two fingers to scroll worked well in all modern user interface applications that come with the pre-installed operating system Windows 8.1, but the situation changed after the upgrade to Windows 8.1. Now this excellent and very useful two fingers scrolling does not work in the updated reader application. How to make it work?

    If the problem is in the drivers, maybe, install the drivers the latest may correct this?

    I tried to find the latest drivers for the touchpad Synptics in my ultrabook on the HP website, but it's the same old v16.5.3.3, I already have (published in may 2013). Synatics official site contains a link to the latest touchpad driver pack v17.0.19. Can I install it?

    I would try to install the Windows 8.1 (64-bit) driver Synaptics touchpad available in the download section of your sleekbook web support before using compatibility mode.  If the current driver does not work for you, try the earlier versions available .

    If you have no positive results, then use the compatibility mode (select Windows 8) on all three Windows 8.1 synaptics touchpad drivers, starting with the most recent.

    To use compatibility mode to install the driver just softpaq to the right, click on the file and choose troubleshoot compatibility. Select Windows 8 and run the installer.

    The following video has a decent explanation, but the Narrator does not get to the point for a bit. Go directly to the minute 4 and watch it from there.

  • "Add or Remove Programs ' opens but does not fill.

    original title: "ADD or REMOVE PROGRAMS ' opens but does not fill.

    I bought a rebuilt SONY DESK TOP and have used it for over a year and it ran ok. The unit was pre loaded with Windows XP Home Edition and it came not with a XP disc.

    Get the fixit . You may need to install powershell before running

  • Tuerdo tunneling Pseudo-Interface and ISATAP adapters is listed as does not.

    Original title: tuerdo tunnel pilot Pseudo-Interface

    Does anyone know the tuerdo tunneling Pseudo-Interface of what?  It seems that it is a Windows network adapter any and it is listed in the Device Manager tree.  There is also a Microsoft network adapter: isatap listed.

    Two of these adapters are listed as does not and when I try to update the drivers, nothing is found for either.

    They must be uninstalled, or what?

    Hello

    See if that helps you.

    "On a Windows Vista-based computer or on a computer Windows Server 2008, Microsoft ISATAP adapter appears with a yellow exclamation mark next to it in Device Manager, and you also receive an error message"

    http://support.Microsoft.com/kb/932520

    RESOLUTION

    "You can ignore this error message. This error message does not indicate a problem with the adapter. The adapter will continue to function correctly. »
     
     
    See you soon.
  • Use Microsoft Wireless Notebook Laser Mouse 7000. Horizontal scrolling does not work

    Original title: mouse scrolloing problem

    I just bought a Microsoft Wireless Notebook Laser Mouse 7000 and my scrolling does not work, is their a way to implement or to solve this problem?

    Hello

    1. the problem occurs on a particular application?

    I wish that you follow all the methods in this article to resolve the problem.
     
    The problems with the mouse button or scroll the parameters
    http://support.Microsoft.com/kb/303091
  • whenever I click on a program, that it does not open and the 'open with' screen appears

    whenever I click on a program, that it does not open and the 'open with' screen appears

    Hello

    Use above message for intense and thorough check for malware.

    To restore the ability to run any .exe programs.

    1 make a Restore Point so that you can come back if necessary back although probably not required.

    How to create a Vista System Restore Point
    http://www.Vistax64.com/tutorials/76332-system-restore-point-create.html

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html
    2. copy BETWEEN these lines and paste it into Notepad - save as exefileFix.reg - then right
    Click on it and FUSION - REBOOT

    DO NOT COPY THE LINES
    -----------------------------------------------------------------

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\. [EXE]
    @= "exefile".
    "Content Type"="application/x-msdownload".

    [HKEY_CLASSES_ROOT\. EXE\PersistentHandler]
    @= "{098f2470-bae0-11cd-b579-08002b30bfeb}".

    [HKEY_CLASSES_ROOT\exefile]
    @= "Application".
    "EditFlags" = hex: 38, 07, 00, 00
    "FriendlyTypeName" = hex (2): 40, 00, 25, 00, 53, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 52,------.
    00, 6f, 00, 6f, 00, 74, 00, 25, 00, 5 c, 00, 53, 00, 79, 00, 73, 00, 74, 00, 65, 00, 6 d, 00, 33, 00,------.
    32,00, 5 c, 00, 73, 00, 68, 00, 65, 00, 6 c, 00, 6 c, 00, 33, 00, 32, 00, 2nd, 00, 64, 00, 6 c, 00, 6 c,
    00, 2 c, 00, 2d, 00, 31, 00, 30, 00, 00, 31, 35, 00, 36, 00, 00, 00

    [HKEY_CLASSES_ROOT\exefile\DefaultIcon]
    @="%1"

    [HKEY_CLASSES_ROOT\exefile\shell]

    [HKEY_CLASSES_ROOT\exefile\shell\open]
    "EditFlags" = hex: 00, 00, 00, 00

    [HKEY_CLASSES_ROOT\exefile\shell\open\command]
    @="\"%1\" %*"
    ""IsolatedCommand"="\"%1\" %. "

    [HKEY_CLASSES_ROOT\exefile\shell\runas]

    [HKEY_CLASSES_ROOT\exefile\shell\runas\command]
    @="\"%1\" %*"
    ""IsolatedCommand"="\"%1\" %. "

    [HKEY_CLASSES_ROOT\exefile\shellex]

    [HKEY_CLASSES_ROOT\exefile\shellex\DropHandler]
    @= "{86C86720-42A0-1069-A2E8-08002B30309D}".

    [- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe\UserChoice]

    --------------------------------------------------------------
    DO NOT COPY THE LINES

    If necessary:

    Check the fix of exe here
    http://www.Winhelponline.com/articles/105/1/file-association-fixes-for-Windows-Vista.html

    Also check this one if it applies
    http://www.Winhelponline.com/articles/165/1/restore-the-exe-file-association-in-Windows-Vista-after-incorrectly-associating-it-with-another-application.html

    How to set default Associations for a program under Vista
    http://www.Vistax64.com/tutorials/83196-default-programs-program-default-associations.html

    I hope this helps.

  • The touchpad scrolling does not work

    I need help, vertical and horizontal scrolling does not work after the computer wakes up to the top of falling asleep or hibernating.  When I initially start the computer since the closure it works and it works again when I restart the computer.  I know how to change the settings for it, like one or two fingers to scroll and it turn on or turn off, but the settings are correct and scrolling still doesn't.

    My computer is a HP Pavilion dv6 (VX070AV) and only 3 days.

    You have tired of the touchpad driver update? I guess you are going to have Version 14.0.19.0

    Here is the link, just in case... http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-85175-1&LC=en&DLC=en&cc=us&OS=4063&product=4221638&sw_lang=

Maybe you are looking for

  • View the history form is really weird

    When I start typing in a box, my history of form appears, but not readable way: http://s21.postimg.org/yfp9s99cz/Screenshot_14.png?noCache=1372954964 I tried to restart Firefox with disabled modules and the problem disappeared, so I tried to disable

  • Want 5540: Impossible to activate the computer Scan: 5540 Envy, MacOS 10.12

    I tried to activate the Scan of the computer using the HP utility application settings. I received the message (in part), "HP software required for the Scan of the computer could not be located on this computer. Please download and install the latest

  • No sound via HDMI port to tv

    Hi all, I know it was question about it in the net, but I can not toot'paste any info helpful for my situation. Please advise, I have a HP DV9700 laptop running Windows Vista SP1 and 32 bit OS. I'm reading of my machine videos through my LCD tv. My T

  • Backup Flash memory

    I made an application that stores information in flash memory. Is it possible to save the Flash for BB. Because if I install an update of the software of the device, flash memory is Wiped and I lose my information.

  • When I open a document to read like an instruction how to close it.

    I need to know when I open a document on the line as a statement how to close the document and return to the previous screen? I use windows 8.