Field.getFocusRect (rect XYRect) does not work on the torch (OS 6.0)

Hi all.

I encountered a problem on my project on BB OS 6.0 (Torch) porting.

I have the list of custom fields and I used getFocusRect() for appropriate scrolling

of this list. Each field in this list returns focus rect superior then extended the field.

The Manager understands what region should be visible and

Scrolls up until the rectangle returned by getFocusRect(), becomes visible.

In fact using getFocusRect() was linked to the incorrect background

behavior (see this thread), so in fact, I have used work around with

getFocusRectPhantom showed in the same thread.

It worked well on platforms 4, 2-5, 0, but works on 6.0 no approach.

Please suggest a way to solve this problem. Thanks in advance.

Here are some screenshots of sample of the question:

After clicking on the button I've got:

Here is the fix that made working code (see 1 0 instead):

    public void getFocusRectPhantom(XYRect rect) {
        super.getFocusRect(rect);
        rect.set( 0,0-m_manager.getPadding().top,1,m_manager.getExtent().height);
    }

Tags: BlackBerry Developers

Similar Questions

  • After VO extension update the page for some fields on a page does not work

    After VO extension update the page for some fields on a page does not work. The message arrives the data are saved, but the values is the same as that of the former. And this happens with only a few fields, other fields are working well.

    Any pointer to solve problems will be of great help.

    Thank you in advance.

    Check if the standard VO has a RowImpl and it overrides the methods getter and setter for fields that is affected. If so, you will need to call super() in your custom extended RowImpl to call this logic.

    See the link below for how to call great from the extended RowImpl.

    Johny tips: OAF: transient attributes not getting filled extended vo

    Example Code:

    public String getAttribute1() {
       //return (String) getAttributeInternal("Attribute1");
      return super.getAttribute1();
     }
    

    If the above did not help, attach standard and custom VO files. We can have a look.

    See you soon

    AJ

  • AutoComplete does not work on the address field.

    AutoComplete does not work on the address field. This means that the completed form is missing from the address. What is special about the address field and why doesn't autocomplete work? I have NOT opted for "don't follow it.

    http://www.thepetitionsite.com/TakeAction/918/708/047/

    Hi robmm76. I looked at the link you provided. It seems that the reason why AutoFill does not work for the address field is because of the way this field has been programmed on the site. It has been programmed to make type you part of your address and click on the right pair and it would then fill in city, State and zip code. If this field is just a special case.

    I hope this information answers your question. If you need more information or help please do not hesitate to reply to this reply.

  • Search Safari 9.1.1 does not work in the url field. Tabs are not securities.

    After I instaled 9.1.1 safari search option does not work since the URL field and tabs is not titles. IOS 10.11.5 macbook pro late 2011.

    Restart your Mac while holding down the SHIFT key. Secure boot is slow, so give it time to start your Mac completely and then restart normally.

  • Camerademo does not work on the curve 8900

    I tried to integrate a camera in an application that runs only on the bold 9000 and 8900 curves.  My code based on this sequel to the KB article works absolutely fine on the "BOLD".

    How - to take a snapshot using the built-in camera to a BlackBerry smartphone
    Article number: DB-00667
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/1089414/How_To...

    However, it does not work on the Curve 8900.  Initially I had a problem with the viewfinder display only part of the image and then corrupt display, so I upgraded the operating system to v4.6.1.133 (the most recent available for Vodafone UK) and now the viewfinder does not at all appear.

    To make sure it wasn't just my request, I loaded camerademo, compiled with JDE 4.6.1 and signed, on the device.  Still, the field of the viewfinder is not displayed.  When I click on the 'Take Photo' button, I get a null pointer exception, because the bytes (_raw) on the screen of createImageScreen are null.

    camerademo works fine on the Simulator, but Interestingly on the Simulator, the maximum camera resolution is 1660 * 1200, where, as the real device is 2 K * 1. 5 k.

    So why camerademo does not work?  If I can fix it, I think I can fix my application.

    Edit to set "Write me" every person must answer.

    This problem is now solved with an upgrade to OS 4.6.1.199, 4.6.1.133 form.

    Even with this level, the screen of the camerademo CameraDemo, which contains the "viewfinder" needs to be changed so that no other fields are used - this includes the removal of the setTtitle.  With this fact, ButtonField is not added, so the fieldChanged() event is not raised, another way of taking the photo should be used.  In addition, I also changed the scale factor in the ImageScreen to 8 from 7, to make the thumbnail a bit smaller.

  • "@specTypeName @" placeholder for extensibility of the Email does not work for the master specifications

    Hi all

    • I installed E-mail Feature Pack 4.1 extensibility 6.2 PLM.
    • I use "GSMEmailFileBasedVariablesFormatPluginFactory" to send e-mail notifications when work flowing from one status to another.
    • I am successfully able to generate notifications by e-mail for all GSM specifications with the content specified by me except the master specifications.

    "@specTypeName @" placeholder for extensibility of the Email does not work for the specifications of the master.

    Can you please help me solve the problem?

    FYI,.

    ' @specTypeName @ ' placeholder works in all other GSM specifications.

    Thank you

    Nefertari

    For the resolution of this problem, please see the following knowledge base document:

    Document 2079386.1 - Notifications by email for the specifications of the master only lack the Type of specification field

    Thank you

    Stephen, Oracle Support

  • I created a Javascript script that adds a watermark on the document action "paper print".  This works in Acrobat Pro, but does not work in the drive.

    I created a Javascript script that adds a watermark on the document action "paper print".  This works in Acrobat Pro, but does not work in the drive.  I am a novice using Javascript, so what am I doing wrong?

    Cannot use either addWatermarkFromFile or addWatermarkFromText methods of document with player as shown in the documentation. You can hide/display the form fields and the existing layers, so consider this approach.

  • I have iphone5s and my contact id does not work, all the time he show faild Setup touch id please help?

    I have iphone5s and my contact id does not work, all the time he show faild Setup touch id please help?

    Hi yjain51,

    I understand you had some problems recently with getting Touch ID to work reliably on your iPhone 5s. I know that it is a feature of great security for your iPhone, so I'm happy to help you.

    When you use Touch ID, make sure that your hands are free of any dirt or moisture so that fingerprints can be read clearly. This article explains further:

    Use the ID Touch on iPhone and iPad - Apple Support

    Thank you for using communities Support from Apple. See you soon!

  • Download Nikon D90 photos via a cable of Photos does not work. The picture freezes and does not matter. Any ideas?

    Download photos of Nikon D90 Photos OS El Capitan 10.11.16 cable does not work. The picture freezes and does not matter. Any ideas?

    Try with Capture of Image (in your applications folder)

    LN

  • My apple pencil does not work after the 9.3.4 update.

    My apple pencil does not work after the 9.3.4 update. I tried to restart but still does not work. Tried to forget the device and whenever I connect the pencil to the ipad pro, it is said that it does not recognize the cable / device. Help please.

    < re-titled by host >

    Greetings RechargeableJam,

    Welcome to the communities of Apple Support!

    I see that your Apple pencil does not work after update to iOS 9.3.4. I guess it's about to have a problem with something that worked with the previous version of the iOS software. I'm happy to help you to help you find the best resolution.

    First of all, let's close open applications on your iPad Pro. This can ensure that there is nothing running in the background that is causing a conflict. The following article will help you:

    Force a nearby application on your iPhone, iPad or iPod touch

    Then connect the pencil of Apple and see if it is recognized for the time being. If you don't see the Pair button, wait a minute while your Apple pencil costs. Then disconnect your Apple pencil, Plug and back on hold until you see the button in hand.

    Best regards.

  • Acorn TV does not work on the new Apple TV

    So disappointed that the Acorn TV app does not work with the new Apple TV we just bought. We have subscribed on iTunes and nothing happens when you try to activate the software. We can look good on the MacBook, iPad and iPhone. Verified the purchase on iTunes account and that's fine. Contact Acorn and say it is a matter of Apple.

    Strange that I have to use Chrome to even write this question. Safari and hers do not work with the Support pages. I'll send in the comments.

    I'm resetting Apple TV now. We have been with the Apple TV since version 1. I hope that we can make this work!

    How would work appletv mount 1 app on the job?

    each app to live their own lives the appletv core do not even know what applications do they just

    Use the ios network to get their content

  • Shortcut Ctrl C does not work in the main window of Firefox

    I use Firefox version 38.0.5, Windows 7
    Since the update Ctrl + C shortcut does not work in the main window of Firefox. (I can't copy text from any website using Ctrl + C).

    Click right and using the copy in the menu works perfectly. CTRL V and Ctrl X work fine without problem.

    Ctrl C works fine when copying text from the address bar and search bar, I just can't copy anything from anything in the main window of firefox.
    

    I tried to run Firefox in safe mode, I have also reset firefox and a virus scanner, but nothing has solved the problem.

    If anyone has any suggestions, that would be great. Thank you

    See:

    • bug 1173979 - copy Ctrl + C is broken in the last Irish FF 38.0.5

    Please, do not comment in bug reports
    https://Bugzilla.Mozilla.org/page.cgi?id=etiquette.html

  • can't connect to my home internet income james ashley forgot it the link password does not work and the password I was given does not fit into the password box

    can't connect to my home internet income james ashley forgot it the link password does not work and the password I was given does not fit into the password box

    Are you sure that you do not have to register on this site through the usual way and what you should be used elsewhere on the site?

    Have you tried to contact them to help this topic or to check if they have a FAQ on this subject?

    I found this in another thread that you created [*]:

    I'm not sure do I bought a home income internet james ashley program and I copied the login info I was given and the password does not fit into the window of password and I forgot the link password does not work I sent emails, but do not receive an answer im don't know what to do is anyway you can help me to recover my info or help me change the password?

    I assume that you have downloaded and installed this program and need to use this password in this program or only you can use these data to download the program from the site james ashley?

  • SQLite Manager does not work with the v11. Until make you it easier to go back to older versions or newer versions stop, breaking most of the modules I won't use Firefox

    SQLite Manager does not work with the v11. Until that make it easier to return to older versions or newer versions stop, breaking most of the modules I use FirefoxHow to come back at 10 Firefox?

    Update Firefox 23.0 which published yesterday afternoon.

  • Safari does not work in the iOS on ipad 2 and 4 9.3.1

    Safari does not work in the iOS on ipad 2 and 4 9.3.1

    Assuming that other internet such as connectivity features

    E-mail

    YouTube app

    Music streaming

    works very well

    Settings - Safari - erase data and history of the site

    Do a forced reboot - after all open applications using the app Chooser - invoked by fast double pressing the home button and drag upwards on each app until it disappears from the screen.

    Meet the sleep/wake and home buttons down until you see the logo  - then release and allow normal start upward

Maybe you are looking for