ChildField should take height Manager

Hello

I have a field delimiter in a custom Manager (who has 3 columns). It should take up to height of the Manager. Here's what I do:

public void sublayout(int w,int h){
      super.layout(0,m.getHeight());
      setExtent(0,m.getHeight());
}

where m is the Manager.

But I don't get any height for the field. Can someone help me please?

Thank you

The screen scrolls to make the visible selected range.  So it is possible that this NullField uses no vertical 'space' of Manager together and so the overall Manager will become visible.

The 'solution' to the problem may depend on what type of Manager you have.  For example, if you had a VerticalFieldManager, then each area is arranged one after another vertically, so the only time wherever you have a field that includes all VFM is if this optimization resources has only a single field inside.  If your original solution - field has been the entire height of the manager - would never work.    Another story if you have a HorizontalFieldManager.

I would be tempted to try to avoid using a manager at all and trying to paint the area myself.  It's more efficient and gives a netter control you, but is more complicated.

Otherwise, if you want to persevere with he Manager, I can think of two options, however, is not an area of expertise:

(a) you have two NullFields at each end.  If the first gets the focus, then processing will set the focus on the second, thus ensuring that all Manager is on the screen.

(b) if not, discover the owner manager, discover the extent of the owner manager, discover the extent of your manager and the current scroll position and then check that your manager is completely on the screen - then highlight the owner manager if not.

Tags: BlackBerry Developers

Similar Questions

  • 1st step you should take to identify the problem

    Hi gurus

    I did my interview today and has confused the following question:

    Question Your query was working fine yesterday and today, when you try to run the same query, then it stuck, what would be the 1st step you should take to identify the problem?.

    My answer I checked the Plan to explain...

    but it seems that I gave the wrong answer.

    Any idea, what should be the 1st and other steps to identify and resolve the problem. Thank you

    Concerning

    Shu

    I did my interview today and has confused the following question:

    Question Your query was working fine yesterday and today, when you try to run the same query, then it stuck, what would be the 1st step you should take to identify the problem?.

    My answer I checked the Plan to explain...

    but it seems that I gave the wrong answer.

    Why it looks like you have the right answer?

    Any idea, what should be the 1st and other steps to identify and resolve the problem. Thank you

    Only the people interview you can say what response THEY were looking for and, for them, ONLY it would be the right answer.

    , You ask them what response they wanted? If not, why? It is an object of an interview - to see if someone is WILLING and ABLE to COMMUNICATE with you and he is not afraid to ask questions if they don't understand something.

    If you ask the poster what they were saying. If you did NOT request you missed them the perfect opportunity to get your question answered.

    When running a query today is different than it yesterday so SOMETHING has CHANGED.

    The FIRST step is to confirm that you really have a performance problem. In other words, to confirm that the request really is "stuck".

    The NEXT step is to determine what has changed between yesterday and today. There is a large data load? Are there more users of the NLE system?

  • I just purchased creative cloud. What is the first step I should take?

    I just purchased creative cloud. What is the first step I should take?

    I'm unable to download the apps and I don't know why. I thought it had something to do with me having the prior consent of the trial, so I advanced and deleted. And I can not even download applications. Am I missing a specific step in all of this? I was under the assumption that when I bought the creative cloud, it would be a kind of command prompt to install the program (the way adobe works normally) then I would be able to install applications separately.

    Hi Poe7,

    Welcome to the community & thank you for being the Member of creative cloud!

    The first thing is to download Creative cloud desktop application that will help you to download all the available applications, go to https://creative.adobe.com/products/creative-cloud and download it.

    One time downloaded, launch it and select any product to start the download/installation of the app.

    Thank you!

    Ankit

  • How and what are the steps we should take to WFERROR trap notifications?

    In applications of R12.

    How and what are the steps we should take to WFERROR trap notifications?

    Please see these documents.

    How to purge WFERROR (System: error) the elements of workflow? [804622.1 ID]
    How to remove the list of tasks [ID 357904.1] error Notifications
    Speed up and purge Workflow [ID 132254.1]
    A further review of the competitive program Purge Workflow Runtime obsolΦtes [337923.1 ID]
    The SYSADMIN user gets thousands of Notifications WFERROR [ID 1299167.1]

    In addition, please see old threads that deal with the same subject - http://forums.oracle.com/forums/search.jspa?threadID=&q=Purge+AND+Workflow+AND+Error&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001

    Thank you
    Hussein

  • How much space XP disk should take?

    My C drive has 18.6 GB of space that 17.5 were used. I've really that stored on it. In addition, my file of WINDOWS takes 8.5 GB of space. Is this normal?

    I reinstalled XP a couple of times. Do you think I have two version on my hard drive. How for sure and how can know I free up space?

    Thank you

    Hello, 8.5 is normal, I use 11.8 a 34-gb drive and I have office and several schedules.

    If when you reboot, and there is an option that you choose at the beginning of two xp then you have two charges, one is possible a zombie the list if you do not reinstall your operating system correctly.

    go to start > run > msconfig > ok

    on the boot.ini tab, select "check all boot paths".

    You should have at least 15% free space for maximum performance of your programs and your BONES. More is better, it seems that you might want to get a larger capacity disc or a disc and data transfer.

    http://www.ehow.com/how_4848544_up-hard-drive-space.html

    This link may help you clean your drive.

  • How long should take El captain to download.  Been running all day!

    I hit the download button on El captain at least three times.  The clock icon in the top left turns, but it never ends download.  Help!

    Shouldn't take more than 1-1/2 to 2 hours on a connection high speed.

    Restart your Mac and try again.

  • How long should take a battery to charge

    I have a Pavilion DV7-4029TX and that you have purchased a new battery MU09.  I find that the battery takes more than 6 hours when fully charged flat.

    I use the laptop during this period for applications of surfing and 'office '.

    Is it normal that the battery MU09 or y at - it something else like a defective power adapter that could be causing took so long to charge the battery.

    Thank you

    Mark

    Hello

    What is the power rating of your charger ? 90W charger, it normally takes up to 4hrs as fully charged. 65W charger time would take more time, up to 6-7 hours (overnight). Faster for MU06.

    Kind regards.

  • How long windows 7 should take installation on corrupt windows 8.1 pro?

    I waited 3 hours to install and it's still on the expansion of the files windows (58%)

    Would it not long?

    A default installation of Windows 7 according to the process speed and memory to take no more than 19 to 45 minutes.

    If you have any non essential devices connected to the computer, this could prevent the installation program completed with success.

  • BlackBerry Smartphones made reconciliation should take 3-4 hours?

    Just buy the BBerry curve which replaced my Treo. On the Treo, you might push "send/receive" and it would be looking for emails as well as to reconcile with the POP3/ISP server. that is if I had downloaded or deleted from the server (earthlink) messages, then they would immediately disappear from the PDA.  I can't find a way to do it on the BBerry.  He does eventually - but it takes sometimes up to three or four hours before the delete.  By pushing the button of reconciliation does not seem to do anything, even if a connection is made.  Can you please help me to have the blackberry don't show that messages that are still not downloaded and/or not deleted and delete the messages downloaded or deleted more quickly?  Thank you!

    1. There is no such thing as send/receive on the BB, its all about mail push, comes automatically.

    2 reconcile work but not sacred now, is not the priority, it takes a few hours as you said b4 nessage gets removed from BB, again its all about push email, receving your mail, everyhting else is secondary.

    Yet how recociliation works: http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB05133&sliceId=SAL_Pub...

    Now you have to leave a copy of the message you rmail server to receive all messages on BB, or if you do not leave a copy onmail server, messages only appear on BB so your e-mail (outlook) program is off, other wise, they will come in outlook (some random messages can always come on BB).

    You can set balance option on BB if you want to remove the message on your e-mail server when deleting on the BB.

  • BlackBerry Smartphones how long my BB 8900 should take to recharge by USB?

    Hello

    I recently bought a Curve 8900 and I wonder how long it is supposed to take to charge using the USB.

    So far, turned off my laptop, it takes more than 4 hours. I'm trying my office...

    I downloaded the latest updates etc with the exception of USB drivers, do I have to install that as well as the desktop (version 4.7) software?

    Any help would be great!

    See you soon

    Thanks to you two!

    I guess I'm used to my Pearl super charging...

    See you soon

  • JavaScript input parameter should take the value of the element page Apex

    I have a JavaScript function which i dwonloaded ffrom net to generate bar codes

    DrawCode39Barcode(data,checkDigit).

    I call this function in the body of page attribute by using the following script

    < div id = "P5_X" > < / div >

    < script type = "text/javascript" >

    / * < ! [CDATA [* /]]

    function get_object (id) {}

    var object = null;

    If (document.layers) {}

    object = document.layers [id];

    } Else if (document.all) {}

    object = document.all [id];

    } else if (document.getElementById) {}

    object = document.getElementById (id);

    }

    Returns the object;

    }

    get_object('P5_X').innerHTML = DrawCode39Barcode('1-1-1111',0);

    < /script >

    When I run the page, the barcode for the value 1-1-1111' is generated. Please help so that when this page is running it will automatically take the value of the page item P5_X as parameter instead of hard coded value ' 1 - 1-1111'

    I think it would be simpler. You use the same id for the region and the order of the day, they must be different id

    JavaScript code can be in a dynamic action who sets fire to the loading of the page, or load Execute on the page of your page properties section.

    $('#barcode').html (DrawCode39Barcode ($v ('P5_X'), 0));

  • storage space is 90% full. What steps should take?

    Hi all

    In my 'Users' database, storage space is 90% full. And automatic is activated. in this case I need to take action? and how long it will go I mean auto extend to unlimited (is it a limit that can stop auto extend on my system)


    Thank you

    If the data file is set to autoextend (files can autoextend, storage space only not autoextend) it will be autoextend to the documented maximum datafilesize of your unknown platform, usually 32 GB, or when the disk is full, whichever of the two. Depending on your backup and restore strategy, the data file is the smallest unit of restoration and recovery, then add another data file may be necessary.

    How to do this is still described in the Fine Manual for your unknown version, which is online at http://docs.oracle.com

    ---------------

    Sybrand Bakker

    Senior Oracle DBA

  • All of a sudden ODI should take more time than usual executions.

    Hello

    I put packages ODI scheduled for execution.
    Since a few days those who take more time to run.
    Before they used to take 1 hour and 30 minutes approx.
    Now they take 3-3 h 15 min approx.
    And there no any significant changes in the data in terms of quantity.

    My ODI s version

    Standalone Edition Version 11.1.1
    Build ODI_11.1.1.3.0_GENERIC_100623.1635

    ODI packages mainly use Oracle as a SOURCE and TARGET DB.

    What is - that I need to check to find out the reasons for the sudden increase at run time.

    Indications in this regard would be appreciated.

    Thank you
    Mahesh

    Mahesh,

    Some queries of the repository allows to retrieve the task of session timings and compare your slow performance to a previous acceptable run, then look the most important changes - it will highlight where you slow down, then its judgment to resolve the matter accordingly.

    See here for some example reports, you might need to tweak to your current version of rest, but I don't think that the table structures have changed that much:
    http://rnm1978.WordPress.com/2010/11/03/analysing-ODI-batch-performance/

  • What type of data should take instead of the time?

    Hi all

    I've been using sql server there is no keyword time but in oracle what keyword I take instead of the keyword time?

    Thank you

    It would have been easy enough to find in the documentation, or just use google...

    http://docs.Oracle.com/CD/B19306_01/server.102/b14225/ch4datetime.htm

  • Oracle Forms Builder - YOU INSERT at the level of detail should take into account the change in amount level header

    Hello

    I have the form master / detail that are both at the level of the table.

    Header block has a MATCHED_AMOUNT column. Detail of block as DETAIL_AMOUNT.

    When the user inserts a record into the retail block, we conduct an insert statement in ONE INSERT trigger block of detail that makes integration with all the problems.

    Question is how can I get the DETAIL_AMOUNT newly added to MATCHED_AMOUNT. I tried to use UPDATE statement in trigger to INSERT the block of retail, but the UPDATE happens.

    Please suggest how to handle this logic.

    Thank you

    Sree...

    Ok.

    Remove the column MATCHED_AMOUNT of block shapes (if the point data base)

    Use INSERT after trigger to the block of retail and update the MATCHED_AMOUNT column to the database with the update command.

    Use a post REQUEST will trigger to the Header_block and show the MATCHED_AMOUNT in a display element with the SQL to the database.

    Hope this helps

    Hamid

Maybe you are looking for