Event triggering problem

Hi Coders,
I am building a gui application which drags and drops custom
objects.
Initially i am dragging an object and dropping to a canvas.
Then i am dragging the object and moving it to a different
position.
The problem is, when i drag the object which i already have
put in the canvas, the drag_drop function associated
with the canvas is triggered instead of the drag_drop
function i have added to the object.
Can anyone help me on this?

can you post some code to exemplify?
-c.

Similar Messages

  • Simple Event Triggering Problem

    Hi,
          I'm having trouble with envent triggering. I have a few boolean controls on a front panel...yet they seem to not always repsond. Controls seem locked. I've attached a simlified version of the code. Stop control seems to be most responsive.. not sure why. Others are locked out (unless I click them very soon after the VI is run)
         I guess prehaps I'm missing someting fundamental!
         DS
    Attachments:
    mainmenu_VE_v2.vi ‏34 KB

    Try your original version, but click at the edges of the buttons, away from the text labels and it works fine.
    You have text labels covering most of the buttons.  Clicking on this text label does not get throuigh to the button....
    Get rid of the text labels and use the "Boolean Text" instead.  Right-click on a button and choose Visible Items-->Boolean Text.  This is text built-in to the button which will NOT obstruct your clicking.
    Shane.
    Say hello to my little friend.
    RFC 2323 FHE-Compliant

  • How to disable the "turn page" event triggered by the scroll/swipe function?

    The problem is as follows.
    The default behaviour of Acrobat Reader (both stand alone and browser plug-in) is to allow scrolling/swiping with the mouse wheel/trackpad. This is useful when the pdf's page length is greater than the screen's own length, because you can read the pdf with no need to distract your attention from the text to the scrollbar button. However, the same scroll/swipe function turns into a usability problem when the pdf is embedded in a html page and the pdf's page length is smaller than the browser's length. In this case, the scroll/swipe turns the page, distracting your attention from the text to the unintended behaviour of the browser. What happens is that you are so used to scrolling/swiping that you did it unintentionally in the pdf's caption area. You really did not want to turn pages in the pdf. Furthermore, if the pdf takes the whole html page, being a website, the scroll/swipe function flips the website pages in ways that neither the reader nor the writer had ever intended. Hence the question. How to disable, in this case, the "turn page" event triggered by the scroll/swipe function? A JavaScript should do, but the SDK documents did not help so far...
    Message was edited by: 41457173
    Message was edited by: 41457173

    ... or release a patch for the API,
    ... or suggest an alternative route to achieve the intended result.

  • Strange ZEN logout event triggering

    Strange ZEN logout event triggering
    Hi!
    ZCM 10.3.2, Windows XP/7, Novell Client installed, have a bundle associated to device and should be triggered at ZENworks logout. This all seems to work ok, in ordinary way. But, when user auth is ok with Novell Client (against eDir), but is not attached with DLU via ZEN and appear Windows Workstation login screen and user cancel this dialog and return to Novell Client login screen, then before mentioned bundle is triggered, in some unknown for me reason. Because there is no ZEN login, not speaking about logout. I have similar bundle set to trigger at user login ... it does not run same way. Also, don't see same behavior when bundle is set to run at user logout.
    Any ideas?
    Btw. this kind of cancelling login is seems to related to getting a'lot of Bundle.ItemCreationError's described in http://forums.novell.com/novell-prod...ionerrors.html.
    More thanks, Alar.

    Originally Posted by NovAlf
    Strange ZEN logout event triggering
    Hi!
    ZCM 10.3.2, Windows XP/7, Novell Client installed, have a bundle associated to device and should be triggered at ZENworks logout. This all seems to work ok, in ordinary way. But, when user auth is ok with Novell Client (against eDir), but is not attached with DLU via ZEN and appear Windows Workstation login screen and user cancel this dialog and return to Novell Client login screen, then before mentioned bundle is triggered, in some unknown for me reason. Because there is no ZEN login, not speaking about logout. I have similar bundle set to trigger at user login ... it does not run same way. Also, don't see same behavior when bundle is set to run at user logout.
    Any ideas?
    Btw. this kind of cancelling login is seems to related to getting a'lot of Bundle.ItemCreationError's described in http://forums.novell.com/novell-prod...ionerrors.html.
    More thanks, Alar.
    Hi Alar,
    Do you have any update on you problem because I have the same issue and I am wondering if you found any way to bypass it??
    I found another thread but no solution:
    http://forums.novell.com/novell/nove...ter-login.html
    Thank you in advance for your answer,
    OAKFND
    PS: Zen version is 11.1

  • Event triggers from HANA to sharepoint

    Hi All,
    Is it possible to create a trigger in HANA that on creation of a new row in a particular table, creates an event that goes to a sharepoint portal  and triggers a mail and a push notification to MS BI mobile users?
    Please let me know how that would work.
    Thanks,
    Shyam

    Hi,
    I have the same req, we did like below the problem is resolved.
    1. Craete Event in SM62 in BW , Event name = ECCTOBW.
    2. Assign that Event in BW and give Parameter name = ECCTOBW_P. (Param is directly give in BW)
    (In Case of dataloads, create Process chain and give thios Event and Parameter in Start-->Event) and Activate and Exexute the Processc Chain.
    3. Then Run the below program in ECC then check your processc hain, it will trigger.
    This is the way how to use the Events triggers in different system.
    REPORT  ytestrd1tobd1.
    CALL FUNCTION 'RSSM_EVENT_RAISE'
      DESTINATION 'BWCLNT' ------------> Here give your BW system ID
      EXPORTING
        i_eventid              = 'ECCTOBW'
        i_eventparm            = 'ECCTOBW_P1'
      EXCEPTIONS
        bad_eventid            = 1
        eventid_does_not_exist = 2
        eventid_missing        = 3
        raise_failed           = 4
        OTHERS                 = 5.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Thanks
    Reddy

  • Data Change event triggering Process hangs in Process chain

    HI Folks,
    In a daily running Process chain we have a Data Change event triggering Process , to trigger broadcasting  settings
    This process is running for a long time , with no progress
    in SM50 , there are 2 process
    Process 1 : RSRD_BROADCAST_STARTER  Status : OnHold Reason : SLEEP
    Process 2 : SAPLRSRD_X_RUNTIME  Status : OnHold  Reason : RFC
    I tried to change the Parallel Processing setting as Number of Processes = 1
    But still the process is hanging.
    Any inputs will be a great help.
    Thanks
    Sonal......
    P.S : SAP_BW     700     0022     SAPKW70022     SAP NetWeaver BI 7.0 and EP 6.0
    Edited by: Sonal Patel on Feb 2, 2010 1:47 PM

    Hi sonal,
    I would suggest you to uninstall all the components and start all new again, n please make sure you have the following order :-
    1) install GUI 710 along with BEx 7.0 and 3.x complete.
    2) install BW AddOn (bw350gui710_8-10004473.exe latest one from Service market Place).
    3) Install BI AddOn (bi710sp11_1100-10004472.exe latest one from Service market Place).
    4) Install SAP precalc server (xPreCalServer10_1-10004472.exe, latest one from Service market Place).
    In service market place you can get the components from Downloads ->Support Packages and Patches -> Entry by Application Group -> "SAP Frontend Components"
    Also, plz make sure that you restart your Server OS after each and every installation.
    This would solve your problem.
    Rgds,
    Sreekul Nair

  • Event triggering by abap class & ISR

    hi gurus
    1 ) can i able to see the event triggering by abap class in SWEL ?  ,
    2) in custom  ISR scenario , new form scenario has been created by our functional consultant , and asking me to trigger a workflow for approval ,  when employee fills that particular ISR FORM , workflow should start and to go his HR administrator , when HR administrator double click on workitem he should get the ISR form in display mode  & also with some descpition text  is to be added in the screen (like user decision description ) with approval button ..... my question is how to trigger a event from in form scenario ? , how to bring the FORM screen to display mode  to the HR administrator ?
    regards
    surya

    Hi Surya
    The BO for ISR forms is BUS7051 - Notification. Turn on the trace via SWELS and create a PCR/ISR form and you should see the events being triggered in SWEL.
    Good Luck
    Ravi

  • Event triggered for checkbox in cl_gui_alv_grid

    Hi All ,
    I have a requirement like ,i give PO number on selection-screen.After execution, the items should be displayed on second screen ,which has some options on the top like before GR or after GR .(custom screen designed with cl_gui_alv_grid for display)
    I desgined checkboxes for each row of the line item.user can click on multiple rows and click on EXECUTE button on the screen.After that smartform should trigger and print .
    Now my query is how to capture the checkboxes which the user has entered (thru cl_gui_alv_grid) . Is there any event that gets triggered upon clicking the checkboxes?? I need the data of the corresponding row to process further .User can click on multiple items.
    Please respond
    Thanks

    Hi Hemanth
    You should have a field in your internal table matching the checkbox column in ALV.
    Call method CHECK_CHANGED_DATA of CL_GUI_ALV_GRID on user command for execute button,
    it will set the field  = 'X' for ticked lines in your internal table.
    Then use a loop on your internal table and find selected lines.
    You don't need an event triggered when user clicks.
    Edited by: Bulent Balci on Aug 3, 2010 4:42 PM

  • Bug in scrollbar event triggering?

    In LabVIEW 8.6, I am trying to fire an event when I finish moving the scrollbar of an array indicator.  I use the "mouse up" event to avoid having the event structure fire constantly the entire time I am moving the scrollbar.  However, there seems to be a bug (?) in the event detection.  It works fine as long as I have the mouse on top of the scrollbar when I release it.  However, Win XP allows you to continue to move the scrollbar even if the mouse is off to the left or right of the bar (when you click on the scrollbar it "locks" the focus onto it).  However, LabVIEW does not seem to realize this and if I have the mouse slightly off to the right of the scrollbar when I release, the event doesnt fire. LV seems to base the event off of whether the mouse is on top of the pixels of the indicator rather than whether I still have control of the scrollbar.

    Technically it is not a bug.  There is no event triggered because when you do the Mouse Up, you are no longer on the scrollbar.  Unfortunately, the behavior in Windows that allows you to continue to move the scrollbar even when you aren't on it is conflicting with the desire to detect when you let go of the scroll bar.
    There was a recent thread discussingthis very issue and a way to get the behavior you are looking for.
    Re: Handle mouse up on numeric slider control - even when mouse leaves control

  • How to realize the other three events triggered by a sequence of events occurs?

    How to realize the other three events triggered by a sequence of events that occurs between Labview, and the time interval between three events for the 50ms?
    1110340053

    Are you another student who feels the need to post their "student ID" number as a part of the message?  There is really no need to do that, it is meaningless to us.
    You should ask your instructor to answer your questions rather than allowing them to turn the whole class of students loose on the forums usually asking the same identical question.
    At least in your case, the question is different from most we've seen.  Unfortunately, you haven't asked a clear enough question for us to understand what you are talking about.
    What "events" are you talking about?  Post a VI that demonstrates the code that you have written so far.

  • Event Triggers not getting executed

    I'm having following code in beforeData(PLSQL) event trigger:
    ADCPackageName.MethodName
    There is no such package in database, even my report works fine and publish data without any error.
    Is there any configuration for enabling event triggers.
    I didn't sufficient documents on event triggers. I want to use them for returning some values to report variables and validating input parameters.

    Hi,
    I tried to use "SAP_WAPI_CREATE_EVENT" also but it is also behaving in the same manner.
    At first execution event is getting triggered but my workitem is not getting terminated.
    But when i am executing the same report second time, again my event is getting triggered, and this time my workitem got terminated, and workflow proceeded furthur.
    I checked it from SWEL, i have two entries for my event (i.e; first and second execution of report).
    Any idea why it is behaving like this.
    Please find below code for reference, apart from below code i have only declarations.
    call function 'SWC_ELEMENT_SET'
      EXPORTING
        element       = 'ActualState'
        field         = 'A'
      TABLES
        container     = it_cont
      EXCEPTIONS
        type_conflict = 1
        others        = 2.
    CALL FUNCTION 'SWE_EVENT_CREATE'
      EXPORTING
        OBJTYPE                       = 'WORKINGWI'
        OBJKEY                        = '000000003061'
        EVENT                         = 'Approve'
    IMPORTING
       EVENT_ID                      = it_event_id
      RECEIVER_COUNT                =
    TABLES
       EVENT_CONTAINER               = it_cont
    EXCEPTIONS
       OBJTYPE_NOT_FOUND             = 1
       OTHERS                        = 2
    COMMIT WORK.
    Regards,
    Amar

  • What is Event queue problem?

    HI,
    I have come across JSF document, they mentioned that Event queue
    Problem ins SUN's JSF implementation. what is that?

    You're going to have to be a little more specific.

  • GUI event handling problems appear in 1.4.1 vs. 1.3.1?

    Hi,
    Has anyone else experienced strange event handling problems when migrating from 1.3.1 to 1.4.1? My GUI applications that make use of Swing's AbstractTableModel suddenly don't track mouse and selection events quickly anymore. Formerly zippy tables are now very unresponsive to user interactions.
    I've run the code through JProbe under both 1.3 and 1.4 and see no differences in the profiles, yet the 1.4.1 version is virtually unusable. I had hoped that JProbe would show me that some low-level event-handling related or drawing method was getting wailed on in 1.4, but that was not the case.
    My only guess is that the existing installation of 1.3.1 is interfering with the 1.4.1 installation is some way. Any thoughts on that before I trash the 1.3.1 installation (which I'm slightly reluctant to do)?
    My platform is Windows XP Pro on a 2GHz P4 with 1GB RAM.
    Here's my test case:
    import javax.swing.table.AbstractTableModel;
    import javax.swing.*;
    import java.awt.*;
    public class VerySimpleTableModel extends AbstractTableModel
    private int d_rows = 0;
    private int d_cols = 0;
    private String[][] d_data = null;
    public VerySimpleTableModel(int rows,int cols)
    System.err.println("Creating table of size [" + rows + "," + cols +
    d_rows = rows;
    d_cols = cols;
    d_data = new String[d_rows][d_cols];
    int r = 0;
    while (r < d_rows){
    int c = 0;
    while (c < d_cols){
    d_data[r][c] = new String("[" + r + "," + c + "]");
    c++;
    r++;
    System.err.println("Done.");
    public int getRowCount()
    return d_rows;
    public int getColumnCount()
    return d_cols;
    public Object getValueAt(int rowIndex, int columnIndex)
    return d_data[rowIndex][columnIndex];
    public static void main(String[] args)
    System.err.println( "1.4..." );
    JFrame window = new JFrame();
    window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    JPanel panel = new JPanel();
    Dimension size = new Dimension(500,500);
    panel.setMinimumSize(size);
    panel.setMaximumSize(size);
    JTable table = new JTable(new VerySimpleTableModel(40,5));
    panel.add(table);
    window.getContentPane().add(panel);
    window.setSize(new Dimension(600,800));
    window.validate();
    window.setVisible(true);
    Thanks in advance!!
    - Dean

    Hi,
    I've fixed the problem by upgrading to 1.4.1_02. I was on 1.4.1_01.
    I did further narrow down the symptoms more. It seemed the further the distance from the previous mouse click, the longer it would take for the table row to highlight. So, clicking on row 1, then 2, was much faster than clicking on row 1, then row 40.
    If no one else has seen this problem -- good! I wouldn't wish the tremendous waste of time I've had on anyone!
    - Dean

  • Squence of events triggered in reports

    Hi all,
               Please specify squence of events trigger. When top-of-page event triggers? When end of selection event triggers
    venkraa

    When u start the Report:
    LOAD-OF-PROGRAM
    INITIALIZATION
    Before displayins Selection Screen:
    AT SELECTION-SCREEN OUTPUT.
    Before leaving Selection Screen:
    AT SELECTION-SCREEN.
    After processing Selection Screen when the List starts:
    START-OF-SELECTION.
    Before displaying the List .. After completing START-OF-SELECTION.
    END-OF-SELECTION.
    For Every page:
    TOP-OF-PAGE .
    END-OF-PAGE.
    For more details check this link -
    Events in Report
    the top of page can put any where in the program..
    end of selection is after selecting data means the population of data is done in the start-of-selection and no data is selected in the end of selection if you write select after the end of selection ...is of no use..
    regards,
    venkat
    regards,
    venkat .

  • Event Triggered process chain

    Hi Experts,
    We have a meta chain which contains two local chain in sequance and consuming 10 hours to complete
    Process Chain 1
    Process Chain 2
    We have used the events to trigger process chain 2 only when it meet certain condition and modified the meta chain as
    Process Chain 1
    Abap Prg to trigger Process chain 2
    But now the meta chain just consume 4 hours to complete even though process chain 2 is on progres.
    This is giving wrong update to the users as the load is completed.
    Is it possible to retain the status of the meta chain as in progress untill the process chain 2 triggered by event gets complets.
    Regards
    Suresh Kumar

    Hi Suresh,
    when you are using event as a process in the metachain, it checks if the event ran succesfullly or not.
    once the event is succesfull(event -  triggering of the process chain but not completion), the step turns green.
    so follow below procedure.
    1)in the abap program, instead of triggering the process chain,write a program which raises an exceptio if the condition you required is satisfied so that the step becomes red.
    use the proicess chain as next step in the process chain and conect this program to processchain step with th condition failure.
    Hope this helps,
    Srinath.

Maybe you are looking for