How to Assign an event to a button in PCUI

Hi everybody,
How to Assign an event to a button in PCUI ?
Thanks & Regards
Hassan

Hello Hassan,
The button for which you are tying to assign is a part of Toolbar group, then in CRMC_BLUEPRINT_C there under Application element expand the node TOOLBAR GROUP, there select you toolbar group & on the left panel  you have ASSIGN EVENTS
there you can assign the event.  Provided event should be defined before.
Hope this helps.
Thanks & Regards,
Bhavya

Similar Messages

  • How to Capture the event when minimized button is clicked of a JFrame?

    Hi All,
    In my SWING application, I want to do something when the minimized button is clicked. But not able to understand how to do that.
    My basic requirement is like that, if I minimize the JFrame, it should be minimized to system tray with an icon. Again when the icon is clicked, the frame should be maximized in the Windows.
    Also, how to make my JFrame visible/invisible. If I close it, then the process will got killed... that I don't want to happen. Should I us setVisible(true/false) for the frame... Please suggest...
    Thanks,
    Ujjal

    There could be some mistake in my basic understanding... Anyway this is what I wrote...
    import java.io.*;
    import java.awt.*;
    import javax.swing.*;
    public class WindowIconify extends JApplet
         JFrame jf;
         JPanel jp;
         public void run()
              jf = new JFrame("test");
              jf.setSize(200,200);
              jp = new JPanel();
              jp.setBackground(Color.BLACK);
              jf.add(jp);
              jf.setVisible(true);
         public boolean handleEvent(Event event)
              if ( event.id == Event.WINDOW_ICONIFY)
                   System.out.print("iconifying");
              return true;
         public static void main(String args[])
              WindowIconify wi = new WindowIconify();
              wi.run();
    }

  • How te get the event of SAVE button in WDDOPOSTPROCESSING method

    Hello,
    am using an application that was configured with FPM, and my question is  how can I get the event wehen the user click on the save button in the method WDDOPOSTPROCESSING?
    will explain again!
    if the user click on the save button, how can I know or get the event in the WDDOPOSTPROCESSING?
    am talking here about the general save button in the header..
    please let me know if somebody knows
    thank you all

    just to make it easy for me,  the save button has an ID , i dont know how to get that ID  or where that action will be generated , i dont know where to implement my method, and this is the problem i dont know where or which method or class or IF will be genareted
    the SAP Developper are taking this case into consideration , because normaly all the data will be stored first in a buffer table, and after the suer clicks on the SAVE button, all the data will bestored in the corresponding INFOTYPE using the CP of the person, but in case of some INFTYPEs that are specified with 'P' instead of 'CP' we can't use the SAP Standard methode insert_infty , and this is the reason why i believe that there must be an alternative way to save all DATA of all Subtable by clicking only once on the save button.
    I foundout that the methode WDDOPOSTPROCESSING will be generated after clicking on the SAVE button, but as I said, i can't get the corresponding event ????
    please is somebody has an Idea, am still interessted to get the solution.
    thank you all

  • How to assign the events in a specific method in class builder(se24)

    i have declared one event in event part.i want to asign the event to one method .can any one help me .i have to do it in se24.pls

    hi,
    create a class in se24.
    <b>click the <b>EVENTS</b> tab, define an event.</b>
    <b>click the <b>METHODS</b> tab, define a method to trigger/ raise the event</b>
    <b>define one more method as an event handler method for the event.</b>
    for a method to be an event handler, click on the detail view,
    select the check box <b>Event Handler for</b>  give the classname where the event is defined and the event name, click on Change button.
    <b>event can be in the same class or different from that of the event handler method.</b>
    don't forget to <b>register the event handler method in the program.</b>
    click the code button of ur trigger method(meth2 in my example) and write there,
    raise event evt1.
    now your class is ready.
    now in se38 program,
    declare a reference variable to ur class,
    create an object,set the handler for ur event,
    call the trigger method
    <b>data:oref type ref to zsowcl1.
    create object oref.
    set handler oref->meth1 for oref.  handler method
    call method oref->meth2.           raise evnt method</b>
    hope it gives  you clear idea,
    Regards,
    Message was edited by:
            sowjanya s

  • How to assign each BitNum for each button?

    Actually, I am doing a interface to control variable gain amplifier through a DAQ namely PMD-1208FS(Measurement Computing Product). But, the interface is not really desired. This is because before I want to click a button, I need to set it's BitNum and then it can send 5V signal to the hardware. Ideally, I want click a button and straight forward send a signal. Do you have idea of this?T
    I have attached my interface and labeled each BitNum for each button The BitNum that I want to use is from 0-12. Hope your all guy can help me or guide me to solve this problem. Appreciate your reply and thank you very much.
    Cheers,
    Furman
    Attachments:
    My Interface 2vi.vi ‏62 KB

    After being blinded by the colors on your diagram (It is very difficult to see a blue wire on a blue background and a green wire on a cyan background! ), I think what you want to do is call the DBitOut with certain parameters whenever one of the booleans has been changed. The attached modification sketch shows one possibility (LabVIEW 7.1), but the details would need to be worked out once it becomes more clear what you actually want to do. (You probably would also need to initialize the shift register with the proper values).
    Personally, I would stay away from the stacked sequence. It is completely unecessary because there is data dependency. Also bright colors have no use on the diagram, focus on the code first!
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    MyInterface2vi.vi ‏61 KB

  • How to create a event and assign to task

    Hi
    How to create events in BW and assign to any process..
    Like i want to complete a delta load and do the full load.
    After finishing the delta load, full load has to be triggered.
    So can anyone help to creating the events in bw and assigning it to the prcess.
    Regards
    Rak

    Hi AHP
    Thanks for the reply.. we are not using the process chains instead we are using the infopackage groups. I created the event in SM62, But how should i assign this new event to my delta load.
    In full upload infopackage, in selection option i can give the event there in "after event"
    But my doubt is how to assign my event to the delta infopack
    "<i>you can just put the full load process type variant after the delta load, any consideration ?"</i>. Can you be more specific.
    Regards
    Rak

  • Want to assign one event to two different JSliders

    Can somebody explain how to assign one event handler to two different Jsliders?

    Jamaal wrote:
    I found some code on the Sun example index but it very vague and seems like something is missing. I've been through the Sun JSlider tutorials and examples. I'd call them anything but vague or incomplete; not to be insulting, but it's probable that your understanding of them is as yet incomplete, and you just need to study them some more. If you have specific questions about a part of the tutorial, please ask.
    I don't think that the source code even shows how they make the sliders change at the same time.Have you looked at the Converter program source code or run it?
    http://java.sun.com/docs/books/tutorial/uiswing/examples/components/index.html#Converter

  • Events on two button

    how can i perform events on two button
    answer me please

    Here is your solution:
    http://catb.org/esr/faqs/smart-questions.html

  • How to obtain an event?

    Consider a circle filled with transparent color node over a button node, they are all contained in a root. When we click on the circle, the event dispatch chain established is root -- circle ? So the button node will not react to the click and will not have a visual changing effect. How we dispatch the event to the button node so that it can react to the click and have a visual effect of button pressed ?

    In javafx  mouse events are only received by the top most node. You can use  Node: setMouseTransparent(boolean).
    Mouse events on node with mouseTransparent set to true will be ignored and captured by the topmost node below.

  • How to add a new button in IC tool bar and handle the event for the button?

    Hi,
        I am working on CRM 2007 Interaction center. To add a new button to IC toolbar, customizing is available to define a new button and then assign in to the profile.
    In SPRO->CRM->IC webclient->Customer Specifc System Modifications->Define Toolbar Buttons, I defined one new button with ID ZSTART.
    Now in SPRO->CRM->IC webclient->Basic Functions->Communication Channels->Define Toolbar Profiles , I selected Default profileid and in Generic Layout Buttons Tab, I added the new button ZSTART in Position 3.
         So after completing the customizing when the user logs in using role IC_AGENT,  the button (with ID:ZSTART) gets displayed in the IC toolbar too.
          Now on click of this button, I need to create an object.
    To do so, I have to catch the event which is raised by this new button.
           Please let me how to implement the event handler for this new button. What will be the event name for this button click event and how I can subscribe for it ?
         Please let me know if anyone of you have already worked on similar requirements.
    Regards,
    Manas.
    Edited by: manas sahoo on Jul 22, 2008 7:49 PM

    Hello Manas,
    There are a couple of threads in the community that might help you out (if you haven't already found them):
    Re: IC Web Client Toolbar
    /message/3621917#3621917 [original link is broken]
    Regards,
    Renee Wilhelm
    Edited by: Renee Wilhelm on Nov 6, 2008 7:46 PM

  • How to assign code to buttons?

    the current code I have on the timeline now (where the buttons reside) is:
    stop();
    function playLifeboy(event:MouseEvent):void
    gotoAndStop(3);
    function playKrave(event:MouseEvent):void
    gotoAndStop(2);
    lifeboy_btn.addEventListener(MouseEvent.CLICK, playLifeboy);
    krave_btn.addEventListener(MouseEvent.CLICK, playKrave);
    These work fine the first time but when I return to them they don't work. (I was told I have to assign the code to the buttons, But how?)

    OK Thanks,
    I Have 2 buttons in MC named mcMovieTrans the AS for these buttons are in the MC's timeline, the code is:
    stop();
    function playLifeboy(event:MouseEvent):void
    gotoAndStop(3);
    function playKrave(event:MouseEvent):void
    gotoAndStop(2);
    lifeboy_btn.addEventListener(MouseEvent.CLICK, playLifeboy);
    krave_btn.addEventListener(MouseEvent.CLICK, playKrave);
    when the buttons are activated they go to there corresponding frames and Stop. As an example of what happens next I'll show you frame 3 which plays MC mcKraveMovie:
    The AS for this timeline on Frame 45 is:
    stop();
    function playReturn(event:MouseEvent):void
    gotoAndPlay(46);
    return_btn.addEventListener(MouseEvent.CLICK, playReturn);
    The AS for the timeline on Frame 90 is:
    MovieClip(parent).gotoAndStop(1);
    This is where the problem occurs because when this action takes place and it returns to the parent MC (mcMovieTrans) The buttons actions dont work anymore.
    Thanks

  • How to assign a dynamic value to the value property of a button ?

    Hi Folks,
    I have a need, can i know how to assign a dynamic value to the value property of a button. Scenario is like follows...
    This is a struts based web application
    1. I have a file which consists of login user details (user name and his previlages) for a web application.
    2. I got those user details, into a List.
    3. When a user logged into the web app, in the home page there are few buttons. The type and number of buttons shown depends on the type of user/ user. (Buttons have different combination and the number of buttons available are not constant, they will vary from user to user).
    4. for each button, there will be a different action. I can pass the value of a button to an action class, but here button must have a dynamic value.
    Here is my test code:
    <%
    if (List != null)
    for (int i = 0; i <List.length; i++)
    %>
    <html:submit property="rduname" value= "<%=List%>" onclick="return submitRdu('<%=List[i] %>');"/>
    <%
    %>
    But my problem is how to assign a dynamic value to the value property of the button ( i know 'value= "<%=List[i]%>" ' will not work, just wanted show you guys).
    Thanks in advance,
    UV
    Edited by: UV_Dev on Oct 9, 2008 2:15 PM

    Let me try i know am not good at JSP but do we need double quotes here
    value= <%=List%>i think JSTL should help you about the dynamic thing                                                                                                                                                                                                                                                                                                                       

  • How to open a text file using button click event

    hi, How can i open a text file in a textpad or notepad on the click event of a button.?
    Thanks
    Jay

    Pnt,
    this will not work LV 8.0.1 and LV 8.6 will give back error 193.
    Attached is a VI to use the ShellExecute WinAPI. The VI is LV 7.1.1.
    Message Edited by waldemar.hersacher on 10-09-2008 10:48 PM
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions
    Attachments:
    ShellExecute.zip ‏27 KB

  • If my component has more then one button,how to create click events

    I am learning about java beans
    My java class
    public class ButtonClass extends JButton implements Serializable{
    // ButtonHandler bh;
    public ButtonClass() {
    setText( "Hello world!" );
    setOpaque( true );
    setBackground( Color.ORANGE );
    setForeground( Color.BLUE);
    setVerticalAlignment( CENTER );
    setHorizontalAlignment( CENTER );
    // addActionListener(new ButtonHandler(new JTextArea("Hello")));
    But i want to create Bean having more then one button on my bean.
    But how to create event individually for each button

    Do you mean how do you process each event from the buttons and know which button casued the event?
    If that is what you mean then look at ButtonGroup. You can add the same mouselistener to each button and then check which one cause the event:
    myButtonEvent.getButton()

  • HT5147 How do I assign a NOTE to a button?

    Hello,
    I want to assign a note to a button.  I would like to set it up where I press a button and it plays the note B on the Cello Tremello sound that will continue until I stop it by pressing the button again (toggle).  This will free me up to use both hands to play a piano part underneath the "hum" of the cello.
    I have gotten as far as assigning the button to the cello sound I want.  But I can't figure out how to assign the B note to the button.  I have spent about two hours trying to figure this out, with no avail. 
    I have an Oxygen 49 midi controller and a notebook air running the MainStage 2.
    Thanks,
    Michelle

    no that does not work. All that allows me to do is chang tracking speed, scrolling speed, double click speed, and primary mouse button (left or right). Any other ideas?

Maybe you are looking for

  • How to import unix executable files into Final Cut Pro

    A friend wanted me to create a Halo 3 Montage Video for him. He loaded the saved clips onto a flash drive for me but when I put it into my computer the information comes up as Unix Executable Files and I don't know how to import them into Final Cut P

  • QTVR files not tumbling anymore w/ QT 7.1 standalone

    I am still seing this problem with the latest player (7.1.5). Anyone encoutering the same problem - or even able to play any QTVR with the standalone player? I have some QTVR files generated from a 3D app that won't tumble anymore w/ QT 7.1 standalon

  • Malware - Safari users - disable Open"safe" files after downloading

    For those not aware there's some malware floating around which goes by the name of MacDefender and other variants. It's a scam that may show a page suggesting 'virus' infection on the user's machine and/or download an installer file. Visiting malicio

  • AirPort card not working ... mostly

    This is one that has me a bit stumped. I have a G3 iBook with the original airport card installed. Yesterday, it stopped recognizing any wireless networks in the local area (I have one graphite ABS and one AirPort Express, plus there are one or two o

  • How to install display driver for Satellite A running Win XP?

    I recently got rid of Vista from my Satellite laptop and had XP installed. I need to install the display driver (For ATI Radeon Video Card) which I had to download from this site. How do I install the driver? When I go to reinstall the driver the sys