How to know frame is active or not

there are plenty of JInternal frame in my app and i want to know which frame is active, any suggestions please.
looking forward for for response,,
-Prashant

desktopPane.getSelectedFrame()
ICE

Similar Messages

  • How to know form is open or not or not in sap

    How to know form is open or not or not in sap

    Hi
    There is no such functionality where you can check that whether the form is open or not. you can only get the information of active form
    if u want to get the information that form is open or not you have to code by yourself like declare a object of each form on the form load event set the value of that object and on form close event set the value of object to nothing. then you can check that if form object has some value then form is open else form is close.
    Hope i clear the point.
    Regards
    Rupinder

  • How to know NAMETAB_GET FM Obsolete or not  in ECC 6.0

    HI All,
    How to know NAMETAB_GET FM OBSOLETE or not ECC 6.0?
    thanks,
    kishore

    Go to SE37,  enter the name of the function module, click display, now click the "Attributes" tab.  There should be a field called "Function Obselete".  If there is a date in this field,  it is obselete.
    Regards,
    Rich Heilman

  • How to have a SFC active but not record labour??

    My latest challenge from the shop floor is how to have an SFC still be active without anybody being laboured onto it (Visiprise 4.2)
    We have several processes that require product to be placed in an oven for a long period of time, sometimes several days. Our production staff "sign on" to the SFC whilst they prepare the oven and load it. They then "sign off" and work on something else. When the process is completed someone (not always the same person) "signs on" to the SFC removes the product etc and the "completes" the operation.
    This gives us the actual labour touch time and the actual cycle time , the problem is that when the first operator signs off the SFC it changes it status back to "In Queue" which then show in the WIP reports as being available for work, which it isn't.
    So, is there anyway of signing off the SFC but  not changing status to "In Queue" ?? That way it will not show in the WIP reports as being available for work and will stop our operators getting so confused .
    Thanks for any help that you can give.
    Kev

    Kev,
    In any case you cannot have SFC in work but without any assigned user who is meant performing some actions over that SFC.
    You can create some "dummy" user account and start SFC with that user each time you start heating the unit in the oven. To take the unit out of the oven, the second operator will Labor On against the SFC and perform Complete.
    As another option, you can play with Special operation: create a router of one operation corresponding to the action of heating and use the same resource of the oven; the second step is Return(Next). Each time "dummy" user starts an SFC at the operation, the SFC will be taken out of work from the production router. When SFC is completed here by the second user after Labor On, the SFC should be returned to the next step of production router (though I have not tested this way of disposition).
    Anyway, such "cheating" with the basic functionality will be rather intricate - so you might consider requesting a customization.
    Regards,
    Sergiy

  • How to know when a topic does not exist

    I have an app that is created with Visual Studio 6, which
    does not have native support for HTML help (upgrading VS is
    currently not an option). I have an HTML help that I would like to
    call from my app. I need to call the html help with a context id
    number. Since there is no html help calls in this version of VS, I
    am calling hh.exe directly using ShellExecute ("hh.exe -mapid
    <id> <chm file>"). I dont know of any other way. The
    problem I am having is that there are times when my app and the
    help may be out of sync. It is possible that my app will call the
    help with an id that does not exist in the help. In WinHelp, the
    user would get a message indicating that the topic did not exist.
    Unfortunately, hh.exe does not return any messages. This makes the
    users think something is wrong with the app.
    Am I doing this the right way? Is there a way to find out if
    a topic exists and notify the user if it does not?
    Thanks in advance for you help.
    LA

    Hi LAYALA,
    We also develop with Visual Studio 6. You can override the
    WinHelp calls and redirect to HtmlHelp. Our app was originally
    developed using WinHelp. We made the change to HTMLHelp several
    years back and my developer claims it only took one line of code,
    though he's never told me what that line is. If nobody enters into
    this forum, I'll ask him tomorrow. I'm on Paciifc time so it will
    be quite a few hours from now.
    John

  • How to know CheckBoxGroup element checked or not

    Hi Friends,
               I am working on the webdynpro programming and now i got a problem in checkboxgroup.
               I need to know whether a checkbox element in the checkboxgroup is checked or not.
               Based on that i need to dispaly the text of that checkbox element.
               I got the solution to display the text of the checkbox element.But i was unable to place the condition whether that particular checkbox element is checked or not.
                Could you people look in to this problem and hope bright answer from you.

    Hi Sandeep,
    There is a <b>onToggle</b> event which you can catch. So you can set what function you want to create on the selection of the checkBox.
    It returns a boolean value. Initial value is set to False. So if the checkbox is checked it returns true. you can check for this boolean value in a <i>if()</i>, function and perform whatever function you want to do here in this loop.
    I hope this helps you.
    Regards
    Pravesh
    PS: Kindly consider rewarding points if  helpful and solved.
    <i>Message was edited by: Pravesh Verma</i>

  • How do know sales order  completed  or not

    Hi Gurus,
    I have created  Sales order with  materials and quantity,and ,
    could u tel Any Field for   sales order complete or incomplete status and Table
    Thanks in Advance.
    Sivakumar

    Check the Table VBUP whether the Delivery Status(LFSTA for sales order/RFSTA for inquiry) is 'A' (A - NOT YET PROCESSED , B-PARTIALLY PROCESSED, C-COMPLETELY PROCESSED)
    SELECT SINGLE VBELN        
                     POSNR        
      FROM  VBUP
      INTO   (LW_VBELN,
              LW_POSNR)
      WHERE VBELN  = I_VBELN
      AND    POSNR  = I_POSNR
      AND    LFSTA   =  'A'.
    IF SY-SUBRC = 0 MEANS SALES ORDER NOT YET PROCESSED.
    IF YOU WANT TO FIND THE SUBSEQUENT DOCUMENT FOR THE SO ,YOU CAN FIND IN THE TABLE VBFA.
    REGARDS,
    R

  • How to know Warehouse Management is active or not in the system ?

    Hi Guys,
    How to know Warehouse Management is active in the system ?
    I have found Table TCURM and Field LVS_CUS to know WM is active or not. If thsi field LVS_CUS is 1 means WM is active and other than 1 means WM is not active. I have tried to run scenarios in WM by making this field is in active but all scenarios are running properly.
    So, what is the use of this and how to control this ?
    Give your valuable answers for this.

    Hello Narsimha..
    Just go to Transaction:EC01
    Go to Structure ,then Navigation,
    select your Co.Cd(eg:1000) ,open it by double clicking it..
    drill down to you plant and storage location,
    check wether Warehouse is assigned.
    If assigned WH is active ,if not not active..
    Hope this helps
    Arshad

  • I forget my icloud passport. so i can't unlock my phone. how to know that passport

    I forget my icloud passport. How to know that passport ?

    Sorry, not understanding what it is you are asking. Your iCloud password is the same as your Apple ID password. If you are attempting to restore the device and you are on the Activation Lock screen, you must supply the iCloud/Apple ID password before you can proceed:
    ACTIVATION LOCK
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account - Apple Support
    Cheers,
    GB

  • Ask VLAN is active or not

    Hi forum,
    maybe this is a silly question, but i need to know how the VLAN is whether active or not, example i have a switch with VLAN A, but theres no accessport on the switch, but actually the traffic VLAN just pass by. i search on Distribution when svi interface VLAN/gateway, but theres no IP address located on it. maybe i dont know who use the VLAN and where the VLAN goes. so i want know how
    thanks

    Muhammad,
    It is hard to tell just by looking at a single switch if a VLAN is being used or is currently unused. But to me, the most straightforward way of testing things would simply be to use the show mac address-table dynamic vlan vlan-id command. If any MAC addresses are displayed then there is definitely some traffic present in this VLAN. If no MAC addresses are displayed, however, then the VLAN may still be used but the MAC addresses could have expired, or VTP pruning is in effect - there are several reasons why there are no MAC addresses learned even on a used VLAN.
    My two cents here...
    Best regards,
    Peter

  • How to know active user in Ad ? & how many days from not use user id ?

    How to know active user in Ad ? & how many days from not use user id ?
    Thanks & Regards, Amol . Amol Dhaygude

    Hi Amol,
    You can use the below command from the command prompt of DC to get all the AD users who are inactive for last
    X weeks,
                                    dsquery
    user -inactive X 
    To extract the inactive user information to a CSV file use the below command,
                   dsquery user -inactive X > c:\TestFolder\InactiveUsers.csv
    NOTE: The value
    X represents number of weeks, for example if your requirement is to find the inactive users for last 90 days then the
    X value should be 13.
    Regards,
    Gopi
    JiJi Technologies

  • HT201209 I just received a gift card from someone during these holidays, each time am trying ot redeem the code, I always found a message let me know that this card was not properly activated. How please you can help me about that ?

    I just received a gift card from someone during these holidays, each time am trying ot redeem the code, I always found a message let me know that this card was not properly activated. How please you can help me about that ?

    You don't go to the drop down "Actions" menu to reply to a post. You find the post to which you would like to reply and you hit the "Reply" button. You then type your message and then hit the "Add Reply" button to post your reply.

  • How can we know if an entity is active or not in a given period in HFM??

    In in the ownship management, we can see the child entity is inactive, but we don't know when it was inactivced, is there any table we can find to see if an entity is active or not??

    Hi,
    The best way that comes to mind is to make a grid where you have the entity and value dimensions on the rows and years and periods on the columns.
    For entities you select the parent and the child you want to look at, value dimension members <Entity Currency> and [Proportion]. For years you select those which you want to look at and all the periods.
    On the grid the [Proportion] should turn from green to red on one of the year/periods and that's the moment your entity became inactive to that parent.
    Hope this helps.

  • Timing how long a frame has been active

    I am trying to time how long a frame as been the active
    frame. Once the frame is displayed, if the user doesnt press a
    button to move to another frame after 6 seconds, the movie should
    jump back to the previous frame it was at. I think the setInterval
    function would be correct to use here to time the 6 seconds, but im
    not sure how to clear the interval after. Here is my logic, (i know
    this isnt correctly coded..)
    If a button was pressed before the 6 seconds has elapsed,
    then it would not jump to frame5, i think.. but im not really sure
    if this will work for what i am tryin to do, and if there is a
    simpler way. thanks for any advice

    onEnterFrame does NOT execute once when the frame is entered
    (despite its name). it executes repeatedly (ie, it starts a loop)
    starting when the frame that contains its code is entered and
    continues until the timeline to which it's attached no longer
    exists or a delete onEnterFrame is executed.
    in addition, you should always precede your setInterval()
    statement with a clearInterval(). especially, when your setInterval
    is attached to a frame. it's almost guaranteed that you'll have a
    mess on your hands if you use the code given by madmac, unless you
    add that clearInterval().

  • How to know whether balance carry forward has happened or not

    How to know , whether balance carry forward has happened or not for a perticular GL account or for the company code as a whole?

    If the account is a balance sheet account, you can merely look at the beginning balance for the same balance sheet account for the beginning of the next fiscal year FS10N. The beginning balance will equal the previous year's ending balance. Since this does not happen automatically, you will know that carry forward has not been done if a balance sheet account has no beginning balance in the following fiscal year.
    If you are talking about For P&L GL accounts, you can check the acvitity in the retained earnings accounts to make sure that they have been updated for the P&L activity. You can identify the retained earnings account by looking at the master data for the account in the section "P&L statmt acct type" and pulling up the menu to see the actual retained earnings account number.
    You can perform carry foward (GVTR) as many times as you want but normally once it has been ran, any postings to a  previous fiscal year are automatically carried forward to the current year after that initial run.

Maybe you are looking for