How to catching Clear-Sort button event?

Does any one know how to catch the event when user click the Clear-ALL-Sort button? I would like to do somthing in Java by catching this event.
thanks in advance.
John

I'm not really sure what you mean.
LIke, I want to use the three event listener functions like a global or static function for all of the buttons which I think I've done for the most part.
However, I'm having an issue with the current state of the button. Like...
1 - on
2 - off
3 - off
4 - off
1 - off
2 - on
3 - off
4 - off
1 - off
2 - off
3 - on
4 - off
1 - off
2 - off
3 - off
4 - on
Really redundant right? So I want to beable to pass something through the event listener functions somehow so I only have to right the listener section once instead of 4 times.
Know what I mean? If I was in an external document class structure I could just re-create my own event listener class to pass aonther property/parameter. But I don't know what I can do within AS3 internally in the Flash movie to do this.
Just seems likes there should be a relatively simple way to do this, but I'm not sure how many errors I'd have to wade through or if it's even possible.

Similar Messages

  • ALV .  How to remove the sort buttons on toolbar in ALV report?

    Hi,experts
      As you know, in default case , the alv report will display two sort buttons(ascending ,descending) on its toolbar , So How to remove the sort buttons on toolbar in ALV report?
      Thanks for your help .

    Hi guixin,
    1. Before calling REUSE_ALV_LIST_DISPLAY
    2. Write this code :
    data : excl type SLIS_T_EXTAB.
    data : exclwa type SLIS_EXTAB.
    exclwa = '&OUP'.
    append exclwa to excl.
    exclwa = '&ODN'.
    append exclwa to excl.
    3. Then while calling the FM,
       pass this parameter also .
    IT_EXCLUDING     = excl
    It will work fantastic.
    regards,
    amit m.

  • How to Delete and reset button Events

    according to the idea . i am working on ...at one point i
    will need to delete an event ... but further down in the script i
    am going to need this event once more how can .i get back an event
    after deleting it please look at my eg.

    //
    //kingston buttons
    mcKing.onRollOver = function():Void {
    this.gotoAndPlay(2);
    mcKing.onRollOut = function():Void {
    mcKing.onRelease = function():Void {
    delete this.onRollOut;
    this.onRollOut;
    loadMovieNum("kings_shell.swf", 2);
    clearInterval(_level2.mcYellowLoader.nInterval);
    //mcKing.gotoAndStop(1);
    mcKing.onRollOut;
    mcCath.gotoAndStop(1);
    mcCath.onRollOut;
    mcClaren.gotoAndStop(1);
    mcClaren.onRollOut;
    mcManc.gotoAndStop(1);
    mcManc.onRollOut;
    mcEliz.gotoAndStop(1);
    mcEliz.onRollOut;
    mcWest.gotoAndStop(1);
    mcWest.onRollOut;
    mcHano.gotoAndStop(1);
    mcHano.onRollOut;
    mcJames.gotoAndStop(1);
    mcJames.onRollOut;
    mcTrel.gotoAndStop(1);
    mcTrel.onRollOut;
    mcAnn.gotoAndStop(1);
    mcAnn.onRollOut;
    mcMary.gotoAndStop(1);
    mcMary.onRollOut;
    mcThom.gotoAndStop(1);
    mcThom.onRollOut;
    mcPort.gotoAndStop(1);
    mcPort.onRollOut;
    //st. catherine button
    mcCath.onRollOver = function():Void {
    this.gotoAndPlay(2);
    mcCath.onRollOut = function():Void {
    this.gotoAndPlay(1);
    mcCath.onRelease = function():Void {
    delete this.onRollOut;
    loadMovieNum("stcath_shell.swf", 2);
    clearInterval(_level2.mcYellowLoader.nInterval);
    //Clarendon buttons
    mcClaren.onRollOver = function():Void {
    this.gotoAndPlay(2);
    mcClaren.onRollOut = function():Void {
    this.gotoAndPlay(1);
    mcClaren.onRelease = function():Void {
    delete this.onRollOut;
    loadMovieNum("clarendon_shell.swf", 2);
    clearInterval(_level2.mcYellowLoader.nInterval);
    // manchester button
    mcManc.onRollOver = function():Void {
    this.gotoAndPlay(2);
    mcManc.onRollOut = function():Void {
    this.gotoAndPlay(1);
    mcManc.onRelease = function():Void {
    delete this.onRollOut;
    loadMovieNum("manc_shell.swf", 2);
    clearInterval(_level2.mcYellowLoader.nInterval);
    // st.Elizibeth buttons
    mcEliz.onRollOver = function():Void {
    this.gotoAndPlay(2);
    mcEliz.onRollOut = function():Void {
    this.gotoAndPlay(1);
    mcEliz.onRelease = function():Void {
    delete this.onRollOut;
    loadMovieNum("steliz_shell.swf", 2);
    clearInterval(_level2.mcYellowLoader.nInterval);
    // westmoreland button
    mcWest.onRollOver = function():Void {
    this.gotoAndPlay(2);
    mcWest.onRollOut = function():Void {
    this.gotoAndPlay(1);
    mcWest.onRelease = function():Void {
    delete this.onRollOut;
    loadMovieNum("west_shell.swf", 2);
    clearInterval(_level2.mcYellowLoader.nInterval);
    // hanova buttons
    mcHano.onRollOver = function():Void {
    this.gotoAndPlay(2);
    mcHano.onRollOut = function():Void {
    this.gotoAndPlay(1);
    mcHano.onRelease = function():Void {
    delete this.onRollOut;
    loadMovieNum("hano_shell.swf", 2);
    clearInterval(_level2.mcYellowLoader.nInterval);
    //st. James buttons
    mcJames.onRollOver = function():Void {
    this.gotoAndPlay(2);
    mcJames.onRollOut = function():Void {
    this.gotoAndPlay(1);
    mcJames.onRelease = function():Void {
    delete this.onRollOut;
    loadMovieNum("stjames_shell.swf", 2);
    clearInterval(_level2.mcYellowLoader.nInterval);
    // Trelawny buttons
    mcTrel.onRollOver = function():Void {
    this.gotoAndPlay(2);
    mcTrel.onRollOut = function():Void {
    this.gotoAndPlay(1);
    mcTrel.onRelease = function():Void {
    delete this.onRollOut;
    loadMovieNum("trelaw_shell.swf", 2);
    clearInterval(_level2.mcYellowLoader.nInterval);
    // st. Anns button
    mcAnn.onRollOver = function():Void {
    this.gotoAndPlay(2);
    mcAnn.onRollOut = function():Void {
    this.gotoAndPlay(1);
    mcAnn.onRelease = function():Void {
    delete this.onRollOut;
    loadMovieNum("stann_shell.swf", 2);
    clearInterval(_level2.mcYellowLoader.nInterval);
    //st mary button
    mcMary.onRollOver = function():Void {
    this.gotoAndPlay(2);
    mcMary.onRollOut = function():Void {
    this.gotoAndPlay(1);
    mcMary.onRelease = function():Void {
    delete this.onRollOut;
    loadMovieNum("stmary_shell.swf", 2);
    clearInterval(_level2.mcYellowLoader.nInterval);
    // st. thomas button
    mcThom.onRollOver = function():Void {
    this.gotoAndPlay(2);
    mcThom.onRollOut = function():Void {
    this.gotoAndPlay(1);
    mcThom.onRelease = function():Void {
    delete this.onRollOut;
    loadMovieNum("stthom_shell.swf", 2);
    clearInterval(_level2.mcYellowLoader.nInterval);
    // portland buttons
    mcPort.onRollOver = function():Void {
    this.gotoAndPlay(2);
    mcPort.onRollOut = function():Void {
    this.gotoAndPlay(1);
    mcPort.onRelease = function():Void {
    delete this.onRollOut;
    loadMovieNum("portland_shell.swf", 2);
    clearInterval(_level2.mcYellowLoader.nInterval);

  • How to Catch External device's Event

    hi frndz
    i connected Dental Web Camera in my PC.i want to capture his click event.can i capture its click event.
    or any other way to catch its generated event.
    actually i want to store picture(Taken from Camera) into database.
    can u help me to solve this problem or can u provide me any solution
    thanks in advance
    Edited by: ajju29 on Mar 20, 2009 2:40 AM

    IMO:
    If Your camera don't ofer any SDK, you should check OS API and next search how catch events in your OS.
    if you develop for windows, check msdn.microsoft.com
    this links i find in google, maybe can help you"
    http://www.velocityreviews.com/forums/t130113-swing-how-to-catch-all-events.html
    http://www.experts-exchange.com/Programming/Languages/Java/J2SE/Q_23643749.html *(you must pay)
    http://www.javareference.com/jrexamples/viewexample.jsp?id=9
    http://www.microdoc.com/download/EDFoop2000_EN.pdf
    and more,
    ask google.
    Edited by: Skowroniasty on Mar 20, 2009 10:52 AM

  • How to catch cell lost focuse event of matrix

    Dear all
    can you tell me how to catch the cell lost fouc event of matrix.
    i want to check the value is entered the that cell, which is not greter than the extising value..
    thanks in advance......

    Hi
    For that you can use either validate or lost focus event
    Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
            ' BubbleEvent sets the behavior of SAP Business One.
            ' False means that the application will not continue processing this event.
            ' Validate event
            If (pVal.FormType = 133) And (pVal.ItemUID = 38) And (pVal.ColUID = 1) And _
              (pVal.EventType = SAPbouiCOM.BoEventTypes.et_VALIDATE) Then
                If (pVal.Before_Action) Then
                    'write your code
                End If
            End If
            'Lost focus event
            If (pVal.FormType = 133) And (pVal.ItemUID = 38) And (pVal.ColUID = 1) And _
             (pVal.EventType = SAPbouiCOM.BoEventTypes.et_LOST_FOCUS) Then
                If (pVal.Before_Action) Then
                    'write your code
                End If
            End If
        End Sub
    Hope this helps
    Regards
    Arun

  • How to catch Find and add event of toolbar in UDO addon ?

    Hi experts ,
        please help me anyone How can i catch Find and add event of SAP  toolbar in my UDO addon ?
    thanks in advance
    Surajit

    Hi,
    Try This.....
    'In Menu Event
    If pVal.MenuUID = "1281" And pVal.BeforeAction = True Then   'Find
                      sbo_application.Messagebox("Find Mode")
    end if
    If pVal.MenuUID = "1282" And pVal.BeforeAction = True Then     'Add
                      sbo_application.Messagebox("Add Mode")
    end if
    Thanks
    Shafi

  • How to remove a Sort button from ALV List

    Hi Experts,
    How to remove sort button from ALV List.
    I have requirement where I need to remove the sort button from ALV list.
    Kindly give me useful clues.
    Higher points will be awarded for the useful inputs.
    Thanks in Advance,
    Dharani

    Hi dharani,
    1. UP and Down Sort Button will get removed.
    2. Important code is marked in bold
    3. Just copy paste.
    4.
    report abc.
    TYPE-POOLS : slis.
    DATA : alvfc TYPE slis_t_fieldcat_alv.
    DATA : alvfcwa TYPE slis_fieldcat_alv.
    <b>data : excl type SLIS_T_EXTAB.
    data : exclwa type SLIS_EXTAB.</b>
    data : begin of itab occurs 0.
            include structure usr02.
    data : end of itab.
    START-OF-SELECTION.
      select * from usr02
      into table itab.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = sy-repid
          i_internal_tabname     = 'ITAB'
          i_inclname             = sy-repid
        CHANGING
          ct_fieldcat            = alvfc
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
    <b>*----
    IMPORTANT
    fcodes to remove
    Up and Down Sort Button
    exclwa-fcode = '&OUP'.
    append exclwa to excl.
    exclwa-fcode = '&ODN'.
    append exclwa to excl.</b>
    Display
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          it_fieldcat   = alvfc
          <b>IT_EXCLUDING     = excl</b>
        TABLES
          t_outtab      = itab
        EXCEPTIONS
          program_error = 1
          OTHERS        = 2.
    regards,
    amit m.

  • How to catch global transaction timeout event

    Hi all,
    I need to find a way to catch global transaction timeout events. By default, there are only two transaction related events can be caught:
    .SysTransactionHeuristicAbort
    .SysTransactionHeuristicCommit
    Is there a way to add transaction timeout to the list. Thanks in advance.

    Note: This thread was originally posted in the [Java Programming|http://forums.sun.com/forum.jspa?forumID=31] forum, but moved to this forum for closer topic alignment.

  • How to catch IE7 tab change event in Java Applet?

    My applet have some modeless dialogs, When I start my applet with modeless dialog in tab1, if I swith to tab2, the modeless dialog of tab1 remains open.
    So I want to catch the tab change event, and set modeless dialog invisible when tab changes.
    Who knows the solutions.... Thanks

    To get to the IE7 browser, you'll have to go through JNI if you're using Java to get to a C level interface. You'll have to write the code to interface to it also. IE7 does not have a Java interface, inface, MS has a vested interest in not supporting a Java interface. You'll have to look up the IE7 developers docs to see the OLE interface you'll have to hit.

  • How to catch a key down event in TextEdit UI element ?

    Is it possible for me to catch 'Enter' and 'Esc' key when I input something ?
    Best regads ,

    hi, Shishir ,
    I see the on key event in input field , yes , the TextEdit does not has any event . But how can I meet such requirement ?
    When the user click enter on TextEdit , I should do something , When the user click escape , I should do something ?
    Best regards ,

  • How to capture the PrintScreen button event in keyboard

    Hi
    The JPanel consists of all components , and finally the panel is added to the JFrame.The problem is to avoid the user by capturing the page through "PrintScreen" button in the keyboard.
    Thank u .

    Hi,
    I believe that you must use JNI to access .dll to do that... you can not use any keyListeners for that!!!
    JRG

  • How to catch "Move" and "Copy" Events

    I want certain functions to be called whenever a user moves an existing PageItem on a Page, or when he copied a PageItem onto a Page.
    Which event should I be listening for, and to which object should the listener be attached?
    TIA,
    mlavie

    Harbs - you there?
    I can;t find any help for this elsewhere on the web - would really apprciate a response.
    mlavie

  • How to catch a mapping failure event

    Hi All,
    Is there a way to catch  a mapping fauilure and take an appropriate action like sending a fault message to the sender system?
    Does the fault message feature serve the same purpose? Will a fault message be always triggered if there's a mapping failure?
    Thanks,
    Sandeep

    Hi Santhosh,
    Thank you so much for your answer. I've assigned you points as well
    Is it possible to write some custom code for managing this alert? An example:
    When a mapping failure occurs, I would like to make a web service call to the sender system.
    Ay thoughts?
    Thanks,
    Sandeep

  • How to catch the ApplicationStart event??

    how to catch the application start event??
    i want to do some actions (Java code) that will be run once when the application started
    this like ApplicationStart event in ASP.NET
    how ???

    Google for javax.servlet.ServletContextListener. You need to write a class that implements this interface and register it in web.xml.
    Please ask questions like this in the JDeveloper or OC4J forum since they are not related to JHeadstart.
    Steven Davelaar,
    JHeadstart Team.

  • Handling button events for dialog boxes of a used component

    Hello,
    After I call a dialog box/window for the view of the used component, how can I handle the button events of the window that I called?
    I create the window using the method CREATE_WINDOW_FOR_CMP_USAGE of the interface IF_WD_WINDOW_MANAGER. This method returns window reference of type IF_WD_WINDOW.
    Thanks & Regards,
    Reena

    It's very easy.
    Have a look to the document: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9e242bf5-0901-0010-c99c-83c180163c73
    You will find the SUBSCRIBE_TO_BUTTON_EVENT on page 6.
    Sergio

Maybe you are looking for