Increase mainwindow size dynamically

hi all,
can we increase the mainwindow size dynamically.
for eg: my requirement is if there is 1 line item, the size of main window should suppress.
if there r more than 10 line items the size should increase.
is it possible or not.
thanks in adv
vidya

Hi
It will increase to multiple pages depending on the data.
If it is even one line it will display one page and show the output
So you can't make to restrict it to one line if the data is one line. it will be the size what you defined in page windows per page.
Regards
Anji

Similar Messages

  • Increase array size dynamically

    Hi Sir,
    Balance is the class and current[]
    is my array of object of class balance.
    Balance current[] = new Balance[2];
    Instead of assigning 2 to the array,
    I only know the number of items in array
    as I loop through my resultset.
    So, meaning I don't know the array size
    in before I create the array.
    So, I need to increase the size of the
    array as I loop through the resultset.
    How can I achieve this?
    Please advice.
    Thanks.
    null

    get the ScrollableRowsetAccess from the ResultSetInfo and later you can get the getRowCount() with this number you can create the right size of the the array with the total of rows on the RowSetInfo or a ResultSetInfo. If your query is going to be growing after that point, you should better consider use vectors.
    Carlos

  • How to increase font size in Java script alert message

    Is anybody know how to increase font size in Java script alert message
    THanks in Advance ....

    Hi,
    You can NOT do it with Javascript.
    You need an alternative solution: http://www.apex-plugin.com/oracle-apex-plugins/dynamic-action-plugin/popup-box_84.html
    Tobias

  • How to increase Heap size at runtime

    Hi,
    In my application i sometime require to parse large XML files,so for doing that i require to increase the heap size dynamically.Is there any way to do that ?
    Thanks in advance
    Gurpreet Singh

    And unless there is no reason to be swapped out
    (plenty of physical memory) then it will be swapped
    out.I don't understand this. If there is no reason to
    swap a page back to the disk - e.g., there is plenty
    of available phyiscal memory for some other process -
    then why would the OS bother to swap that page back
    out to the disk?Ok I don't understand the statement either :)
    So obviously I need to rephrase it.
    Page swapping only occurs when needed. If there is plenty of physical memory to hold everything, then swapping does not occur.
    On the other hand if there is not enough physical memory then pages will be swapped out.
    >
    And application can also tell the OS that it nolonger
    wants to use some memory (pages.) But what doesthis
    gain the application? After all if it kept thememory
    and simply did not use it, it would not affectother
    applications. That is because the memory isswapped
    out to the harddrive until needed. So there is no
    need for an application to return memory to the OS.But since virtual memory is finite and there is a
    performance overhead if there is frequent swapping of
    pages into physical memory and out from the disk
    (thrashing), overall performance/throughput degrades.Some what correct. First virtual memory has a finite limit. But that limit itself does not affect other applications.
    Virtual memory in of it self does not cause swapping. If I allocate 1 gig for my application, when my application runs it will not have 1 gig of physical space. Only the memory that is 'touched' is relevant to the OS. So during a time slice it might be the case that only 16k of actual physical memory is used - say 8k for the small piece of code running and 8k for data (an over simplification but appropriate for this discussion.)
    It is rather unlikely, perhaps even impossible, that the entire 1 gig of memory would be swapped into memory during a single time slice.
    If the process' consumption of memory can not be
    streamlined, then that's typically when people go and
    buy more physical memory, no? Or in some cases,
    increasing the amount of virtual memory available to
    the OS can alleviate the problem.There is a difference between requesting memory and using memory. Memory that is used ('touched') is the only thing that has to be in physical memory. If you do indeed use a lot of memory in your application then more physical memory will help. But simply requesting more memory doesn't impact physical memory.

  • How to increase the size (Length and width)  of check box

    Hi All,
    I have to increase the size of ( width and length) of check box, I have revised to check box topic in dev guide but didnt find any clue, i have also tried to use CCStyle class but that is also not working, I would appreciate if some can help me out on this. Thanks in advance , let me know if any clarification required.
    Thanks
    Pratap

    Hi Pratap ,
    I honestly don't know how to increase the size
    But i am giving you an alternate solution : we can create two Images with check box type 1 ) with checked
    2 ) with unchecked . ( you can create image of any size ) and get them displayed on OAF screen dynamically using switcher case .
    Dynamically displaying image will give the illusion of check box being checked and unchecked .
    keep this image moved to following media directory
    eg : /oraapp/mfgtestcomn/java/oracle/apps/media .
    Implement the switcher case , add the fire action to this Image Column , create a transient attribute and attach to this
    column . Depending on the value returned by transient attribute display the image on the column .
    Let me know if its not clear .
    Keerthi

  • Increase the size of textview

    Hi all,
    I was trying to increase the size of a dynamically created textview.Is it possible to set the width of a textview in webdynpro?
    Thanks
    Kukku

    Hi,
    Try this code:
    IWDTextView txtView = (IWDTextView)view.createElement(IWDTextView.class, "text_view");
           txtView.setWidth("Your_Desired_width");
           txtView.setDesign(WDTextViewDesign.HEADER3);
    If you already have the text view created then you can get that particulat textview and can use the same API's, Use this code:
    IWDTextView txtView = (IWDTextView)view.getElement("NAME_OF_YOUR_TEXT_VIEW");
           txtView.setWidth("Your_Desired_width");
           txtView.setDesign(WDTextViewDesign.HEADER3);
    This will solve your issue. Please revert back incase you want any further assistance.
    Thanks and Regards
    Pravesh

  • Change item size dynamically

    Hii All
    I need to change an item size dynamically. For eg. If i have an item size (width) 20 and i entered text of 100 alphabates then the size of item is increase dynamically along with text.
    I use set_item_property but it shows an error that *" Cannot resize item. Position of item places it off of canvas. "*
    Please Assist.
    Pradhyumn

    write both the actions at the same time
    if the canvas size is less then the field size plus the increament then increase the size of the canvas tooo...

  • Increasing the size of the SGA

    I'm using the Oracle Enterprise Manager Database Control on a 10.2.0.4 instance running on Redhat Enterprise Linux. One of the recommendations that the AWR\ADDM always seems to give is: "Increase the size of the SGA by setting the parameter SGA_TARGET to N". I've gone through the process twice already by upping the SGA_MAX_SIZE and SGA_TARGET parameters. It's currently recommending to up it to 6176M, I have not done this yet.
    (1) Is this one of the recommendations that you would ignore within the DBCA if performance of the database seemed acceptable?
    (2) Why does it always come back from the AWR\ADDM as a recommendation?
    (3) What SQL or performance statistics does it do to determine whether the SGA is undersized and how does Oracle determine the SGA recommended size that shows up in the ADDM feedback?
    Thanks in advance...

    Truely new questions do deserve new threads. Questions that are a direct result of responses to the initial question should be asked on the same thread.
    If there has been a time gap between the last post on the initial thread and the new question coming to mind then a new thread is probably the better choice.
    To answer the question asked if the database is not suffering ORA-04031 errors and performance is OK then I would ignore the recommendation to increase the size of the SGA yet again.
    What you might want to do first is reivew how the sga is being used (v$sgastat) and look for bad code technique that leads to needing memory, i.e., the use of SQL that passes constants to Oracle in what would otherwise be the same SQL statement if a bind variable was used and excessive use of Dynamic SQL when again bind variables could have been used in the SQL.
    IMHO -- Mark D Powell --

  • I use iwires to connect macbook to lg tv to watch netflix.How do I increase screen size on tv.I have tried display options on settings- not working

    I use iwires to connect macbook to lg tv to watch netflix.How do you increase screen size on rv.I have tried display settings ,but not working

    I would guess that the HDMI port on your mac is for output only - no input, and that's what your'e attempting to do when you attach the mac to your xbox. I looked in Mactracker and it lists the HDMI port as video output for both the 13" Retina MacBook Pro and the 15" Retina MacBook Pro (your post didn't say which one you have), so looks like that is the issue..

  • In mail, how do you increase font sizes in a reply.  Cannot find things like "underline", "italic" etc either.  Where are they?  Entourage was easier!!

    In mail, how do you increase font sizes in a reply.  Cannot find things like "underline", "italic" etc either.  Where are they?  Entourage was easier!!

    Preferences/Compsing/set to Rich Text (only then you can use bold etc).
    Then Rightclick the toolbar in Mail, and clcik Customize the toolbar.
    Put the icons (with or without text) that you want on your toolbar.

  • Bold chars & increase font size in ALV Top of Page - OOPS

    Hi,
    I am using ALV OOPs to display my data.
    I am splitting the container and using top container to display headings in following way:
    data:   top TYPE REF TO cl_dd_document
      CREATE OBJECT top
        EXPORTING
          style = 'ALV_GRID'.
      lv_fontsize = cl_dd_document=>large.
    lv_text = 'HEADING'.
      CONDENSE lv_text.
      CALL METHOD top->add_text
        EXPORTING
          text         = lv_text
          fix_lines    = 'X'
          sap_fontsize = lv_fontsize         "cl_dd_document=>large
        CHANGING
          document     = cv_top.
    But the heaidng is not displayed with high font size and is similar to the text with cl_dd_document=>medium
    How can I increase font size of heading.
    Thanks!

    Hi Vasu,
    Use SAP_STYLE parameter in the method.
    Value will be HEADING or KEY.
    Regards,
    Amitava

  • How to increase font size in report

    Dear ABAPers,
    I got one requirement that i hav to increase font size in report.
    I am using Write statement in report.
    PL guide me regarding this.
    Regards,
    Simha.

    hi shakya,
    I have tried that,
    i think font size cannot be increased.....it wil auto adjust based on ur no of coloumns and records.... try to reduce the no of coloumns u r displaying, then it will auto adjust itelf.
    With regards,
    S.Barani

  • Hi Thanks for 4.0. It runs much faster on my Mac, however, it no longer works to zoom in all of my web pages. I use to be able to use my finger pad to increase the size of all of all pages. Thanks again.

    Hi Thanks for 4.0. It runs much faster on my Mac, however, it no longer works to zoom in all of my web pages. I use to be able to use my finger pad to increase the size of all of all pages.
    Thanks again.
    PS Are you working on a version for the iPad and iPhone with Add Blocker? That would be great!

    Here are some zoom add-ons which might provide a workaround:
    [https://addons.mozilla.org/en-US/firefox/search/?q=image+zoom&cat=all&x=0&y=0 Image Zoom]
    As regards your question about iPad and iPhone, you'd be better off posting that question here: [https://forums.mozilla.org/addons/ Mozilla Add-ons Forum]
    P.S. ''Apologies for not responding earlier''.

  • I used to be able to increase the size font of the persons name sending me an email or text message.  I have an iphone 5 and can no longer do that.  Help!

    I used to be able to increase the size font of the persons name sending me an email or text message.  I have an iphone 5 and can no longer do that.  Help!

    Just the name? Don't ever recall that being a feature. However, for Mail and Messages (and a few other apps): Settings app > General > Text Size

  • How do I increase the size of a partition

    I have installed OS X on an external drive, I partioned the drive, one 20gig partition for the operating system and one 230 gig for data. I now want to increase the size of the OS partition to 30gig, can I do that without erasing the data on the partition?
    PowerBook G4   Mac OS X (10.4.8)   1.5 Gig RAM

    Hi fabio,
    you can use iPartition or VolumeWorks to do that.
    If this answered your question please consider granting some stars: Why reward points?

Maybe you are looking for

  • Can no longer connect to Itunes store

    I cannot connect to Itunes store.  I have done everything that the Itunes support e-mail told me.  I unblocked pop-ups, checked my firewall that Itunes was allowed,  and checked my  internet connection and still no Itunes.  Itunes support has been no

  • Create image from byte[]array on server side

    Hello everyone.. I'm developing an application which will take snapshots from a mobile device, and send it to my pc via bluetooth. I have my own midlet which uses the phone camera to take the snapshot, i want to transfer that snapshot to my pc. The s

  • RE Customization

    Dear SAP Users, Please let me know on how to Start with SAP RE (Real Estate) Customization.  While prepareing Sales Order , is there any reference with Objects like Business entity, property or lot. Please explain. regards, GHS.

  • When I upgraded to win 7 I was told to uninstall iTunes and its helper programs. Now when I try to install it I get this message that it's not part of the original program.

    When I upgraded to Windows 7 I was told to uninstall iTunes and its helper services. Now when I try to install it I get a message that says "the files I'm trying to install are not native to this program. Is this being blocked by Windows 7 security t

  • Cannot erase/partition Fusion drive

    Hi everyone, When I got my iMac, with a 1TB Fusion drive, I partitioned it, with a small partition running OS X and apps, and another larger one, to contain my user files - photos, documents and so on. Now I want to sell my iMac, and I want to re-par