Leaving JTextField with TAB

A simple question really ... I have a JTextField that I would like to have the user exit from with TAB and get
the same action as if they had left the field with the
ENTER key, i.e., I'd like to be able to use the getText
method to retrieve what the user entered. Currently, with
no modifcations whatsoever to the JTextField, when I
invoke getText after the user leaves the field with a TAB,
getText returns NULL. I've tried just about everything,
but can't get any of it to work (removeKeyStrokeBinding(), extending JTextField, etc.).
Thanks in advance for any suggestions.

As you have niticed this is not such a simple question at all.
After some experimentation I decided to make the enter key cause the text field to loose focus.
addKeyListener (new KeyAdapter()
public void keyPressed (KeyEvent evt)
int key = evt.getKeyCode();
if (key == KeyEvent.VK_ENTER)
transferFocus ();
Then give the text field a focus listener
class TextListener extends java.awt.event.FocusAdapter
public void focusLost (FocusEvent e)
// evalutate the text using getText()
Which gets the field's content, validates it and then save it in the appropriate place.
The advantage to this approach is the whole field edits are always done in the same place (the focus adapter), and the enter and tab actions appear the same to the user.
The disadvantage is that, unless you know the initial value, you won't be able to tell if the value has changed.
hope this helpds some.
Terry

Similar Messages

  • The address bar and all the command & tool bars disappear from my web page as soon as I log on. The leaves me with no way to enter a web address or navagate.

    When I attempt to use Firefox, the address bar and all the command & tool bars disappear from view as soon as I start the program. I can see the scrolling our of view at the top of my screen. This leaves me with no way to enter a web address, navigate or even exit the program.

    Make sure that you do not run Firefox in full screen mode (press F11 or Fn + F11 to toggle; Mac: command+Shift+F).<br />
    If you are in full screen mode then hover the mouse to the top to make the Navigation Toolbar and Tab bar appear.<br />
    You can click the Maximize button at the top right to leave full screen mode or right click empty space on a toolbar and use "Exit Full Screen Mode" or press F11.

  • Problem with Tab key

    Hi all,
    I have a swing appication run JDK1.3.1. I try to run on JDK1.4.2 is OK, but TAB key isn't available from this component to other component.
    Any suggestion would be appreciated.
    Thanks in advance.

    Component can JButton, JTextField, JComboBox...
    Not at all Dialogs error with tab key, but when open Dialog that is'nt available with tab key then next dialogs is'nt available too althought they available with tab key.

  • Container with tabs

    hello guys ...shahid here
    can we define a container with tabs in a report?
    for ex: a report program (not MP) , defined to a tcode. when we ran a tcode there will be a selection screen and we give input values in that and it will generate a container or a sub window in the screen with tabs. can u tell me how to do this?
    shahid

    REPORT  YH627_TABSTRIP.
    DATA: BEGIN OF FS_SPFLI,
            MANDT TYPE SPFLI-MANDT,
            CARRID TYPE SPFLI-CARRID,
            CONNID TYPE SPFLI-CONNID,
            COUNTRYFR TYPE SPFLI-COUNTRYFR,
          END OF FS_SPFLI.
    DATA: BEGIN OF FS_SFLIGHT,
            MANDT TYPE SFLIGHT-MANDT,
            CARRID TYPE SFLIGHT-CARRID,
            CONNID TYPE SFLIGHT-CONNID,
            FLDATE TYPE SFLIGHT-FLDATE,
          END OF FS_SFLIGHT.
    data:
      t_spfli   like standard table of fs_spfli,
      t_sflight like standard table of fs_sflight,
      ok_code   type sy-ucomm.
    controls:
      c_tabstrip type tabstrip.
    select *
      from spfli
      into corresponding fields of table t_spfli.
    select *
      from sflight
      into corresponding fields of table t_sflight.
    call screen 101.
    *call screen 102.
    *call screen 103.
    *&      Module  STATUS_0101  OUTPUT
          text
    MODULE STATUS_0101 OUTPUT.
      SET PF-STATUS 'TABSTRIP'.
      SET TITLEBAR 'TABSTRIP'.
    ENDMODULE.                 " STATUS_0101  OUTPUT
    *&      Module   USER_COMMAND_0101  INPUT
          text
    MODULE  USER_COMMAND_0101 INPUT.
      case ok_code.
        when 'BACK' or 'EXIT'.
          leave program.
          clear ok_code.
        when 'SPFLI'.
          leave to list-processing.
          loop at t_spfli into fs_spfli.
            write:/
              fs_spfli.
          endloop.
          clear ok_code.
        when 'SFLIGHT'.
          leave to list-processing.
          loop at t_sflight into fs_sflight.
            write:/
              fs_sflight.
          endloop.
          clear ok_code.
      endcase.
    ENDMODULE.                 "  USER_COMMAND_0101  INPUT
    <b>Double on call screen 101 and write the below code...</b>
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0101.
    call subscreen spfli_ref1 including sy-repid '102'.
    call subscreen sflight_ref1 including sy-repid '103'.
    PROCESS AFTER INPUT.
    call subscreen: spfli_ref1, sflight_ref1.
    MODULE USER_COMMAND_0101.
    <b>In the layout define a tabstrip control with two tabs.</b>
    Regards,
    Pavan.

  • Office Web Apps Server 2013 - Word Web App - Problem with Tab space

    Hello We have Office Web Apps Server 2013 running with SharePoint 2013.  Users Editing a Word document with Office Web Apps, can't use "Tabs", any Word document with Tabs; the tabs are replaced with a single space.
    Has anyone noticed this?  Is this a bug?
    -thanks
    thomas
    -Tom

    Yes, currently the Word Web App does not support
    Tab Keyboard shortcut for editing document content .
    For more information, you can have a look at
    the article:
    http://office.microsoft.com/en-us/office-online-help/keyboard-shortcuts-in-word-online-HA010378332.aspx?CTT=5&origin=HA010380212
    http://social.technet.microsoft.com/Forums/en-US/3f5978d3-67a1-4c8c-981f-32493d72610b/office-web-apps-server-2013-word-web-app-problem-with-tab-space?forum=sharepointgeneral

  • Buyer Beware - Verizon is a company that is only out to get your cash and leave you with trash.

    Verizon is a company that is only out to get your cash and leave you with trash. Verizon has mastered deception. Do not get strung along like I did by calling in and letting them try to fix anything-they are there to make sure you get past your 14 day return period so you are locked into a new 2 year contract and can’t take back any of the accessories you bought for your product. If your product does not work out of the box, RETURN IT IMMEDIATELY, do not call in for tech support and take back any accessories you bought for the product as it also has the 14 day policy too. First off let me say that as far as the PHONE SERVICE, it has been great…however…here is what I have experienced with the 3G Droid Bionic and Verizon. I decided to get the Droid Bionic 4G since they are supposed to have 4G service in my area. It’s either their service or the product that is not 100% 4G like my 3G HTC Imagio is 100% 3G, the so called "4G" Bionic flips in and out. I can’t count how many hours I’ve been on the phone with techs at Verizon and Moto but each time, they all had something different to say, but nothing ever worked and if it did, it didn’t work for long before it went back to the same flip flop. There were several other issues as well but too many to list, but one is that when I was tethered and would get a notification it disconnected from the internet...NOT SUPPOSE TO HAPPEN. I had a specific need for the 4G and since it doesn’t work, I don’t NEED it. The biggest lie I bought into is that MOTO is/was supposed to release a software update that is supposed to fix the flip flop 3G to 4G. I talked to a tech tonight at Verizon that was honest enough to tell me that if there was one that was going to be released (within my 14 day period) that they would have been notified of that. Well guess what, he doesn’t have any notices. But every person I talked to at Verizon said there was going to be an update, is it another one of those…no one knows their butt from a hole in the grown or was he telling the truth. Well it makes sense now that when I was talking with the second level tech at MOTO he didn’t know what the heck I was talking about. There’s your proof that the people you call and talk to at Verizon are devious, deceptive jerks and are only out to make money off us and could really care less that you just spent a bundle of money on a piece of cow dung and that their only goal is to keep you tied into the 2 year contract. After talking with the last tech at Verizon that told me there was no notification of a software update coming from MOTO or at least not in the next two weeks, I decided to take back all my accessories to the Verizon store in my area and return the Bionic tomorrow. But guess what, unlike the rest of America where the return policies are 30 days, Verizon also changed the return policies on the accessories too. So I’m stuck with over $100 of “STUFF” that cannot be used on any other phone. My bad, I didn’t have my reading glasses, look 12 inches down the long small print page to see that it said 14 days, when I bought the “STUFF” and I didn’t know that Verizon’s changes applied to the accessories in there stores too. Why is this and issue because Verizon did have me buy another Bionic phone under a new 14 day policy but because I didn’t realize that same policy applied to the hardware at their local stores, I’m stuck with the “STUFF”. Guess what Verizon; you devious, deceptive jerks, what goes around comes around. You are going to get to know me real well in the coming days, weeks, months and years; I’m going to picket until the freakin cows come home and hopefully get on the local news channels too. I’m going to hopefully create a nationwide movement that will either ruin your company or force you to restore the 30 day policy and I don’t care if you try to sue me that will be even better as it will draw even more attention. Money is hard to come by these days and I’ll not let you screw me over like this and get away with it. Because you are treating your customers like cow dung, I WILL NEVER extend my contract again; when this contact ends I’m switching to another cell provider. I’ve been with you since 2004 but tomorrow I’m switching my family’s phones over as soon as possible since they are not under any contract; this I hope will catch on and others will do the same. We can support the other companies and help them grow so that they can also provide better cell service and then we the people will have a choice, NOT TO GET SCREWED. Verizon, you are going to be the reason that a lot of time is going to be wasted in your stores because of processing numerous returns and a lot of Fed Ex charges on you for people retuning your trash items…unless you want to get it right the first time and or BECOME AMERICAN again and restore the 30 day policy. Verizon’s 4G network and or MOTO products still have so many bugs in them that you might as well keep your 3G and wait for another year or so until they fix everything and stop their devious, deceptive tricks, restore the 30 day policy and start selling products that work out of the box. Verizon, you wouldn’t be the first large company that is going to fall if you keep doing this kind of business. See yea on the news. One comment for Moto: Do you really want to associate yourself with a company that treats their customers like this? I guess Birds of a feather flock together…and get shot together. Yours Truly, One very, very, VERY angry customer

    Randy2009 wrote:
    Verizon is a company that is only out to get your cash and leave you with trash. Verizon has mastered deception. Do not get strung along like I did by calling in and letting them try to fix anything-they are there to make sure you get past your 14 day return period so you are locked into a new 2 year contract and can’t take back any of the accessories you bought for your product. If your product does not work out of the box, RETURN IT IMMEDIATELY, do not call in for tech support and take back any accessories you bought for the product as it also has the 14 day policy too.
    First off let me say that as far as the PHONE SERVICE, it has been great…however…here is what I have experienced with the 3G Droid Bionic and Verizon. I decided to get the Droid Bionic 4G since they are supposed to have 4G service in my area. It’s either their service or the product that is not 100% 4G like my 3G HTC Imagio is 100% 3G, the so called "4G" Bionic flips in and out. I can’t count how many hours I’ve been on the phone with techs at Verizon and Moto but each time, they all had something different to say, but nothing ever worked and if it did, it didn’t work for long before it went back to the same flip flop. There were several other issues as well but too many to list, but one is that when I was tethered and would get a notification it disconnected from the internet...NOT SUPPOSE TO HAPPEN. I had a specific need for the 4G and since it doesn’t work, I don’t NEED it.
    The biggest lie I bought into is that MOTO is/was supposed to release a software update that is supposed to fix the flip flop 3G to 4G. I talked to a tech tonight at Verizon that was honest enough to tell me that if there was one that was going to be released (within my 14 day period) that they would have been notified of that. Well guess what, he doesn’t have any notices. But every person I talked to at Verizon said there was going to be an update, is it another one of those…no one knows their butt from a hole in the grown or was he telling the truth. Well it makes sense now that when I was talking with the second level tech at MOTO he didn’t know what the heck I was talking about. There’s your proof that the people you call and talk to at Verizon are devious, deceptive jerks and are only out to make money off us and could really care less that you just spent a bundle of money on a piece of cow dung and that their only goal is to keep you tied into the 2 year contract.
    After talking with the last tech at Verizon that told me there was no notification of a software update coming from MOTO or at least not in the next two weeks, I decided to take back all my accessories to the Verizon store in my area and return the Bionic tomorrow. But guess what, unlike the rest of America where the return policies are 30 days, Verizon also changed the return policies on the accessories too. So I’m stuck with over $100 of “STUFF” that cannot be used on any other phone. My bad, I didn’t have my reading glasses, look 12 inches down the long small print page to see that it said 14 days, when I bought the “STUFF” and I didn’t know that Verizon’s changes applied to the accessories in there stores too. Why is this and issue because Verizon did have me buy another Bionic phone under a new 14 day policy but because I didn’t realize that same policy applied to the hardware at their local stores, I’m stuck with the “STUFF”.
    Guess what Verizon; you devious, deceptive jerks, what goes around comes around. You are going to get to know me real well in the coming days, weeks, months and years; I’m going to picket until the freakin cows come home and hopefully get on the local news channels too. I’m going to hopefully create a nationwide movement that will either ruin your company or force you to restore the 30 day policy and I don’t care if you try to sue me that will be even better as it will draw even more attention. Money is hard to come by these days and I’ll not let you screw me over like this and get away with it.
    Because you are treating your customers like cow dung, I WILL NEVER extend my contract again; when this contact ends I’m switching to another cell provider. I’ve been with you since 2004 but tomorrow I’m switching my family’s phones over as soon as possible since they are not under any contract; this I hope will catch on and others will do the same. We can support the other companies and help them grow so that they can also provide better cell service and then we the people will have a choice, NOT TO GET SCREWED.
    Verizon, you are going to be the reason that a lot of time is going to be wasted in your stores because of processing numerous returns and a lot of Fed Ex charges on you for people retuning your trash items…unless you want to get it right the first time and or BECOME AMERICAN again and restore the 30 day policy.
    Verizon’s 4G network and or MOTO products still have so many bugs in them that you might as well keep your 3G and wait for another year or so until they fix everything and stop their devious, deceptive tricks, restore the 30 day policy and start selling products that work out of the box. Verizon, you wouldn’t be the first large company that is going to fall if you keep doing this kind of business. See yea on the news.
    One comment for Moto: Do you really want to associate yourself with a company that treats their customers like this? I guess Birds of a feather flock together…and get shot together.
    Yours Truly,
    One very, very, VERY angry customer
    There, I helped you out so that a few people would at least read it. As it was, I doubt anyone would trudge through that WALL of text.

  • Fire fox opens with tabs from preveous session not home page in tools under options and tab general I have start up with home page but all tabs from previous session open instead

    fire fox opens with tabs from preveous session not home page in tools under options and tab general I have start up with home page but all tabs from previous session open instead

    It is possible that there is a problem with the files [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    Delete [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.
    Deleting sessionstore.js will cause App Tabs and Tab Groups to get lost, so you will have to create them again (make a note).
    See:
    * http://kb.mozillazine.org/Session_Restore

  • How do I sync my old iPhone 5 to a new laptop PC without losing any iPhone data? The "remove and sync?" option looks like it will leave me with zero data on the iPhone!

    how do I sync my iPhone 5 to a new Toshiba laptop PC without losing any iPhone data? The "remove and sync?" option looks like it will leave me with zero data on the iPhone!

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • How to count number of documents in a page with Tabs

    We have a page with Tabs and sub tabs for each Tab. There is no limit for the Tabs and Sub Tabs. I mean a Tab can have several child tabs and each child tab can have n number of Sub Tabs. We have documents laoded on Tab level and sub Tab level also.
    I want to display the count and size of the documents loaded on a page. That is If Page1 has 2 tabs and each tab has 2 sub tabs and on each sub tab there are 2 documents of 10 MB then I should be able to display like this.
    Page1 - number of documents: 8 , documents total size 80 MB.
    By linking documents table and apges table I am able to get the results by tab not by page.
    Any advice is appreciated.
    Thanks.
    Satya

    Hi Satya -
    It seems you should be able to get the information you are after in the "wwsbr_all_items" view. The folder_ID is the page ID. The content mangement views are documented here: http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1012/wwsbr_api_view.html%0A%0A#WWSBR_ALL_ITEMS
    Hope this helps,
    Candace

  • Issue with tabbed block in selection screen

    Hi All,
    I have created a report program with the following code.
    SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
    PARAMETERS: p1 TYPE c LENGTH 10.
    SELECTION-SCREEN END OF SCREEN 100.
    SELECTION-SCREEN BEGIN OF SCREEN 200 AS SUBSCREEN.
    PARAMETERS: q1 TYPE c LENGTH 10.
    SELECTION-SCREEN END OF SCREEN 200.
    SELECTION-SCREEN: BEGIN OF TABBED BLOCK mytab FOR 10 LINES,
                      TAB (20) button1 USER-COMMAND push1,
                      TAB (20) button2 USER-COMMAND push2,
                      END OF BLOCK mytab.
    INITIALIZATION.
      button1 = 'Selection Screen 1'.
      button2 = 'Selection Screen 2'.
      mytab-prog = sy-repid.
      mytab-dynnr = 0100.
      mytab-activetab = 'PUSH1'.
    AT SELECTION-SCREEN.
      CASE sy-dynnr.
        WHEN 1000.
          CASE sy-ucomm.
            WHEN 'PUSH1'.
              mytab-dynnr = 100.
            WHEN 'PUSH2'.
              mytab-dynnr = 200.
          ENDCASE.
      ENDCASE.
    Execute the program and click on the second tab-page. Now, click on the 'Execute' button or press F8 (there is no specific functionality coded here).
    The issue now is that the first tab-page is displayed, instead of the second tab remaining displayed. I require the navigation to remain within the second tab-page after the EXECUTE button is clicked.
    Could someone help me out with this issue?
    Regards,
    Dinup
    Edited by: Dinup Sudhakaran on Feb 18, 2008 1:40 PM

    Hi,
    Go through below document with example code.
    It will help you.
    Tabstrip Controls on Selection Screens
    As with screens, you can now use tabstrip controls on selection screens. To do this, you must define a tabstrip area and the associated tab pages, and assign a subscreen to the tab pages. You do not have to (indeed, cannot) declare the tabstrip control or program the screen flow logic in your ABAP program, since both are automatically generated.
    To define a tabstrip area with tab pages, use the following statements in your selection screen definition:
    SELECTION-SCREEN: BEGIN OF TABBED BLOCK <tab_area> FOR <n> LINES,
                      TAB (<len>) <tab1> USER-COMMAND <ucom1>
                                  [DEFAULT [PROGRAM <prog>] SCREEN <scrn>],
                      TAB (<len>) <tab2> USER-COMMAND <ucom2>
                                  [DEFAULT [PROGRAM <prog>] SCREEN <scrn>],
                      END OF BLOCK <tab_area>.
    This defines a tabstrip control <tab_area> with size <n>. The tab pages <tab1>, <tab2>… are assigned to the tab area. <len> defines the width of the tab title. You must assign a function code <ucom> area to each tab title. You can find out the function code from the field SY-UCOMM in the AT SELECTION-SCREEN event.
    For each tab title, the system automatically creates a character field in the ABAP program with the same name. Before the selection screen is displayed, you can assign a text to the field. This then appears as the title of the corresponding tab page on the selection screen.
    You must assign a subscreen to each tab title. This will be displayed in the tab area when the user chooses that title. You can assign one of the following as a subscreen:
    A subscreen screen defined using the Screen Painter.
    A selection screen subscreen, defined in an ABAP program.
    You can make the assignment either statically in the program or dynamically at runtime. If, at runtime, one of the tab titles has no subscreen assigned, a runtime error occurs.
    Static assignment
    Use the DEFAULT addition when you define the tab title. You can specify an ABAP program and one of its subscreens. If you do not specify a program, the system looks for the subscreen in the current program. When the user chooses the tab title, it is activated, and the subscreen is assigned to the tabstrip area. The static assignment is valid for the entire duration of the program, but can be overwritten dynamically before the selection screen is displayed.
    Dynamic assignment
    For each tab area, the system automatically creates a structure in the ABAP program with the same name. This structure has three components – PROG, DYNNR, and ACTIVETAB. When you assign the subscreens statically, the structure contains the name of the ABAP program containing the subscreen, the number of the subscreen, and the name of the tab title currently active on the selection screen (and to which these values are assigned). The default active tab page is the first page. You can assign values to the fields of the structure before the selection screen is displayed, and so set a subscreen dynamically.
    If you assign a normal subscreen screen to a tab title, the dialog modules containing its flow logic must be defined in the current ABAP program. If the subscreen is a selection screen, user actions will trigger the AT SELECTION-SCREEN event and its variants (see Selection Screen Processing). This includes when the user chooses a tab title. If one selection screen is included on another, AT SELECTION-SCREEN will be triggered at least twice – firstly for the "included" selection screen, then for the selection screen on which it appears.
    REPORT demo_sel_screen_with_tabstrip.
    DATA flag(1) TYPE c.
    SUBSCREEN 1
    SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    PARAMETERS: p1(10) TYPE c,
                p2(10) TYPE c,
                p3(10) TYPE c.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN END OF SCREEN 100.
    SUBSCREEN 2
    SELECTION-SCREEN BEGIN OF SCREEN 200 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
    PARAMETERS: q1(10) TYPE c OBLIGATORY,
                q2(10) TYPE c OBLIGATORY,
                q3(10) TYPE c OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN END OF SCREEN 200.
    STANDARD SELECTION SCREEN
    SELECTION-SCREEN: BEGIN OF TABBED BLOCK mytab FOR 10 LINES,
                      TAB (20) button1 USER-COMMAND push1,
                      TAB (20) button2 USER-COMMAND push2,
                      TAB (20) button3 USER-COMMAND push3
                                       DEFAULT SCREEN 300,
                      END OF BLOCK mytab.
    INITIALIZATION.
      button1 = text-010.
      button2 = text-020.
      button3 = text-030.
      mytab-prog = sy-repid.
      mytab-dynnr = 100.
      mytab-activetab = 'BUTTON1'.
    AT SELECTION-SCREEN.
      CASE sy-dynnr.
        WHEN 1000.
          CASE sy-ucomm.
            WHEN 'PUSH1'.
              mytab-dynnr = 100.
              mytab-activetab = 'BUTTON1'.
            WHEN 'PUSH2'.
              mytab-dynnr = 200.
              mytab-activetab = 'BUTTON2'.
          ENDCASE.
        WHEN 100.
          MESSAGE s888(sabapdocu) WITH text-040 sy-dynnr.
        WHEN 200.
          MESSAGE s888(sabapdocu) WITH text-040 sy-dynnr.
      ENDCASE.
    MODULE init_0100 OUTPUT.
      LOOP AT SCREEN.
        IF screen-group1 = 'MOD'.
          CASE flag.
            WHEN 'X'.
              screen-input = '1'.
            WHEN ' '.
              screen-input = '0'.
          ENDCASE.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDMODULE.
    MODULE user_command_0100 INPUT.
      MESSAGE s888(sabapdocu) WITH text-050 sy-dynnr.
      CASE sy-ucomm.
        WHEN 'TOGGLE'.
          IF flag = ' '.
            flag = 'X'.
          ELSEIF flag = 'X'.
            flag = ' '.
          ENDIF.
      ENDCASE.
    ENDMODULE.
    START-OF-SELECTION.
      WRITE: / 'P1:', p1,'Q1:', q1,
             / 'P2:', p2,'Q2:', q2,
             / 'P3:', p3,'Q3:', q3.
    This program defines two selection screens – 100 and 200, as subscreens, and places a tabstrip control area with three tab pages on the standard selection screen. A subscreen screen 300 (from the same program) is assigned statically to the third tab page.
    The layout of screen 300 is:
    The input/output fields P1 to Q3 are defined by using the parameters from the ABAP program The pushbutton has the function code TOGGLE.
    The screen flow logic for screen 300 is as follows:
    PROCESS BEFORE OUTPUT.
      MODULE init_0100.
    PROCESS AFTER INPUT.
      MODULE user_command_0100.
    Both dialog modules are defined in the ABAP program.
    When you run the program, the standard selection screen appears. In the INITIALIZATION event, the texts are defined on the tab titles, the subscreen selection screen 100 is assigned to the tab area, and the first tab title is activated.
    User actions on the selection screen are processed in the AT SELECTION-SCREEN event block. In particular, it is here that the subscreens are assigned and tab titles activated when the user chooses one of the first two tab titles. This is not necessary for the third tab title, since the dynamic assignment (screen 300) is always placed in the structure MYTAB when the user chooses it.
    Before the subscreen screen is displayed, the PBO module INIT_100 is executed. User actions on the subscreen screen trigger the PAI module. This includes when the user chooses a tab title. After that, the AT SELECTION-SCREEN event is triggered.
    Messages in the status line show where an action has been processed.

  • I currently use a iMac OS X 10.6.8 and I cannot open iPhoto. Every time I click on iPhoto the coloured wheel comes up and lets me go no further, leaving me with no other option but to force quit the application. HELP!!

    i currently use a iMac OS X 10.6.8 and I cannot open iPhoto. Every time I click on iPhoto the coloured wheel comes up and lets me go no further, leaving me with no other option but to force quit the application.
    it is showing all my existing photos but will not let me click on any of them, nor will it allow me to import any new photos into iPhoto.
    I am really worried that I cannot access all of my photos and even more worried as I need to back them up!!
    HELP!!

    Try repair the Library:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • Item Level Security not working with Tabs

    I've Portal 9.0.2.2.22
    This issue is with Item Level Security with Tabs. Here is what I've have:
    Page Group: MyPagegroup (Privs: portal => Manage All)
    Page: MyTestPage (Privs: portal => Manage All,
    testUser => View)
    There is a tab called MyTab on page MyTestPage which has two items (simple images) image1 and image2. The tab's access privs have been set NOT to inherit from the page. The public check box has not been checked for the tab. I've specifically assigned access privs to the tab.
    Now here are the two scenarios that I'm having problem with:
    1) MyTab (portal => Manage All, testUser => view)
    image1 (ILS enabled: portal => Manage All)
    image2 (ILS enabled: portal => Manage All,
    testUser => View)
    When logged in as "testUser", I still see both the images on MyTab although image2 doesn't have view priv to testUser. My expected result is to see just image2 on the tab.
    2) MyTab (portal => Manage All)
    image1 (ILS enabled: portal => Manage All,
    testUser => View)
    image2 (ILS enabled: portal => Manage All)
    When logged in as "testUser", I still see NO images on MyTab although image1 has view privs to testUser. I would expect to see image1 on the tab.
    Question: In both the above cases, the tab privs seem to be dictating what the user sees regardless of what the item level privs are set to. Is this normal behavior or a bug? If a bug, is there a patch? Is there any way so that even after setting the tab privs, I still have finer control of what the user can access through item level privs?
    If I don't put the items under a tab, then things work as expected.
    thanks
    Lalit Agarwal
    Vienna, VA
    703-521-5200 x3610

    This is a known problem with the 9.0.2 release - fixed in 9.0.2.6.
    Regards,
    Jerry
    PortalPM

  • Report on Leave request (with HTML ) using ITS version

    we are using ITS version of ESS and MSS version EP 6.0 and SAP R/3 5.0.
    Our client wants a report on Leave Request(with HTML). the worflow used is WS20000081. my question is there any standard report to check the Leave Request which are approved or rejected. In SAP there is one standard report
    RPTARQDBVIEW where in when we execute no output exists.
    Please help me whether is there any report to view the leave requests.
    Regards
    Santosh Ghanwar

    Dear Claude;
    Thanks for your kind assistance... I was out for sometime & got up in some other urgent tasks...
    Sorry for delay...
    I had created the loop Payroll? with following conditions
    &Employee.ControlRecordState&     =          1     or
    &Employee.ControlRecordState&     =           2     or
    &Employee.ControlRecordState&   =          3     or
    &Employee.ControlRecordDate&     <           %Current Date%         
    but result is always "True"
    Please help me out...
    Best Regards,

  • Web Templates with Tabs

    Hi, We have quite a few reports we have developed for users that have around 5 or 6 tabs.  When we adding or remove any functionality we have to maintain each of these reports.   Does anyone else have/had this issue and what is a good strategy to move away from Web Templates with tabs?
    Thanks!

    to my knowldge, we don't have any option... we need to maintain every time.
    I can think how complex it is...if you have 5 or 6 tabs... it 's very complex. Going forward... for small change.. like adding new tab etc... you need to be very careful.
    On every call... try to reset to initial every time you call a tab... then try to pass values as per the requirement. ex: Title, Filters, settings, table etc.
    Initial view we will disble every thing... we will one by one... with multiple commands...
    Nagesh Ganisetti.

  • Pasting in Numbers cell with tabs and returns

    I am converting my old Appleworks SS files to Numbers and it works fine when I just open the .cwk file with Numbers.  But when I try to paste in to a cell text with tabs and returns, unlike AW, it puts as much of the text as will fit in one cell, truncating the remainder.
    Is there some way to change Numbers preferences (or any other technique) to push text separated with tabs to the next cell right and for returns to push to the next row?

    I just figured out what I did wrong.  The text I was pasting in was enclosed in quote marks.  Once I removed those, it pasted in perfectly, just like AW.

Maybe you are looking for