How can we call the event in Selected event or clicked event in ListBox control

How to call the following code    ole_1.object.loadfile(ls_filename) ,  while selecting  an item from the control or while
single click on the item in List Box Control

Hi Polachan;
  Can you elaborate? Your question seems quite vague.
Maybe some more details as to what you are trying to accomplish might help.
Thanks ... Chris

Similar Messages

  • How can i call the certificate selection dialog box from source code?

    How can i call the certificate selection dialog box from source code?
    NB: Of course if i have more than one certificate in the Microsoft Keystore 'My'.
    Thank You in advance

    I found an example of the "TestStand UI Expression Control.ctl" and it works just the way I need it. (check the link)
    Proper use of "TestStand UI ExpressionEdit Control" in LabVIEW http://forums.ni.com/ni/board/message?board.id=330&requireLogin=False&thread.id=10609 
    The "Expression Browser Dialog Box Button" F(x) stays disable while editing the VI, however it become available when the VI is called from TestStand.
    Thank you,
    Hecuba
    Mfg. Test Engineer
    Certified LabVIEW Associate Developer

  • How can we call the method of used controller?

    Hi All,
       i created two WDA Applications.( like YWDA1,YWDA2 ) . i am using the component WDA2 in WDA 1.and displaying the one view of WDA2 as popup window in WDA1 on action of one of the input element in the view of WDA1 by using the method l_window_manager->create_window_for_cmp_usage
    I have a button on the view of WDA2 which has appear in the popup window...how can i call the method which has binded to that button....and where should i code that...and i need to assign selected value in the popup window to input elemetn of view  WDA1
    Please help me to resolve this....
    Regards,
    Ravi

    You can not directly call view's event handler from other component.
    create a method in component controller of the second component and in the button click call the component controller method. ( also make the method as interface so that you can call it from other components )
    Now, you can call the interfacecontroller's method
    DATA: l_ref_INTERFACECONTROLLER TYPE REF TO ZIWCI__VSTX_REBATE_REQ_WD .
      l_ref_INTERFACECONTROLLER =   wd_This->wd_CpIfc_<comp usage name>( ).
      l_ref_INTERFACECONTROLLER->Save_Rr(
        STATUS = '01'                       " Zvstxrrstatus
    save_rr is the method of second component controller

  • HOW CAN I HAVE THE NUMBER OF SELECTED ROWS IN ALV GRID?

    HI.
    HOW CAN I HAVE THE NUMBER OF SELECTED ROWS IN ALV GRID????
    GABRY =)

    You need to use
    data : grid1  type ref to cl_gui_alv_grid.
      call method grid1->get_selected_rows
        importing
          et_index_rows = i_sel_alvrows[].

  • How can I call the jFreeChart to plot graph and get the result in Servlet?

    I want to use jFreeChart to plot time series graph, and then output the result in Servlet. How can I call the jFreeChart to plot graph and get back the result? Any source code for example? Thanks a lot!!

    Dave,
    ServletDemo1 and others were not in the distribution that I got (jfreechart-0.9.4). I found them under the premium demos somewhere in com/refinery/chart/demo/premium, but could not compile. They're complaining, among other things, about missing classes/packages com.refinery.date.SerialDate and com.refinery.ui. Am I using a wrong version of jfreechart?
    Thanks,
    -Alla
    There is a very simple servlet demo in the JFreeChart
    distribution:
    src/com/jrefinery/chart/demo/ServletDemo1.java
    This simply sends back an image to the browser.
    A second demo, which embeds the chart in an HTML page
    is:
    src/com/jrefinery/chart/demo/ServletDemo2.java
    src/com/jrefinery/chart/demo/ServletDemo2ChartGenerator
    java
    ...includes a time series chart as one of three
    options.
    Regards,
    Dave Gilbert
    JFreeChart Project Leader
    http://www.object-refinery.com/jfreechart/index.html

  • How can i call the Buttons which made in flash

    Sir
    i design some Flash buttons but it is save as .swf extension
    if i save as jpg or gif then animation not working as well as
    effects.
    sir
    how can i call the flash buttons in java plz guide me
    JButton mybutton=new JButton(how can i pass swf extension button);

    of course, anything's possible, but to do this means first getting a bridge from flash to javascript or com or something, and then a bridge from javascript to Java. So in short,
    It's not possible.

  • How can I call the create method in BO from Application Service

    Hello!
    When I create a Business Object, CAF generates some methods automatically.
    How can I call the create method in the BO from Application Service logic?
    When i call the method then the entityManager and the sessionContext is NULL.
    How can I initialize this?
    Can anybody help me?
    Thanks, Thomas

    If you are using CE 7.11...
    1) In the Application Services, add the BO as dependant object in dependencies tab.
    2) In the implemention, add the following codes to call create method of the BO:
    this.get<BO>.createMethod();
    julius

  • How can I Call the MainVI from its SubVI, and this happen recursively?

    Hi All,
    How can I Call the MainVI from its SubVI, and this happen recursively?
    Actually, LAbView 7.1 doesn't support recurssion?
    Plz help me out!

    Dear GerdW,
    Thanks a lot 2 all of u guys,for all the brilliant responses.
    Actually, my basic aim is to call the Main VI, containing a SubVI.....
    Now, I want to call my main VI from this SubVI...recursively!!!!!..but whenever I tried to put the MainVI in this SubVI..an error message pops out saying recursive calling is not possible.
    I also tried using "Call by reference" but tht also didn't worked...an d error is somewat like...VI is invalid..or type matching..or state matching error.
    Here, Im attaching the snapshot of the MainVI... Im calling the SUBvi from it... It is running GOOD n FINE...
    But prob arrives when I call the Main from the SUBvi, which looks like same as MainVI(with little differences).
    I hope, Im clear in my words n not being ambigous.
    Plz, correct me where ever  im wrong.
    Thank You.
    Mishra_RnD
    Attachments:
    ScrShot.JPG ‏272 KB

  • How can I see the url of a link before clicking on it?

    Hi. I have Firefox 10.0.2. I used to be able to see the url of a link on web pages in the bottom left of the browser. That way, if I the url didn't seem legit I wouldn't click on the link. But now, when I put the mouse over a link, nothing comes up. How can I see the link addresses again? Thanks.

    The Status Bar. where the link previously showed on mouse hover, has been replaced by the Add-on Bar. You can install the following add-on to get some of the former Status Bar functions back. The Add-on Bar must be turned on. The add-on will also stop the showing of the "tooltip" type status loading text, and will, instead, show it in the Add-on Bar:
    *See --> https://support.mozilla.org/en-US/kb/what-happened-status-bar
    *To turn on the Add-on Bar, see --> https://support.mozilla.org/en-US/kb/Back%20and%20forward%20or%20other%20toolbar%20items%20are%20missing#w_showing-the-navigation-toolbar '''and click on "Add-on Bar" to check it'''
    *Add -on '''''Status-4-Evar''''': https://addons.mozilla.org/en-US/firefox/addon/status-4-evar/
    *If necessary, after install and restart:
    **Open Customze window (Firefox button > Options > Toolbar Layout '''''OR''''' View > Toolbars > Customize '''''OR''''' ALT+V+T+C '''''OR'''''right-click in the empty space at the end of the Tab Bar and choose Customize)
    **'''While Customize window is open''', drag any or all of the following from the Customize window to the Add-on Bar in the order and position you want them to appear. Then click "Done" button at lower right on the Customize window.
    ***"Status Text" ('''''link on mouse hover or during page loading''''' or "Done" when page is loaded)
    ***"Progress Meter" (progress bar of page loading)
    ***"Download Status" (status of download)
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • How can I change the reminder time of an all day event?

    How can I make an all day event remind me the evening before.  The only reminder options are 9:00 the day of (which is too late) or 9:00 the day before (which gives you a whole day to forget about it).  Why can I not select when I want a reminder?  I have tried both alert tab in the event itself, and the default alert setting under settings/mail, contacts, calendars/default alert times. 

    THis is what I do, and it works for me.....I create two entries. Yes, it is extra work, but it works.  The first one is the all-day event.  I set that to remind me the day before and two days before.
    Then the second entry I set a time on the day, and in the Title Box, I put "reminder about "insert date here". Then I set that to remind me according to hour(s) or minutes before.
    IF I want a reminder inconsistent with those, I simply set the start date/time for the actual hour I want to be reminded, even if it is say "11:00pm the night before"  when it goes off, I just reset it using the roll thing to the next date/time that I want it to go off.
    I am a newbie and still have my old-fashioned paper planner, fully filled out, but find the calendar feature of the iPhone so absolutely useful. As well as the notes. Mainly when I am out and about. I used to tote my book around, now I just enter it on my phone, make myself a note, and then enter the info in my book later on. Paperless society, I doubt that'll happen, but technological devices sure fit in your pocket more easily...
    BTw- have you noticed that if you put in a birthday of a contact in Contacts, it will show up in your calendar with a little present icon?
    (= Have a happy day! =)

  • JFileChooser, how can you allow the user to select MORE than 1 file?

    Hello everyone.
    I want to allow the user to select multiple files from a directory, not just 1, but not just the whole directory.
    Currently I see these 2 options from looking at the sun's JFileChooser demo:
    //Create a file chooser
            fc = new JFileChooser();
            //Uncomment one of the following lines to try a different
            //file selection mode.  The first allows just directories
            //to be selected (and, at least in the Java look and feel,
            //shown).  The second allows both files and directories
            //to be selected.  If you leave these lines commented out,
            //then the default mode (FILES_ONLY) will be used.
            //fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
            fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);but both don't allow the selection of more than 1 file.
    When I say, select more than 1 file I mean the user can hold in SHIFT or CTRL and select files.
    Any ideas how to do this?
    Thanks!

    http://java.sun.com/javase/6/docs/api/javax/swing/JFileChooser.html#setMultiSelectionEnabled(boolean)
    Cheers,
    Laird

  • How can i call the public void paint(Graphics g) method on click of button?

    Hello,
    I have done this before i know its got to do something with the repaint() method but can someone show me with and example and call the paint method using AWT in a frame not in an applet....
    Thank you very much.

    Thank You very Much.... You have cleared all my doubts.
    But my main objective is to display an image in an AWT Frame !!
    here is the code that i have been trying..
    import java.awt.*;
    import java.awt.event.*;
    public class check6 extends Panel
         Frame f;
         Image i;
         public check6()
              f = new Frame("Heading");
              f.addWindowListener(new WindowAdapter(){
                   public void windowClosing(WindowEvent e){
                        System.exit(0);
              final Button b1 = new Button("Submit");
              b1.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e){
                        repaint();
              i = getImage(getCodeBase(), "titanic.jpg");
              add(b1);
              setLayout(new FlowLayout(FlowLayout.LEFT));
              f.add(this);
              f.setSize(500,500);
              f.setVisible(true);
         public void paint(Graphics g)
              g.drawImage(i,10,10,this);
         public static void main(String args[])
              new check6();
    }

  • How can integrate/call the Oracle Forms in ADF pages or task flow.

    Hi ,
    I Have requirement to integrate the ADF and EBS.
    I have done the ADF pages calling in ESB.
    Right now i am struck up to call the OAF froms in ADF page/taskflow.
    it's high appriciate if any one provide me the any info or how to do this requriment.
    Thanks,
    Madhava.

    Hi,
    Forms integration can happen using af:inlineFrame or by a redirect to a Forms web URL. In the latter case navigation should be from an unbounded task flow ensuring the return address required to resume the ADF application is provided. See: https://blogs.oracle.com/jdevotnharvest/entry/how_to_efficiently_redirect_an for how to construct the return URL
    Frank

  • How can i call the UK from my I phone?

    How can I use my 3G I phone to call the United Kingdom?

    If you are wanting to phone the UK do this:
    Say the number you are wanting to call in the UK is 012345678
    Add 0044 to the beginning and take off the first 0 in the actual number
    so it becomes
    004412345678

  • How can I call the Class and have a PDF appear in seperate window?.

    I would like to call the class/interface ZCL_UIU_PRN_ACCOUNT2, method Collect_data and have a Smartform executed to produce a PDF document in a Seperate window.
    Where I have an issue is in opening another window to display the PDF.
    I know the Standard PDF Facsheet does exactly this, but that is triggered via the Web browser and calls a Java script, avoiding and events and round-server trip processing. I would have changed the button values so that when pressed it does process the various events and eventually ends up at EH_ONPREVIEW for the BP_HEAD/Overview. I know just need to open a new window and call the process to create the PDF via Smartform.
    Any suggestions would be more than welcome. I have spent so much time on this, and have gained no real ground, so far.
    Jason

    Hi,
    in the method
    data: zcontrol TYPE SSFCTRLOP.
    zcontrol-device = 'PRINTER'.
    zcontrol-langu = sy-langu.
    zcontrol-no_dialog = 'X'.
    zcontrol-getotf = 'X'.
    data: job type SSFCRESCL.
    data: devtype type RSPOPTYPE.
    CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
    EXPORTING
    i_language = sy-langu
    IMPORTING
    e_devtype = devtype
    EXCEPTIONS
    no_language = 1
    language_not_installed = 2
    no_devtype_found = 3
    system_error = 4
    OTHERS = 5.
    data: output_options type SSFCOMPOP.
    output_options-tdprinter = devtype.
    call function FM_NAME
    EXPORTING
    *   ARCHIVE_INDEX              =
    *   ARCHIVE_INDEX_TAB          =
    *   ARCHIVE_PARAMETERS         =
       CONTROL_PARAMETERS         = zcontrol
    *   MAIL_APPL_OBJ              =
    *   MAIL_RECIPIENT             =
    *   MAIL_SENDER                =
       OUTPUT_OPTIONS             = output_options
    *   USER_SETTINGS              = 'X'
    IMPORTING
    *   DOCUMENT_OUTPUT_INFO       =
       JOB_OUTPUT_INFO            = job
    *   JOB_OUTPUT_OPTIONS         =
      TABLES
        t_texto                    = t_texto
      EXCEPTIONS
        FORMATTING_ERROR           = 1
        INTERNAL_ERROR             = 2
        SEND_ERROR                 = 3
        USER_CANCELED              = 4
        OTHERS                     = 5.
    if sy-subrc <> 0.
    endif.
    data: DOCTAB_ARCHIVE type TABLE OF DOCS,
    LINES type TABLE OF TLINE.
    *CALL FUNCTION 'CONVERT_OTF_2_PDF'
    ** EXPORTING
    **   USE_OTF_MC_CMD               = 'X'
    **   ARCHIVE_INDEX                =
    ** IMPORTING
    **   BIN_FILESIZE                 =
    *  TABLES
    *    otf                          = job-otfdata
    *    doctab_archive               = doctab_archive
    *    lines                        = lines
    * EXCEPTIONS
    *   ERR_CONV_NOT_POSSIBLE        = 1
    *   ERR_OTF_MC_NOENDMARKER       = 2
    *   OTHERS                       = 3
    data:  l_pdf_len type i,
    l_pdf_xstring type XSTRING.
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    format = 'PDF'
    IMPORTING
    bin_filesize = l_pdf_len
    bin_file = l_pdf_xstring
    TABLES
    otf = job-otfdata
    lines = lines
    EXCEPTIONS
    err_max_linewidth = 1
    err_format = 2
    err_conv_not_possible = 3
    err_bad_otf = 4
    OTHERS = 5.
    IF sy-subrc is initial.
    DATA: cached_response TYPE REF TO cl_http_response.
    CREATE OBJECT cached_response
    EXPORTING add_c_msg = 1.
    l_pdf_len = XSTRLEN( l_pdf_xstring ).
    cached_response->set_data( data = l_pdf_xstring
    length = l_pdf_len ).
    cached_response->set_header_field(
    name = if_http_header_fields=>content_type
    value = 'application/pdf' ).
    cached_response->if_http_response~set_status( code = 200
    reason = 'OK' ).
    cached_response->if_http_response~server_cache_expire_rel(
    expires_rel = 180 ).
    data guid type GUID_32.
    CALL FUNCTION 'GUID_CREATE'
    IMPORTING
    ev_guid_32 = guid.
    data display_url type string.
    CONCATENATE url '/' guid '.pdf' INTO
    display_url.
    cl_http_server=>server_cache_upload( url = display_url
    response = cached_response ).
    *GV_DISPLAY_URL & GV_PRINTON are class attributes
    CLEAR: gv_display_url, gv_printon.
    MOVE display_url TO gv_display_url.
    gv_printon = 'X'.
    ENDIF.
    Send me you e-mail i cannot post the code that is used in the view.htm.
    Best Regards,
    Caíque Escaler
    Edited by: Caíque Escaler on Nov 26, 2010 5:00 PM

Maybe you are looking for

  • Spry and DW CS3

    I'm just trying out the Spry features in DW CS3. I set up to validate a textfield on a form. And added a hint for a email format, but here's my problem. If users don't type anything in the form at submit it, it still processes the hinted email addres

  • 12 days of Xmas app telling me the app is unavailable to download in the republic of Ireland (day 2)

    12 days of Xmas app telling me the app is unavailable to download in the republic of Ireland (day 2) .top gear

  • Document split profit center wise

    Hi All, I have a senario. I want to post a document were it automatically splits and post it to respect profit centers. Ex: Canteen expenses for Rs 1000/- my profit centers are PR01 and PR02. My cost center is CCC1. Entry should be: Dr. Canteen Exp  

  • Maintain Text in Infotype 0041 via LSMW

    Hi, Has anyone had success loading text into Infotype 0041 via lsmw? I am trying to create an lsmw to maintain text in infotpye 0041. I follow the route PA30, then when in IT0041 I go to edit and maintain text. The problem is that I get a syntax erro

  • How to measure time spent on socket read() method ?

    Hi, I have a socket waiting for input stream from a remote host : // method blocks until some input is available int count = socket_host.getInputStream().read(bytes); I want to know how much time it took to receive "count" bytes from remote host.