Progamatically scroll to the top of a ScrollView
Is there a way to programatically scroll to the top of a ScrollView? I've seen no good in ScrollView is the 'top' and I would rather do in QML only... thoughts?
Have you tried scrollToPoint (0, 0, ScrollAnimation.Default)?
Tags: BlackBerry Developers
Similar Questions
-
Horizontal scrolling at the top title
Hello
Is it possible to create a title that of at the top of the screen and scrolls along the right to the left.
Thank you
William
Hi, will,
Yes, you can do it, but it takes a little tinkering. The title says "Ticker" creates a right to left scrolling on the bottom. You can use it to create a scroll on the top. To do this, create a project together just to work on the title. Click the background button and drag a black background in the timeline of the project title. Then add the Ticker title, with the desired text. Now share the draft title on your desktop as a file. You now have a clip of the song. Drag this item in your original project in which you intend to use it. Place it above the time line on the clip you want to use in. Select the clip of the song and then click the icon in the toolbar at the top of your screen that looks like to the overlap of the squares. In the selection box that appears, select the image in the image. Set your title at the top of the preview screen element so that the part of scroll appears at the top of your clip. You can push the top even if the black part goes out of the screen. Then click on the Reset button and you have a right to left scrolling at the top of your screen.
It's a little clumsy, I know. And you may have to play with it a bit to get it to appear as you want.
I hope this helps.
-Rich
-
Curiously, an error just for me that was not there until tonight (I have nothing new installed on my firefox). When I try to highlight text on any page why it automatically scrolls to the top? Very frustrating problem, no matter whether on gmail on an email, facebook or a web page regular when I try to select my browser text is now scroll upward on its own literally as soon as I'm going to highlight, that means I end up selecting everything on the page when it scrolls upward. Can anyone shed some light on how I can solve this problem suddenly?
Thank you
I am pleased to learn that you have been able to solve your problem of Firefox.
I reported this problem to the addon developer, in the hope that they will be able to patch the issue soon.
Please use the Mozilla Support Forums. We hope that you will continue to sail with us.
-
When firefox is opened the page scrolls to the top and I lost the menu bar
When I open firefox the page scrolls to the top and I can see no longer the menu bar. Somehow, I think I clicked on 'white page' and now I can't view the entire page.
Make sure that you run not Firefox mode full screen (press F11 to toggle).
-
Firefox has been extremely slow. Typing, loading, search, even just scroll to the top of a page to the bottom. My daughter had the same thing happens to sound and had to get his computer disassembled and full recharged. I don't have this option. He doesn't have a virus and was completely free of anything that might slow it down.
This has happened
Each time Firefox opened
Is a month ago. It is getting worse.
Hmm... try to download the last version... but if it doesn't, then try Safe Mode. Do not know what could be causing it...
-
BlackBerry smartphones, I can't scroll to the top
I can't scroll to the top and it is not a software problem, I am looking for another way to scroll to the top in my conversations
To scroll to the top, try SHIFT + SPACEBAR. It should work specifically in the lists (like your messages folder), in emails and in the browser. I remember specifically in the case of BBM. But you can test.
SPACEBAR = scroll down
Shift + space = scroll up
-
How to make a scroll animation constantly fixed after scrolling? I want the animation at the beginning when I scroll down, but I don't want the animated thing to disappear when I scroll to the top again.
I know how to start the animation by scrolling down, but I just want that he stay there after him. Could you help me please, guys?
Hi Tom,
There is no native function to Muse to achieve this goal.
Kind regards
Aish
-
After that I go to a Web page and start reading the text, the toolbar appears to move upward and out of sight. I can get it back if I run my mouse to scroll upward, to the top of the page. How can I keep the toolbar in view at all times?
Press F11 to turn the mode off full screen.
-
How can I prevent the address bar disappear until I scroll on the top of the screen
I don't like how the address bar disappears when I'm on a Web site. Then I have to scroll on it so he can come back. It's boring. How can I change this to have just the address bar still show?
If it operate 'slide' down when you move your cursor to the top of the screen of the monitor, you can be in full screen. The F11 key mode full screen or not.
If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.
Not related to your question, but...
You may need to update some plug-ins. Check your plug-ins and update if necessary:
- Plugin check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
- Adobe Shockwave for Director Netscape plug-in: install (or update) the Shockwave with Firefox plugin
- Adobe PDF plugin for Firefox and Netscape: Installation/update Adobe Reader in Firefox
- Shockwave Flash (Adobe Flash or Flash): updated Flash in Firefox
- Next-generation Java plug-in for the Mozilla browser: install or update Java in Firefox
-
BlackBerry doesn't scroll to the top of the screen only in the Middle!
having an application that displays a screen of news with the banner of the app and title + image + details (RichTextField) and a banner ad on the bottom of the screen so once I do scroll down to read the details, I can't go back to the top... It stops in the middle of the screen that you see in these pictures... I don't know why... It works perfectly when you use the key on the touch screen devices
and here's the code I used for this screen
public class DetailsScreen_en extends MainScreen { AppManager appManager; private Detailsbean_en bean; private AppManager manager; private BitmapField bitmapField; private LabelField titleField; private LabelField dateField; private RichTextField articleField; private Bitmap bitmap; private BitmapField bar; private HorizontalFieldManager hfm; Adsbean[] adsBean; BitmapField ad; VerticalFieldManager otherStuff; VerticalFieldManager vvv; Timer time; TimerTask task; private HorizontalFieldManager admanager; private int adCounter = 0; private boolean status; private int tour; public DetailsScreen_en(boolean status, int tour) { appManager = AppManager.getInstance(); adsBean = appManager.getAdsBean(); Locale.setDefault(Locale.get(Locale.LOCALE_en)); // ScreenOne.showLoadingScreen(); this.status = status; this.tour = tour; XYEdges padding = new XYEdges(10, 10, 10, 10); HTMLParser parser = new HTMLParser(); vvv = new VerticalFieldManager(VerticalFieldManager.VERTICAL_SCROLL | Field.FOCUSABLE) { protected void sublayout(int maxWidth, int maxHeight) { // TODO Auto-generated method stub super.sublayout(maxWidth, maxHeight); setExtent(maxWidth, Display.getHeight() - ad.getHeight()); } }; hfm = new HorizontalFieldManager(); bar = new BitmapField(DesignSizes.FanClubBar(), Field.FIELD_HCENTER | Field.NON_FOCUSABLE | Field.READONLY); hfm.add(bar); vvv.add(hfm); hfm = new HorizontalFieldManager(); manager = AppManager.getInstance(); bean = manager.getBean_en(); // System.out.println("DATE: "+ bean.getNewsDate() ); // another try ... Date _date; Calendar _cal = Calendar.getInstance(); _cal.set(Calendar.YEAR, Integer.parseInt(bean.getNewsDate().substring(0, 4))); _cal.set(Calendar.MONTH, Integer.parseInt(bean.getNewsDate().substring(5, 7)) - 1); _cal.set(Calendar.DAY_OF_MONTH, Integer.parseInt(bean.getNewsDate().substring(8, 10))); _date = _cal.getTime(); DateFormat dff = new SimpleDateFormat("dd MMMM yyyy"); String datedatedate = dff.formatLocal(_date.getTime()); dateField = new LabelField(datedatedate); dateField.setPadding(padding); titleField = new LabelField(bean.getNewsTitle(), Field.FIELD_LEFT) { protected void paint(Graphics graphics) { // TODO Auto-generated method stub graphics.setColor(Color.ORANGE); super.paint(graphics); } }; titleField.setPadding(padding); Font font = Font.getDefault().derive(Font.BOLD, 9, Ui.UNITS_pt); titleField.setFont(font); bitmapField = new BitmapField(DesignSizes.newsIsLoading(), Field.FIELD_HCENTER); bitmapField.setPadding(padding); setBitmap(bean.getImgUrl()); articleField = new RichTextField(parser.clean(bean.getNewsArticle()), RichTextField.USE_TEXT_WIDTH | RichTextField.TEXT_ALIGN_LEFT | RichTextField.READONLY); // bitmap field for the add bitmap ad = new BitmapField(DesignSizes.adBanner(), Field.FIELD_TRAILING | Field.FIELD_HCENTER); // horizontal field manager to set the bitmapfield away from the // scrollable screen .. as its required to be only // on the bottom of the screen ! admanager = new HorizontalFieldManager( VerticalFieldManager.NO_VERTICAL_SCROLL | VerticalFieldManager.NO_VERTICAL_SCROLLBAR | Field.FIELD_HALIGN_MASK); // the other stuff title bar + action bar + itemRow + button more otherStuff = new VerticalFieldManager( VerticalFieldManager.VERTICAL_SCROLL) { protected void sublayout(int maxWidth, int maxHeight) { // TODO Auto-generated method stub super.sublayout(maxWidth, maxHeight); setExtent(maxWidth, Display.getHeight() - ad.getHeight()); } }; admanager.add(ad); // font for the article Font artFont = Font.getDefault().derive(Font.PLAIN, 6, Ui.UNITS_pt); articleField.setPadding(padding); articleField.setFont(artFont); vvv.add(dateField); vvv.add(titleField); vvv.add(bitmapField); vvv.add(articleField); add(vvv); add(admanager); switch (Display.getWidth()) { case 320: getAd(adsBean[adCounter].getBlackberry320()); break; case 360: getAd(adsBean[adCounter].getBlackberry360()); break; case 480: getAd(adsBean[adCounter].getBlackberry480()); break; case 640: getAd(adsBean[adCounter].getBlackberry640()); break; } } private void setBitmap(final String url) { // TODO Auto-generated method stub\\ UiApplication.getUiApplication().invokeLater(new Runnable() { public void run() { // TODO Auto-generated method stub final DownLoadImage dope = new DownLoadImage(url); bitmap = dope.getImage(); Bitmap resized_bitmap = bitmap; Bitmap tempbitmap = new Bitmap(Display.getWidth() - 20, (int) ((Display.getWidth() - 20) * 0.458)); tempbitmap.createAlpha(Bitmap.TRUE_WHITE); resized_bitmap.scaleInto(tempbitmap, Bitmap.FILTER_LANCZOS); bitmap = tempbitmap; bitmapField.setBitmap(bitmap); } }); } protected boolean keyDown(int keycode, int time) { int key = Keypad.key(keycode); if (key == Characters.ESCAPE) { try{ this.time.cancel(); }catch(Exception e){ } UiApplication.getUiApplication().pushScreen( new NewsScreen_en(status, tour)); return true; } return super.keyDown(keycode, time); } // ============================================================================================= // for getting the ads ... // ============================================================================================= private void loadAD(int timer) { System.out.println("Timer start! "); time = new Timer(); task = new TimerTask() { public void run() { time.cancel(); switch (Display.getWidth()) { case 320: getAd(adsBean[adCounter].getBlackberry320()); break; case 360: getAd(adsBean[adCounter].getBlackberry360()); break; case 480: getAd(adsBean[adCounter].getBlackberry480()); break; case 640: getAd(adsBean[adCounter].getBlackberry640()); break; } System.out.println("tik tik tik"); } }; time.schedule(task, timer * 1000); } private void getAd(final String url) { UiApplication.getUiApplication().invokeLater(new Runnable() { public void run() { // TODO Auto-generated method stub final DownLoadImage dope = new DownLoadImage(url); Bitmap bitmap = dope.getImage(); ad.setBitmap(bitmap); } }); //for saving more memo switch(Integer.parseInt(adsBean[adCounter].getAdDuration())){ case 0: // break; default: System.out.println("loading ad! "); adCounter++ ; if(adCounter == adsBean.length || adCounter > adsBean.length){ adCounter = 0; } loadAD(Integer.parseInt(adsBean[adCounter].getAdDuration())); break; } // } // ============================================================================================= // ============================================================================================= protected void makeMenu(Menu menu, int instance) { // TODO Auto-generated method stub menu.deleteAll(); menu.add(new MenuItem("Language", 120, 10) { public void run() { // TODO Auto-generated method stub super.run(); UiApplication.getUiApplication().pushScreen(new SplashScreen()); } }); menu.add(new MenuItem("About", 120, 10) { public void run() { // TODO Auto-generated method stub super.run(); UiApplication.getUiApplication().pushScreen( new AboutScreen_en()); } }); menu.addSeparator(); } }
Please help me
scrolling takes in the focusable fields only.
You can add a NullField in the top to allow scrolling to it. -
Question of Smartphones blackBerry Trackball - scroll to the top
I read through 3 pages of 'trackball' posts on this forum and have tried everything suggested to fix my trackball except out the trackball. I can scroll down and from left to right, but not to the top. I stuck firmly IN the direction to go, but nothing. I rubbed firmly against the jeans we hope to get dust off or outside with no result.
Someone at - it any other suggestion short to disassemble or to store? I had a few months now, bought off of Ebay, but insured under my career. And if I take it apart, what are the chances of success? It's a little scary for me. Don't want to ruin an expensive phone.
Thank you. And this always can't to this timely... just before the break when I really need to keep in touch and send and receive messages! Well, let me of grateful, I can always use it to call. :-)
Have you tried to take a can of air to the trackball?
-
On adobe Illustrator, how could I sellect a selection of layers and move to the top of the tab layers everything always maintaining on the selcted layers in a sub-folder already done, other than to scroll upwards and gout? As it takes long time, if there are a few hundreds layers. Shortcut keys / setting?
I'm afraid, is not a feature in artificial intelligence. [PS it would be Shift-Cmd / Ctrl +] or [.]
Add as a feature here request: Illustrator feature request/Bug Report Form
-
Facebook widget annoyingly scrolling off the top of my head
Hi guys,.
I'm building a site muse of a model I bought online.
I managed to get all my widgets to social media (a little) lined up on my page, but my Facebook widget does not scroll as it is assumed below the header.
It scrolls on top.I tried to organize my layers. The usual rule of (from top to bottom) does not apply for the Facebook widget.
Facebook instructions / code. Is there something in there that puts the widget above all? (I can't read or write the code.)
Can anyone help with this?
Thank you in advance.Create new layer and before moving the header again master layer should work where the FB content scrolls behind the header.
Thank you
Sanjit
-
When I pin a lot of information on a site, it becomes a problem for the phones and tablets. That is why I want to scroll to a part and PIN another part on the top (after a bit more scrolling). It's just like the Native Instruments website
http://www.native-instruments.com/en/community/
Is there someone who can help me make this Muse?
I hope someone can help me... it will solve a big problem for me.
If you select scrolling properties for your menu at the top of the page and then grasp the handle at the top center of the page of the selected menu and pull down to move the key position, say 3/4 of the way in which the menu drop DOWN and view it in the browser. It should scroll until the position key to striking the top of the page and then stop ' just wasting his time with the key position by moving upwards or downwards to do things.
Have a look here and see if it's what you want
Hope this helps
David
-
Hello
When pressng the top of the Page or the Page down keys, I'm not exactly going upward from the previous or next page. This means that I often find myself looking at the top half and the bottom of page.
Y at - it a command to go exactly at the beginning of the next or previous page?
Paolo
The keyboard shortcuts editor can be a little unorganized.
Click on the 'Show Set' button and you will get a text file with * everything * shortcuts new mapable possible and, if necessary, the keys assigned. The text file should automatically open in the text editor of your system, you can use the search function.
(A quick check shows "Previous/next Page" and ' previous/next Spread' lie in the Menu layout, while "Scroll mode/page" is in the section view & Navigation.) Eh_bien.)
Maybe you are looking for
-
Could not open computer after upgrading firefox
The service of the user Service has no connection.User profile cannot be loaded.
-
TWO EXTENSIONS RUNNING OFF A ROUTER
Hello. I have a N300 Extender on networks and just bought a Netgear EX2700 extension put in another location. Both successfully install via WPS and work well independently, BUT when both are on at the same time as an Extender will show on the network
-
Cannot eject the disc hard ultrabay in ' Safely Remove Hardware and and eject the media.
Just installed my T430s with Win7 x 64.But I have a problem to the ejection of my hard drive in ultrabay using the icon "Safely Remove Hardware and and eject the media. I installed the latest Intel Rapid storage driver (RST) worm. 12.8.10.1005 downlo
-
How to manually register the file lvm
Hi everyone, I have been using this forum for a while, but so far have never had a question, I couldn't find an answer to. My question is, how can I do to save my data to a file of lvm manually so that it can be correctly read by labview? I looked th
-
I have Windows Vist and I'll upgrade Windows 7 make on my hard drive crashed. My question is can I install windows 7 fist or should I install vista first then windows 7.