How to clear all component in internalframe?

I want to clear all components in the frame, but the frame isn't remove, just remove all components, it becouse i want to add anothers component. So i just want a new blank frame. how must i do?

sayunara wrote:
i has two frame 1 main frame,1 internalframe. if i use internalFrame.removeAll(), my internalFrame is gone too, i just want to remove components in the internalframe, but not the internalframe.Don't post in this thread, I have tried to direct all answers to the other thread (that's why I posted a link in this one)

Similar Messages

  • How to clear all details in iCal before syncing with Entourage?

    Deary me! I have been back and forth to iCal and Entourage trying to find which would be best. I have decided that Entourage will suffice - although not perfect by any means. In the meantime I have completely jammed up my iCal and daren't not try syncing Entourage yet otherwise I will never understand it and my iphone will be full of toot! Anyone know how to clear all details in iCal before syncing with Entourage? (Happy Sundays!!)

    Answer .... delete all calendars in iCal but leave the Entourage one there! Don't delete that as there will be big trouble!

  • How to clear/delete component information(History) from Indd??

    How to clear/delete component information(History) from Indd??

    I think Jong was telling you that your question was very not clear. 
    (And I agree with him!)
    I'm assuming you are talking about the document history available by 
    command/control clicking on "About InDesign" and/or plugin history.
    The only way to clear out that data is by exporting as inx/idml...
    Harbs

  • How to clear all open GRIRs in the year end and maintained as provision  ?

    Hi Friends,
    I would like to clear all open GRIRs in the year end and maintained as provision.
    in the next year next day i would like to show as open items.
    How can do it ?
    I have tried to clear it. I have maintained OBYP settings also. But i am unable see as clear item.
    Could you explain me how it actuallly works ?

    Hi REddy,
    In most of the cases, the GR/IR account will have a credit balance and would be taken as provision for liability during year end activites. So as a standard practise you need to clear them on year end.
    but if you want to clear them, first you need to deselect check box Post automatically only for GR/IR clearing GL's master data.
    Then pass a adjustment entry like
    GR/IR GL Dr
                To Provision for Liabilites GL: Cr
    Above sample entry is true when your GR/IR account has a CR balance at the year end. if not post it in a reversed manner.
    Now with tcode F-03, for GR/IR GL, choose all items and clear them. Now you will get the clearing doc number.
    Now on start of new FY, reverse the above accounting entry with FB08.
    This will meet your requirement.
    Thanks,
    Srinu

  • How to clear all overrides in a story

    Hi Everyone!
    I've been putting together a short script to clear all overrides in a story in which I have a cursor inserted. This is what I have so far:
    //Clear all overrides in the story of the text selection:
    app.selection[0].paragraphs.everyItem().clearOverrides();
    //Clear overrides in all cells of all tables of the story of the text selection:
    try {
      app.selection[0].parentStory.tables.everyItem().cells.everyItem().texts[0].clearOverrides();
    catch (e) {}
    It works well enough, but I have to select all to clear the overrides on paragraph styles. If I don't select anything, only the style overrides in tables are cleared.
    How would I modify line 2 to work the same as line 6? I've tried a few different things, but no dice!
    I'm going to make this another question:
    Can anyone suggest a good recent book or online resource to start learning scripting for Indesign?
    I've been loving what we can do with scripts, but I want to start understanding what I'm doing, not just how to do it.
    Thanks a bunch!
    Amy

    Hi,
    In case of modifying a code:
    clearOverrides() is a method ==> it means some procedure will be executed (simple or pretty complex).
    the target for this method is placed before it ==> here it is every paragraph which can be reached basing on selection.
    So your goal is to change a target to parentStory, I guesss.
    Modified line should look like:
    app.selection[0].parentStory.clearOverrides();
    It will work till selection has a property parentStory. A graphic frame - which also can be selected - has not, so code will end with an error.
    How to detect available object's properties and methods?
    Exam this huge help files published by [Jongware] here:
    Indesign JavaScript Help
    many help PDFs can be googled. Just try. I recommend Peter Kahrel books (any you can google out - in fact )
    Jarek

  • How to Clear all the data of open windows form of another exe?

    Hi,
    I want to make utility which will clear all the data from one windows application.
    i know the application name. The application of which data i want to clear is made in C# and contains many windows forms and controls.
    out of that opened windows form and controls inside it need to be cleared.
    Please guide on how to do this in C#?

    Short version: Find the window and send it a message with
    SendMessage.
    Open up Spy++ and find your form's window.  You will see that the window has children and they have classes of the form "WindowsForms10.EDIT.*"  Those are TextBox controls.  You can call things like SetWindowText to set the
    text of the window to clear it.
    To do this programmatically, you'll have to obtain the window hand that corresponds to the control.  You can find windows with
    FindWindowEx or
    EnumWindows.  Locate the window by name or class or whatever else you can determine about it.  Find the child windows and "clear" them however you wish.  I assume you mean to set empty strings to all the TextEdit controls. If you
    intend to do something more sophisticated than that, then you'll have to be more specific about what you mean by "Clear all the data".
    It may or may not be obvious that you'll be poking around with Win32 API calls via PInvoke to accomplish much of this. Example:
    SetWindowText via PInvoke.

  • How to clear all session data in adf through coding?

    Hi Everyone,
    i have created many pages in an application.I want to clear all session data when i get back to my first page.
    how to do that?
    such that my application should run as i am running for the first time.
    Thanks.

    Hi Jabr,
    i have used this code in initMethod() (Before phase) of my page.
    ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
    HttpServletResponse response = (HttpServletResponse)ectx.getResponse();
    HttpSession session = (HttpSession)ectx.getSession(false);
    session.invalidate();
    this code got executed but the page has 2 lovs.
    im getting error null pointer exception that EmpLovVO not found.
    if i remove the above code then the page is running correctly.
    What to do now?
    Thanks.

  • How to clear all bookmarks and then IMPORT

    .Mac synch messed up my bookmarks. I really thought "merge" meant add any that weren't there before. Instead every single bookmark now appears twice, including the bookmark bar.
    How do I delete everything - to start with a clean slate, and import from an export I created from my Powerbook? I think it is time to ditch synching and do it manually. I never really worked for me anyway.
    I looked at <<Reset Safari>> but that doesn't mention bookmarks?
    Ian

    Hi Vegemite,
    To CLEAR ALL Bookmarks you can trash the Bookmarks.plist. You will find it here ...
    Finder>Home_Folder>Library>Safari Folder>Bookmarks.plist
    I suggest to drag the Bookmarks.plist first to the desktop an import them again from your Powerbook. When everything is OKAY than trash the Bookmarks.plist from the desktop.
    Good luck ... post back ...
    Dimaxum

  • How to clear all data when the form loading at the first time

    hi
    I am using JDevloper 10g and I have adfForm page, I want to clear all data when I load the page for the first time.
    When I did it using RefreshCondition on the pageDef in the executables like(
    <executables>
    <iterator id="FinCompaniesInformaton1ViewIterator" RangeSize="10"
    Binds="FinCompaniesInformaton1View"
    DataControl="AppModuleDataControl" *RefreshCondition="#{adfFacesContext.postback==true}"* />
    </executables>
    the form didn't bring any data but the problem is the field in the form at the run time changed to read only. So how to make it inputText and clear the data inside it at the run time
    best regards
    Tarek Al Soudani

    thank you for your help,my spec is I have ADF Form and I have creat and Edit CommandButton I made it befor also Commite to save.
    so when I run the form the Field should be disabled and there are no data inside it,and when I chose the creat button the fields should be enabled and I have to insert data inside it then I save.
    So I have FinCompaniesInformatonView as view object based on entity object name FinCompaniesInformaton and applicationMoudul.
    I tolde you befor that I made refreshcondition to solve the data clearence problem but the field changed to read only so please if you now any way to leave the fields as inputText whitout make the form as creation form
    beast regards

  • How to clear all music from iPhone 5

    I want to completely purge the music in my iPhone 5, hopefully in one fell swoop. Wasted half an hour trying to find out how in iTunes help.
    Thanks!

    Hey Jeff Neufer,
    Thanks for the question. You can clear all of the music from your iPhone 5’s storage by navigating to Settings > General > Usage > Manage Storage > Music. From this page, tap “Edit” and then the minus sign next to “All Songs”, then confirm by tapping Delete.
    For additional information, see the following resource:
    See how much storage you've used on your iPhone, iPad, and iPod touch - Apple Support
    http://support.apple.com/en-us/ht1867
    Thanks,
    Matt M.

  • How to clear all fixed assets in SAP Business One

    Client wants to clear all fixed assets and create new ones. What is the best way to do it.
    Thanks.

    Hi,
    My assumption is that your customer is using 9.0, is it?
    I assume that the reason is because there was a mistake during the implementation, meaning that assets created using the application or using import fixed assets master data from excel are not what the user wanted.
    The existing rule is that only assets in status 'new' can be removed, and this is a consistency requirement, both technical and from accountancy point of view.
    So if the asset is not in status 'new' , it cannot be removed.
    What you can do is cancel all transactions generated for the asset, acquisitions, retirements, etc, starting from the last, transaction, until you cancel the first.
    Then you execute again depreciation run, to ensure any automatic posted depreciation is reverted.
    This way the asset will remain in the system, but with no value. And you can eneter the new assets that will substitute them.
    Jose

  • How to clear all selection screen parameters before calling transaction?

    Hi Experts
       I have a ABAP report that displays data using ALV.
      When I double click a cell it calls transaction MB51. Before calling the transaction I need to set some parameters of the selection screen  of the transaction.
      My code is like below:
      <UL>
       <LI>FREE MEMORY ID 'MAT'. <I>"material</I>
       <LI> FREE MEMORY ID 'WRK'. <I>"plant</I>
       <LI> FREE MEMORY ID 'CHA'. <I>"batch</I>
       <LI><I>* Get the selected ALV row data</I>
       <LI>READ TABLE i_recon INDEX p_selfield-tabindex INTO x_recon.
       <LI><I>*   If link MB51 is clicked then open tcode MB51</I>
       <LI> IF p_selfield-sel_tab_field+8(4) = 'MB51'.
       <LI><I>*   Pass material, plant to the corresponding tcode</I>
       <LI>       SET PARAMETER ID 'MAT' FIELD x_recon-matnr.
       <LI>       SET PARAMETER ID 'WRK' FIELD p_plant.
        <LI>      CALL TRANSACTION 'MB51' AND SKIP FIRST SCREEN.
    </UL>
    The problem is:
    <UL> <LI> 1. First, I run the given transaction before running the report in a separate session with some set of values in the selection screen. For example: plant = AB01, Material = 990001 and Batch = 10001.</LI>
    </UL>
    <UL>
            <LI> 2. Then in another session I run my report. In the report ALV I have selected a record where plant = AB01, Material = 990001 but Batch is blank. But it opens the transaction with plant = AB01, Material = 990001 and Batch = 10001.
    Even though in my ALV record the batch is blank yet it uses the batch value from the memory. That is, the batch value that was given in the transaction earlier. Why it is not getting cleared? I have also used FREE MEMORY ID code in the beginning. But still it is not clearing the values in the memory.
    </UL>
    <UL>
            <LI>What shall I do to clear all the selection screen parameters before calling the transaction?</LI>
    </UL>
    <UL>
            <LI>
    Thanks
    Gopal
    </LI>
    </UL>
    Edited by: gopalkrishna baliga on Aug 11, 2010 10:29 AM

    Its because sap memory is globally shared.
    Do it like this.
    READ TABLE i_recon INDEX p_selfield-tabindex INTO x_recon.
    IF p_selfield-sel_tab_field+8(4) = 'MB51'.
    perform bdc_dynpro      using 'RM07DOCS' '1000'.
    perform bdc_field       using 'BDC_OKCODE'   '=ONLI'.
    perform bdc_field       using 'MATNR-LOW'  x_recon-matnr.
    perform bdc_field       using 'WERKS-LOW'  p_plant.
    perform bdc_field       using 'CHARG-LOW'  p_batch.
    perform bdc_field       using 'DATABASE'  'X'.
    call transaction 'MB51' with i_bdcdata mode 'E'.
    endif.
    form bdc_dynpro using program dynpro.
      clear la_bdcdata.
      la_bdcdata-program  = program.
      la_bdcdata-dynpro   = dynpro.
      la_bdcdata-dynbegin = 'X'.
      append la_bdcdata to i_bdcdata.
    endform.
    form bdc_field using fnam fval.
        clear la_bdcdata.
        la_bdcdata-fnam = fnam.
        la_bdcdata-fval = fval.
        append la_bdcdata to i_bdcdata.
    endform.

  • How to clear all eventcombMT lockout tool settings?

    We have an eventcombt user that cannot get any results returned when running the tool from their workstation after a name and Windows account change.  It works for other accounts with the same security memberships.
    We need to clear all the saved eventcmbmt settings out of a user's profile so all remembered settings and credentials are cleared as if the user is using the tool for the first time on a brand new PC
    Are there settings stored in the registry and appdata?

    You can clear the search using "Clear search". Registry is not the storing area (except explicit credentials). Not even the app data.  
    I believe cache is in DLL. Captured by Procmon.
    Regards,
    Biswajit
    MCTS, MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, Enterprise Admin, ITIL F 2011
    Blog:
      Script Gallary:
    LinkedIn:
    Note: Disclaimer: This posting is provided & with no warranties or guarantees and confers no rights..
    Maybe there is another problem then.
    The user is logged in as a different user and using Runas "different user" to run eventcombmt as a domain administrator user, selecting the built in search for account lockouts, then substituting those old event IDs that it puts in by default for
    event 4740.  Then entering the user ID we are checking for lockout in the text field.
    When the user runs the query on his workstation, it finishes instantly and shows no results.  I don't see any error displayed to see why it is not working.
    I can run the same query using "runas administrator" for UAC prompt (add domain admin account as admin credentials) enter the same info and it runs the query fine for me on a different computer and the account I use has the same group memberships
    as the account the other user used.
    Does evencombmt log errors somewhere to tell you why a search fails to run?
    Is there a more modern tool available that will show the same lockout information (display source of lockout, not just tell you the date and time the account was locked out)?

  • How to clear all song at once from the Ipod Library

    I know is got to be an easier way to clear all songs from my Ipos instead of deleating one by one, can any one help?

    Got that much, but I do That from the Ipod or while connected to the computer? is there a shift on the Ipod? sry , but Im new to all of this, Thanks for your support

  • How to clear all fields on the page by using javascript ?

    Hello,
    has anyone an example of javascript function that clears all fields on the page?
    Thanks

    Hi Edward,
    You may want to have a look here http://textsnippets.com/posts/show/215
    Or try this (source from http://www.mindpalette.com/tutorials/clear_defaults/index.php):
    function MPClearAll() {
    with (document.forms[thisForm]) {
    for (var n=0; n<defaultVals.length; n++) {
    var thisField = defaultVals[n][0];
    var thisDefault = defaultVals[n][1];
    if (elements[thisField].value == thisDefault)
    elements[thisField].value = '';
    }}}Hope that helps,
    Dimitri

Maybe you are looking for