List always comes back to the high point of the page
I use a component of QNX list with a CellRenderer class and when I have more items that can fit on the list box, I have scroll down, but the list bounces to the top element. Here is the code I use to create a list:
MYLIST = new List();
myList.y = 30;
myList.rowHeight = 88;
myList.size = 90;
myList.sizeUnit = SizeUnit.PERCENT;
myList.scrollable = true;
myList.opaqueBackground = 0 x 333333;
myList.scrollBarColor = 0xCCCCCC;
myCellRenderer = new MyCellRenderer();
myList.setSkin (MyCellRenderer);
myList.dataProvider = new DataProvider (routine.getArray ());
myList.selectionMode = ListSelectionMode.SINGLE;
myList.allowDeselect = false;
myList.selectedIndex = 0;
listContainer.addChild (myList);
Hey chillybin,
IM glad that you have validated your complete code, see him finally. you add to the list incorrectly. the list class has a method called addItem() you use. so, even if currently you add to the list, the list does not know that and cannot update its scrolling. then do the following:
change this:
private function onClick(e:MouseEvent):void { anArr.push({ label: anArr.length.toString() }); }
to do this:
private function onClick(e:MouseEvent):void { taskTimerList.addItem({label: "New Item"}); }
that should clear up things. Good luck!
Tags: BlackBerry Developers
Similar Questions
-
A problem of time unusual Windows: time of Windows always comes back to the year 2005
Specifications:
Microsoft Windows XP Professional
Version 2002
Service Pack 3AMD Athlon XP 2700 +.
At the start, and sometimes even if the computer is running, the windows of time always comes back to the year 2005, while maintaining the right hour, minute, second, day and month.
I tried a number of solutions such as the "authoritative time server configuration", analysis of the computer for viruses and restarting the service of time via the command prompt, but without success. I am able to synchronize the time with a server, but only after the change of the year 2011.
My installation of Windows is updated regularly and I'm always connected to the internet. I'm pretty sure that this is not a BIOS problem I replaced the CMOS battery and have ensured that the BIOS time is correct.
In addition to the usual questions that arise in some programs due to an incorrect time, I noticed that when you use Firefox 4, the Google search engine always resets to "Instant Search" despite my having the clocks to the correct year.
Any ideas?
If I read your messages, I have that, amongst other times, pick up this always happens at startup. This is the case, you can first check that the time is set correctly in the BIOS before you boot into Windows. If it is, and, as you think, a program is causing this problem so the task is to know which. A lot of startup programs each time you start Windows. The boot configuration with minimum nude of running processes is called "Safe Mode". So start your computer Safe Mode (press F8 as your computer starts). When he arrives, check the date and time. If it of OK and has not changed, then one of the other optional components must be the cause. To narrow down that one, you can use "msconfig" to toggle the startup items groups until you find the one that is causing your problem. The procedure for doing this is described in this article:
"How to solve configuration errors by using the System Configuration utility in Windows XP"
<>http://support.Microsoft.com/kb/310560 >I start by disabling everything in the "Startup" tab If this solves the problem, then I start allowing things in this tab a little at a time until I have find the culprit. If the Startup tab does not resolve the problem, then I try disabling items in the tab "Services". I usually start with non-Microsoft services.
Of course on the machine who recently had this problem, you could try a shotgun approach and do a simple "System Restore" to a point in time before this problem. It will probably fix the problem, but you will not know what caused it.
"How to restore Windows XP to a previous state"
<>http://support.Microsoft.com/kb/306084 >HTH,
JW -
When you use the Brush tool, it always comes back to the single stroke and no fill. How can I fix it? I have already disabled the new art of a choice of the basic look.
Double-click on the Brush tool and you will see important option.
Please also read the manual on the other options.
-
When I make a change to my details, it won't stay on my phone. It always goes back to the old information. I have a lot of contacts and need to change the numbers. Help, please!
If your device behaves erratically these steps usually. They assume that all the content you want on the device in your lending library for the restoration. If not see recover your iTunes from your iPod or an iOS device first. I would also recommend you copy everything off of the camera, if you have not already.
- Backup device.
- Restoration as a new device.
- Restore the backup that you made earlier.
TT2
-
Always comes back to the integrated graphics card
Link to the pc I have: http://www.bestbuy.com/site/Alienware+-+Desktop+-+6GB+Memory+-+1TB+Hard+Drive/4819186.p?id=1218535466777&skuId=4819186&st=alienware&cp=1&lp=2
Specifications are in the article, but for the sake of speed...
SP1 Windows 7 64
CPU i7-2600 @3. 40 ghz
6 GB memory
Graphics GeForce GT 545I bought a computer with the integrated graphics card intel and a dedicated graphics card. I use my RCA HDTV as a monitor for my system. There is no VGA port on the Tower, so I have to use the HDMI port to get on television. The problem I have is that it seems to always return to the integrated card intel and not good graphics card. First thing I noticed when I hooked it up and the resolution of the screen is cut off at the ends. I could go through and set it so that nothing has been cut, but the only way I can get it to work on the NVIDIA card is if I go in the resolution of the screen and set it as if I had two monitors.
When I go into the resolution of the screen / monitor settings, sound as if he thinks that I have 2 different monitors hung. When I identify, the flashes '2', so I know she feels the one I use is the second.
If I use these settings I get this - .pic (http://i46.tinypic.com/2n718rc.jpg), I get the error message "you are not currently using a screen attached to a Nvidia GPU... pic (http://i47.tinypic.com/1zvg80l.jpg)»
But if I use this - photo (http://i48.tinypic.com/o53oyt.jpg) link, it works very well. Until I start Steam, once a game is loading, it jumps on the integrated map and we start chugging along.
It wouldn't be that big of a deal, but one of the biggest reasons that I bought the thing was so that I could play on it. I go to a game and while its on the integrated map, just of becomes mud and does not move.
Hi, Tom.
This is an old article but can be of Help.
How to connect a tv to a pc with Nvidea
-
I have the TV signal by cable from the TV directly to the output - without cable box.
Under 'Configuration of the strings' / 'Type of Signal' I choose "cable."
The works of TV and I watch cable TV.
I'll be back later in the day and the parameter 'Type of Signal' has changed to 'antenna' and I can see is more channels.
I change it back and it works until the next time I try to watch TV when I find that it has changed again.
Someone knows how to keep permanently the setting on "cable"?
Thank you!
This problem has been fixed with a recent update.
-
When I'm on the internet, it keeps shockwave broke down, I uninstalled and installed adobe but it s still to come! HELP Please
Hello
1. what internet browser do you use?
2 did you do any change to the computer?Try to use your Web browser in a clean boot state and check.
See the article below for instructions on how to start your computer in a clean boot state.
How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
http://support.Microsoft.com/kb/929135
Note: When the diagnosis is complete, don't forget to reset your computer to normal startup. Follow step 7 in the above article.I hope this helps.
-
I can't open Firefox. Home page comes up, I get just the reporter Crash asking me to restart/quit but every time I do the same message always comes back. I was not able to use Firefox for days now.
In recent days, we have a lot of crashes with Trusteer report. If you have this program, try to disable it and see if that stops the noise.
You can stop the report by using the Start Menu > programs > Trusteer report > report stop
You can ask their helpdesk when a version update of their products will be available or, if you do not need this software, uninstall.
http://www.Trusteer.com/support/en/report-problemIf you do not report, so we have a crash report ID. When you send a report of the Mozilla crash puts it right in a gigantic database. We have no way to seek without the ID of the report. I don't know what the problem is without searching the crash report. Please get the ID of your last report of the accident report.
See https://support.mozilla.com/en-US/kb/Firefox%20crashes
or http://kb.mozillazine.org/Firefox_crashes -
I recently tried to download the cloud creative, but right now, it will not download and will always come back with an error message. If someone could help me please, maybe it has something to do with what kind of java I.
Kind regards
Zac
Refer
https://helpx.Adobe.com/creative-cloud/KB/failed-install-creative-cloud-desktop.html
-
If I lose LTE when I come back on the cover he always says 3g
I think I need to reset something, do not remember what.
If I get out of the cover, when I come back on the cover custom phone access back to the tower or signal.
Brand new 6 s, darnit
How do I please you?
Hey Randyaaaa,
Not being is not able to connect to the cellular network when he returned in coverage areas. I had something like that happen to me before.
What I would say is first reboot the phone by holding down the button on/standby 15 seconds, and then dragging the cursor on the screen.
Once restart you the phone see if it connects properly. If this does not work I suggest to reset the network settings. This clears things like networks and Wi - Fi passwords remembers.
To reset all network settings tap Settings > general > reset > reset all network settings. The phone will reboot and that usually solves problems like this.
See you soon
-
Vista Clock on bar always come back 1 hour of tasks
Vista Clock on bar always come back 1 hour despite the reset of the tab "internet time" I tried different providers in the list but no help tasks.
So boring. Any help please?I think I have it: Harae-Pretoria.
We are an hour before. I don't know why + 2 hrs Pretoria works. The computer cannot know what area I'm in and of itself. No other choice?Thank you. -
My phone has a gray spot and he goes but he always comes back and my phone is bulging commandeLorsque I try to push to vertical lines appear so I can't push
Is that an iPhone 5? If so, you may have a battery of swelling which pushes the screen and that may have caused damage to the screen.
-
original title: HELP... (seniors not if nobody PC)!
Whenever I try to enter KB2559049 it always gets back after the restart, saying "NOT CONFIGURED" and then it lands in the updates page... So I used the Microsoft Fix - it tool and she is 'THE PLACE WHERE WINDOWS STORES DATA has CHANGED AND MUST BE FIXED... CHANGE OF PLACES in UPDATE from WINDOWS to THE SETTINGS by DEFAULT in WINDOWS'... well I think, but I don't know how the making and tool Fix - it didn't tell me how is... Please someone can help me to what is necessary.
Hello
I suggest you to follow these steps and check if that helps:
Method 1:
If you have installed a security software on the computer, then I suggest you try to disable temporary and check to see if the same problem happens. Make sure that you enable security software back once the diagnosis is made to prevent the computer from virus attacks.
http://Windows.Microsoft.com/en-us/Windows-Vista/disable-antivirus-softwareMethod 2:
Try to download the update from this link and install the update manually and check if it helps:
http://www.Microsoft.com/download/en/default.aspx
It will be useful.
-
Original title: computer viruses.
If I have a virus and I restore my computer, the virus will come back to the computer when the files are restored.
Hello
to be Safe side scan always media files are on before you reinstall your data
using drives flash etc is a well known to transfer viruses, etc.
-
Given that I have updated to IOS 9.3.1 my iBooks PDF documents are uploaded to the cloud so that they can be shared on multiple devices, however when I rename a PDF, it comes back to the original name every time iBooks is updated. Anyone who has similar problems and no one knows if there is a resolution?
Thank you
Johanine
I hope that they address it quickly. It is painful to have discovered my renowned PDFs are to difficult to identify file names their given by their authors.
Maybe you are looking for
-
Vista driver for pro version 10 Photo effect
I have pro version 10 for windows xp photo effects. I bought a computer with windows vista. Is there a driver that I can download for vista. Thank you
-
missing or corrupt file system 32 config system access denied in the recovery console
I tried to solve the problem with a 32 corrupt system config and when I go into the recovery console, it does not ask for any password which is one of the first things that the recovery console is supposed to ask. When I type the command 'md tmp' to
-
Printer won't hold Network Key Code
I got a new modem and my printer will not hold the new code... Can anyone help!
-
Hello A few days ago I updated my PC and my touch was not working. But then today all of a sudden it stopped working. Please tell me what to do!
-
Always bringing image in photoshop video
I use photoshop video to create a quick video that will use both video clips and still images. Bringing video clips works fine but when I make a fixed image in video editing, the image is enlarged in a way and does not not on-screen. I'm sure this is