Use the scrolling Vertical and Horizontal

Hi all, I am new to BB. I tried to do a manager can scroll through both vertical and horizontal. I want to do a Picture Manager only a BitmapField, where the BitmapField have width and height more than display, and the Manager could scroll through both vertical and horizontal, so I can't look at BitmapField.

I read and try to do something like this ( http://supportforums.blackberry.com/t5/Java-Development/How-to-make-Vertical-and-Horizontal-scroll-o... ) and this one ( http://208.74.204.192/t5/Java-Development/How-can-i-use-both-of-horizontal-scroll-and-vertical-scrol... ) but it does not work

in general I want to do something like ZoomScreen (I do not use zoomscreen, because I can not add the button or another field in this thing).

I have try this one too, but nothing...

BEGIN

public myScreen() {}

_Image = new VerticalFieldManager VerticalFieldManager (Manager.VERTICAL_SCROLL |) Manager.HORIZONTAL_SCROLL) {}
protected void moveFocus (int x, int y, int status time int) {}
setVerticalScroll (y);
setHorizontalScroll (x);
super.moveFocus (x, y, status, time);
};
};

B=Bitmap.getBitmapResource("img/edit.jpg bitmap image");
BitmapField bi = new BitmapField (b, BitmapField.USE_ALL_WIDTH);

_image. Add (BI);
Add (_image);

}

END

Thanks for the reply... and sorry for my bad English (Not My Mom Language;-D)

Welcome to the forums!

USE_ALL_WIDTH first, remove your BitmapField constructor - as is, it will become monstrously huge (a width of Integer.MAX_VALUE > 1). A default constructor is sufficient. You may need to add FOCUSABLE style according to your needs.

Second, your moveFocus method is quite useless, because it is called only on touchscreen devices when the user touches that particular place. Touchscreen can already reach moving-scroll and swipe scrolling, so your problem is automatically solved it. In addition, moveFocus is a call relatively high level - all of these calls work well on a screen with many focusable fields and other things.

You will need to substitute navigationMovement for the BitmapField if it is FOCUSABLE or the screen itself. If you want other fields on the screen, this task becomes really not negligible, so formalize the specs for this screen as much as you can before you implement it. When you have an exact plan, write here, if you still need help.

Tags: BlackBerry Developers

Similar Questions

  • How to make scrolling Parallax image extend at the top and bottom of the screen of the iPad vertically and horizontally?

    My website: http://hawkspdx.Club has the functions of Parallax scrolling, which does not completely extend to the bottom of the screen or all the way to the top of the screen on an iPad in vertical or horizontal position. How can I fix this please? The Parallax features work perfectly on desktop version.

    0041-iPad_Horizontal_Top-Parallax.jpg

    Above the iPad is horizontal and the picture behind the (blue) pieces cut before the top of the screen.

    0044-iPad_Vert_Middle-Parallax.jpg

    Here the picture of parallax (blue) low cut with the iPad upright.

    0045-iPad_Vert_Bot-Parallax.jpg

    Here the image in red (green arrow) does not reach the bottom of my screen of the iPad upright.

    0047-iPad_Vert-Top-Parallax.jpg

    Here the function of parallax (red image) does not extend to the top of the screen of the iPad upright.

    It would be necessary to redefine the points of scrolling of the image on the page wells so that they overlap edge on parchment.

    https://www.YouTube.com/watch?v=8m2Lg241e3A

    Thank you

    Sanjit

  • How to scroll vertically and horizontally the entire screen?

    Hello!

    I have a screen that displays an image that is large enough. My problem is that I can't do scroll horizontally and vertically to see the whole picture! I have tried several things but nothing worked! I searched the forum, but nothing helped. Here is my code:

    Manager hfm = new HorizontalFieldManager();
            hfm.add(new NullField(NullField.FOCUSABLE));
            image = new BitmapField(Bitmap.createBitmapFromBytes(array, 0,-1,1));
            hfm.add(image);
            hfm.add(new NullField(NullField.FOCUSABLE));
            add(hfm);
    

    I tried to create a verticalFieldManager and add it to hfm, but nothing! I also tried to add in the screen, but the chance either! The class extends screen.

    Any suggestions please?

    Thnx in advance!

    I suspect that this article will help:

    http://supportforums.BlackBerry.com/T5/Java-development/create-a-scrollable-image-field/TA-p/444955

  • the display vertical and horizontal lines

    Help, I went simply to connect and it's my screen. You want to know if it is a known problem and if they should solve this problem, I bought it in January 2013. How is that going to cost I only had a one year apple care.  What is the problem with that?

    same problem as mine, I think that his problem with caused by a discreet graphics card overheating

    What model your MBP is? MBP repair extension for 2011 model is now underway, which ends February 2016

    Apple will replace your free logicboard if your model is matches the list of the products concerned.

    If this is not... just prepared about $200 for reballing the chipset vga (price in my country) or more for replacing logicboard.

  • Wireless mouse seems to randomly start both vertical and horizontal scrolling

    My wireless mouse is out of control.  First, it seems random scroll vertically and horizontally.  When I started my computer I had no mouse at all.  I rebooted and it worked again but began to scroll wildly.  I changed the batteries, but nothing helped.  How should I do?

    Hello

    ·        You did changes to the computer before the show?

    ·        What is the number and the model of mouse you are using?

    ·        What operating system is installed on your computer?

    Put the computer to boot and check which application is causing the problem:

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

    Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    If you use Microsoft mouse, then follow the instructions from the link:

    Troubleshoot the incidents of the response to the mouse or wireless keyboard

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

    Note:  You can also visit the website of the manufacturer of the mouse and download and install the latest driver for mouse and check if that helps.

  • cursor - vertically and horizontally

    Hello, I have a problem with the slider.

    I create a framework and put in an image. I put the direction to scroll vertically and horizontally. Watch it on the iPad when you scroll the picture up and down all the time, it's going up on the next page.

    I don't have this kind of problem when scrolling of the image to the right and to the left.

    If I understand correctly, you use the frame with scrolling to create a block of text that you can pan horizontally and vertically. When you say that the view displays the previous page when you scan vertically is that once you have reached the bottom of the content, or the vertical scan does not work?

    With the iOS Viewer when you hit the top or bottom of the page frame edge will change to the previous page or next on the next shot. The same is not true when the left or right edges are affected in the framework (i.e. it does not change the section in the preceding article or under).

    Maybe what you observe.

  • Hi, while writing an email online using Firefox 3.6.3, I was using one of the "CTRL + left arrow or right" to move the cursor on the text. I must have pressed some other key because the screen has become huge - and I can't scroll vertically or horizont

    Hi, while writing an email online using Firefox 3.6.3, I was using one of the "CTRL + left arrow or right" to move the cursor on the text. I must have pressed some other key because the screen has become huge - and I can't scroll vertically or horizontally, which makes the pages of Mail of Hotmail impossible. I have connected since using the Explorer MSFT and it works very well. This problem occurs only on the page of Mail of Hotmail Live not on the home page or other.
    Could you please let me know if there is a problem with Firefox, or if you have any advice on how to restore the appearance of Hotmail in Firefox?

    This has happened

    Just once or twice

    == I'm compiling an email in Hotmail Live

    See this:
    https://support.Mozilla.com/en-us/KB/page+zoom

  • How to hide or disable the vertical and horizontal scroll bars?

    I would like to hide or disable scroll bars vertical and horizontal window of Firefox (20.0.1 at the moment), is there a CSS rule or the setting in "subject: config" resource for this behavior?

    Thanks in advance.

    The code shown above should always work.

    Make sure that you have placed the file userChrome.css in chrome file in the Firefox profile folder.

    This chrome folder does not exist by default and must be created.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    #content browser {
     margin-right: -14px !important;
     overflow-y: scroll;
     overflow-x: hidden;
    }
    
  • Hello. I have windows xp. If you use Firefox as my homepage, I get interference terrible display of vertical and horizontal lines. When I switch to Internet Explorer I don't get them. I want to keep Firefox as a server.

    Hello. I have windows xp. If you use Firefox as my homepage, I get interference terrible display of vertical and horizontal lines. When I switch to Internet Explorer I don't get them. I want to keep Firefox as a server.

    Here is something you can try:

    1. Click on tools and then click Options.
    2. Select the Advanced tab
    3. Select the general tab
    4. Uncheck the use hardware acceleration if available.
    5. Click file and then click on exit.
    6. Launch Firefox normally.

    Once you have followed these steps, you'll want to follow these establishments and see if the lines are gone.

    Click the Help menu and select Restart with disabled modules.

    Let me know if this has eliminated the problem.

  • Where can I find the vertical and horizontal spaces of you or margins on CC Version?.

    Where can I find the vertical and horizontal spaces of you or margins on the CC Version? I need to leave a few spaces pixels around an image, but I can't find it on this new version.

    Thanks in advance

    In the CSS designer under window > CSS designer or SHIFT + F11

    Choose the item that you are working with and press on the + in the selectors of section

    Then in the Properties section, make sure that the first tab is selected (Layout) and scroll down to the margin

    Set it to a number of pixels that you want (for example, 10px)

  • Borders and the vertical and horizontal lines

    Hi guys,.

    I'm new to InDesign and I am trying to create the below, but I'm having difficulties.

    How can I create the border and vertical and horizontal lines as shown in the picture? I wan't to make a model of these so that I can easily modify the title and the text and keep the same formatting.

    Thank you!

    Screen shot 2011-05-16 at 18.19.34.png

    You must learn to have a little patience. Everyone here is a volunteer, and we all work day, too.

    Your outer rim could be either a stroke applied to a block of text in multiple columns, or it could be a separate framework used closely as a background. If you apply a line directly on the text block, you can add an insert to move the text of the line. Horizontal rules (that's the term for a straight line in page layout) look like they're probably paragraph nets (lines above or below a paragraph). These can be included as part of the paragraph styles applied to securities. Paragraph nets can be adjusted to the weight and position on the basis of either the first or the last line of paragraph (depending on whether the rule is above or below) and can run across the width of the column or just the width of the text, and to add dashes, positive or negative.

    There is no way to automate the vertical rules, at least not with ID right out of the box. You can add a few PlaceHolder rules between columns on your master page, but you will need to override and set them on the page of the document itself. Set benchmarks of rule between columns on the master page would help, especially in a situation where the rule needs to be broken to accommodate something like the floating image.

    You can see if the school library has some reference materials. A particularly good book for a beginner would be Visual Quickstart Guide of Sandee Cohen for InDesign.

  • Keep the Central text box vertically and horizontally

    I am reproducing this style of website Zhang Jingna - beauty · Fine Art · Underwater · New York, New York fashion photographer

    But I'm fighting to get the plant but I'm fighting to get the central text central rest horizontally and verticlally such that it is scaling one seen on PPI different screens that is 1080 and 1440 p

    any ideas how to fix this live text?

    my site Homepage

    There is a thread where this topic has long been discussedin.

    How to center you objects and or a vertically and horizontally in Muse Web site?

  • Does anyone know html or css when I drag my magic mouse to the right there is my low site scroll vertically and when I slide to the left makes scrolling upward?

    Does anyone know html or css when I drag my magic mouse to the right there is my low site scroll vertically and when I slide to the left makes scrolling upward?

    As this Web site: our wedding

    Please check the options available here:

    http://resources.Muse.Adobe.com/search?q=swipe

    Thank you

    Sanjit

  • Vertical and horizontal orientation for HTML and PDF

    So I read the previous posts on the vertical and horizontal direction and I understand that right now there is only one choice. Maybe in the near future there may be the option for both, but that would not allow a single article to be both orientations. So here's my question: we have several existing folios that are horizontal with resources PDF loaded in them that are to the vertical; It has always bothered that they come only horizontal and you need to scroll down to see the second page. Is there a solution that would allow them to rotate vertically?

    I see in the application of the universe of Switzerland, they have HTML links that turn all the two how this is done?

    Once we support rotation app the situation you describe should work fine. Your existing content will show horizontal. Loading the PDF resource it'll come up horizontal as well, but your player can rotate the camera for this portrait.

    Neil

  • Is no longer, I could use the "scroll bars" on the touch pad to move the cursor up or down or back.

    I recently had my computer Dell XPS 'fixed' and when I came back I couldn't use the "scroll bars" on the touch pad to move the cursor up or down or back.  What can I do to remedy this?

    Thanks for any help you can give.

    Hello

    • What is the model of the laptop?

    I suggest you to update the latest drivers from the Dell website and check.

    http://www.Dell.com/support/drivers/us/en/usgen1/DriversHome/NeedProductSelection

    You can also check this link:

    http://support.Dell.com/support/topics/global.aspx/support/KCS/document?c=us&CS=19&l=en&s=DHS&docid=DSN_361927&isLegacy=true

    See also:

    http://Windows.Microsoft.com/en-us/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly

Maybe you are looking for

  • Impossible to reinstall iTunes

    I tried to update my iTunes to version 12.4.2.4 in Windows 7, the two Apple software update to update manually, and it doesn't work. So good now I uninstall and reinstall my iTunes and it turns out error message saying that ' a program required for t

  • model pages pictorial directory

    Create a pictorial directory for a golf League. E-mail, phone and .only pix. Is there a model floating around?

  • Impossible to copy multimedia files on Stor.e tv + using LAN

    If I try to copy files from my PC to my TV Stor.e film + using the network fails. Any ideas? I can see the Video folder and open it.I dropped a simple audio file on it and copies, but as soon as I try to make a video file, it is sitting there trying

  • Questions about the Satellite L100 (PSLA3L) ram upgrade

    I have the laptop above and a new stick of RAM, do not have a manual but are there instructions for the upgrade, that? I opened the back and the type of image that keeps the RAM is not familiar to me. I can see how it goes, but it's not clips easily

  • trying to install my Sonic MYDVD on my computer.

    I'm not very technical with computers.  (first)   I try to install my Sonic MYDVD on my computer.  My first attempt had me remove UAC.  Now the msg box reads, "Windows NT is not compatible with MyDVD. You can upgrade to Windows 2000 or Windows XP."