Listbox & commands

Hello,
i am working on evenment structure. I have a Source list box . I have created a Target listbox by doubleclicking everytime on an element in the Source listbox.
My goal is to create on the same line of every element in the Target listbox 3 commands: 2 time commands (Start & END time) and a boolean command.
These commands are used as entries to Write Trace and Historical Trend blocks. Then i should be able to change them all time.
How could i do that ?
Thx
Samer,

Hi samer,
it seems you want to mix several datatypes, so an array of clusters would be fine...
(The example is not perfect, but should show how to get your task done.)
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
Attachments:
Unbenannt 2_LV80.vi ‏25 KB

Similar Messages

  • ListBox causes dump only in MVC

    Hi,
    I have a working ListBox that is working in a "regular" BSP.
    I copied this app to an MVC type BSP and I am trying to do the same.
    The problem is that I get a dump on a listBox command.
    The dump is: ASSIGN_TYPE_CONFLICT
    "Type conflict in the ASSIGN statement in the program CL_HTMLB_LISTBOX==============CP "
    It is definitely from the listBox.
    I stripped down the code until I got the HTMLB:
                        <htmlb:listBox id                = "agg_number"
                                       table             = "//model/agg_list"
                                       nameOfKeyColumn   = "AGG_KEY"
                                       nameOfValueColumn = "NAME"
                                       multiple          = "true"
                                       size              = "12" />
    the definition is:
    agg_list TYPE TP_AGG_LIST_TBL
    the type is:
           begin of tp_agg_list,
             AGG_KEY type kunnr,
             NAME        type NAME1_GP,
             ACCOUNT type HKONT,
           end of tp_agg_list,
           tp_agg_list_tbl  type standard table of tp_agg_list,
           tp_agg_tbl       type standard table of kunnr
    I have no idea why it is dumping.
    I think that the code is right and it is working in a different app.
    Do you have any ideas?
    Thanks,
    Itay

    Hi ,
    In the list box "Selection" or "Selections" is missing .
    Without this , you cannot get the selected values.
    Please check this.
    <htmlb:listBox id = "agg_number"
               table = "//model/agg_list"
               nameOfKeyColumn = "AGG_KEY"
               nameOfValueColumn = "NAME"
               multiple = "true"
               size = "12"
               selection
               selections --- string table />
    Reward if useful.
    Regards
    Meikandan

  • Erreur nom commande dans la listbox

    Bonjour,
    Merci à TiTou pour son aide apportée pour la création de ce VI !
    Après avoir fait quelques modifications, je me retrouve à avoir seulement la commande Alerte dans ma listebox lorsque j'ajoute une commande.
    Cordialement
    PS : Pourriez-vous me convertir en Labview 2012 car je n'ai que cette version au travail
    Résolu !
    Accéder à la solution.
    Pièces jointes :
    Scenario_key_final_2.vi ‏71 KB
    Scenario_Read_Key.vi ‏39 KB
    Save_Scenario_Key.vi ‏31 KB

    Bonjour Aznnath,
    Je n'ai pas réussi à trouver le VI mentionné dans votre fichier ZIP.
    Je me suis permis de regarder vos différents VI. Vous devriez jeter un oeil sur vos VIs commencant par FGV. Je ne comprend pas trop la logique de vos boucles While. Elles ne font pas de tour de boucle puisque vous avez mis un True sur le Stop et vous y avez mis un registre à décalage. La boucle While est-elle vraiment nécessaire?
    Cordialement.
    Pierre
    National Instruments.
    Pierre_D
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    LabVIEW Tour
    Journées Techniques dans 10 villes en France, du 4 au 20 novembre 2014

  • Goto field and listbox color formats

    i've got two questions
    1. i've scripted a functional listbox (field2) that hides or shows fields depending on options selected ('yes' opens field2a, 'no' hides field2a) but depending the option chosen i want to 'go to' an appropriate field. example: 'yes' automatically goes to field2a, 'no' proceeds to field3
    as it is the 'yes' jumps to field3 and 'no' goes back to the top of the page. is there a command/script i can enter at the end of the 'if' and 'or' statement that will place the cursor in a designated field?
    2. the list box only shows as white text on a blue background. is there a way to make it show like a regular text box (black text on a white background)?
    any help is greatly appreciated!!
    ..joseph g

    You are sure you are getting only "No" and "Yes" from your list box?
    $host.messageBox(Concat("Event value = ", event.vlaue), "Verify Event Value", 3, 1);
    if (event.value=="No") {
    this.getField("5S1").hidden = true;
    xfa.host.setFocus("8");
    }else {
    if (event.value=="Yes") {
    this.getField("5S1").hidden = false;
    xfa.host.setFocus("5S1") };
    Are your 2 fields are not in the same section, you will need to provide the full reference.

  • Getting selected value from Listbox

    Hi,
    I have populated my listbox on the selection screen using the function module VRM_SET_VALUES.
    How do I get the value which is selected from the list box.
    Where is the selected value in the listbox stored.
    Thanks,
    Abhishek

    The code I used is:
    Another issue is that whenever I select any value in the listbox it is not displayed on the screen. It becomes blank again.
    PARAMETERS:  p_prin  AS LISTBOX VISIBLE LENGTH 30 USER-COMMAND sele.
      DATA: i_printers TYPE STANDARD TABLE OF frprlist,
            wa_printers TYPE frprlist.
      DATA: l_name  TYPE         vrm_id,
            i_list  TYPE         vrm_values,
            l_ctr   TYPE         i VALUE 0,
            wa_value LIKE LINE OF i_list.
      CLEAR: wa_value.
    Get printers
      CALL FUNCTION 'RSPO_FRONTEND_PRINTERS_FOR_DEV'
        EXPORTING
          device         = p_print
        TABLES
          list           = i_printers
        EXCEPTIONS
          no_list        = 1
          list_truncated = 2
          name_not_found = 3
          OTHERS         = 4.
      IF sy-subrc EQ 0.
    Populate to drop down box
        l_name = c_prin.
        LOOP AT i_printers INTO wa_printers.
          l_ctr = l_ctr + 1.
          wa_value-key = l_ctr.
          wa_value-text = wa_printers-prname.
          APPEND wa_value TO i_list.
          CLEAR wa_value.
        ENDLOOP.
        CALL FUNCTION 'VRM_SET_VALUES'
          EXPORTING
            id              = l_name
            values          = i_list
          EXCEPTIONS
            id_illegal_name = 1
            OTHERS          = 2.
        IF sy-subrc NE 0.
    Do nothing
        ENDIF.
      ENDIF.
      CLEAR: l_name, l_ctr, wa_value, i_list.

  • How to access listbox binding data from a button which is not part of listbox in xaml page

    Hi
    I have the below listbox and its bdining as below
     <ListBox x:Name="listMyPosts" ItemsSource="{Binding Path=MyPostsDataSource}" Grid.Row="0"  >
               <ListBox.ItemTemplate >
                          <DataTemplate >                                      
                                        <StackPanel Orientation="Horizontal">
                                            <TextBlock Text="{Binding
    NewPostText ,Mode=TwoWay}"/>
                                            <TextBlock Text="{Binding
    NewPostSender}"/>
                                        </StackPanel>                                      
                                </DataTemplate>
                </ListBox.ItemTemplate>
               <Button content="Send Post" command ="Binding SendClickCommand} />
      </ListBox>
    And i am assining postsViewmodel
    private PostsViewModel _PostsViewModel ;
    public Conversation()
    InitializeComponent();
    _PostsViewModel = new PostsViewModel ();
    this.DataContext = _PostsViewModel ;
    public ObservableCollection<PostsModel> MyPostsDataSource
    get
    if (_MyPostsDataSource== null)
    _MyPostsDataSource= GetMyPosts();
    return _MyPostsDataSource;
    set
    this._MyPostsDataSource = value;
    RaisePropertyChanged("MyPostsDataSource");
    is that possible to access listbox binding data from the ViewModel's SendClickCommand property ?
    Krrishna

    If you need to pass to the command selected item, try this
    <Button Сontent="Send Post"
          Сommand ="{Binding SendClickCommand}"
          CommandParameter={Binding ElementName=listMyPosts,
    Path=SelectedItem}/>
    msdn

  • How to Populate a listbox based on another listbox selection. Please help!

    Hi Experts,
         I have a requirement where I have two listboxs(dropdown list) in a selection screen. I have to populate the second listbox based on the selected item from the first listbox. How to do this?
    I have created a listbox in a selection screen using
    Parameters: p_soldto as listbox visible length 30 user-command chg,
                p_shipto as listbox visible length 30.
    Then I have tried to look at the value of item selected  from first listbox in AT SELECTION-SCREEN OUTPUT, But I am not getting any value of p_soldto.
    I think I am doing something wrong. I think I have to use some event handling like on selection of an item from listbox. But I don't see any such event handing in ABAP.
    Please give me some code example.
    Please help!
    Thanks
    Gopal

    HI,
    Check this program, it is using a list box and filling values into it at initilization event.
    <b>REPORT ztest2.
    TYPE-POOLS : vrm.
    tables: bkpf.
    DATA : values TYPE vrm_values.
    DATA : wa LIKE LINE OF values.
    PARAMETERS : list_box(10) TYPE c AS LISTBOX VISIBLE LENGTH 10.
    PARAMETERS: dd type bkpf-BSTAT user-command abc.
    select-options: a for bkpf-bukrs MODIF ID buk.
    select-options: b for bkpf-belnr MODIF ID SEL.
    at selection-screen output.
      If list_box = 2.
        loop at screen.
          if screen-group1 = 'SEL'.
            screen-input = 0.
            modify screen.
          endif.
        endloop.
      endif.
    INITIALIZATION.
      wa-key = '1'.
      wa-text = 'Orange'.
      APPEND wa TO values.
      wa-key = '2'.
      wa-text = 'Red'.
      APPEND wa TO values.
      wa-key = '3'.
      wa-text = 'Blue'.
      APPEND wa TO values.
      wa-key = '4'.
      wa-text = 'Gray'.
      APPEND wa TO values.
      CALL FUNCTION 'VRM_SET_VALUES'
           EXPORTING
                id              = 'LIST_BOX'
                values          = values
           EXCEPTIONS
                id_illegal_name = 1
                OTHERS          = 2.</b>
    Regards,

  • Populating cascading listboxes without processing the query in HIR 8.3

    I have 2 listboxes. First listbox populated using Group Number. Second Listbox should contain all account numbers corresponding to the Group Number selected in the first listbox, I need to do this without processing the query. I tried this way :
    1.     Created a query section “Query” and in that created a limit Group Number. Through this limit I am populating the first lisbox.
    2.     Created another query section “Query2”. In that created Group Number as first limit and Account Numbers as another listbox.
    3.     After selecting the Group Number from listbox1, I am passing this value to the first limit of “Query2”.
    4.     I am doing RefreshAvailableValues on the second limit of “Query2”. Now I am expecting the records corresponding the selected account number in the second limit of “Query2”. But I’m getting all the available values.
    What is wrong in the above or any better solution is available please suggest.
    Edited by: user13386590 on Jul 12, 2010 9:32 PM

    Why do you want to do this without processing a query.
    Each time you execute the script RefreshAvailableValues you are essentially executing a query...look at the Query log.
    As for the issue in # 4 you will want to change the properties on the Data Model. From menu select
    DataModel
    - Data Model Options
    check the Filter/Limit tab and try out different options
    --- below is from 11.1.1.1 help
    Data Model Options: Filters
    Use the Filters tab to specify filter browse level preferences and to select global filter options.
    When you use Show Values to set filters, you may sometimes need to sift through a lot of data to find the particular values you need. Filter preferences enable you to dictate the way existing filters reduce the values available through the Show Values command.
    For example, you want to retrieve customer information only from selected cities in Ohio. However, the database table of customer addresses is very large. Because Interactive Reporting applies a default filter preference, once you place the initial filter on State, the Show Values set returned for City is automatically narrowed to those cities located in Ohio. This saves you from returning thousands of customers, states, and from all sales regions.
    You can adjust this preference so that the initial filter selection has no effect on the potential values returned for the second filter (all cities are returned regardless of state).
    Filter Options
    Show Minimum Value Set—Displays only values that are applicable given all existing filters. This preference takes into account filters on all tables and related through all joins in the data model (which could be potentially a very large and long running query).
    Show Values Within Topic—Displays values applicable given existing filters in the same topic. This preference does not take into account filters associated by joins in the data model.
    Show All Values—Displays all values associated with an item, regardless of any established filters.
    Tip:
    When setting these preferences for metatopics, be sure to display the data model in Original view.
    Global Filter Options (Designer only)
    Show Values—Globally restricts use of the Show Values command in the Filter dialog box, which is used to retrieve values from the server.
    Custom Values—Globally restricts use of the Custom Values command in the Filter dialog box, which is used to access a custom values list saved with the Interactive Reporting document file or in a flat file.
    Custom SQL—Enables the user to code a filter directly using SQL.
    Note:
    The Topic Priority dialog box is displayed only if you first select join in the data model.
    Note:
    Since most data models do not have the same set of topics, you cannot save changes to the topic priority as default user preferences. (For more information on default user preferences, see Saving Data Model Options as User Preferences.)Often times if I am trying to load controls for parameter screen I will have a seperate query and results section for that purpose. Then I use the Filter/Limit on the Results section to control the cascade feature you are trying to accomplish. In your case your results would contain the distinct list of Group Number and Account Number.
    Wayne

  • How to populate values into a Listbox on selection screen

    Hi All,
    Please any one let me know how to populate values (for ex.01,02 and 03) in a list box of selection screen..
    Thanks,
    Vijay

    Try this code ...
    REPORT  ZLISTBOX.
    TYPE-POOLS: VRM.
    TABLES SPFLI.
    TABLES SSCRFIELDS.
    DATA flag.
    DATA: NAME TYPE VRM_ID,
    LIST TYPE VRM_VALUES,
    VALUE LIKE LINE OF LIST.
    PARAMETERS PS_PARM LIKE SPFLI-CARRID AS LISTBOX VISIBLE LENGTH 5
    USER-COMMAND fcodex.
    data: i_spfli type spfli occurs 0 with header line.
    PARAMETERS PQ_PARAM LIKE SPFLI-connid AS LISTBOX VISIBLE LENGTH 15
    USER-COMMAND
    fcodey.
    *DS AS CHECKBOX USER-COMMAND FLAG.
    INITIALIZATION.
    NAME = 'PS_PARM'.
    DATA T TYPE I VALUE 0.
    SELECT DISTINCT carrid into corresponding fields of table i_spfli FROM
    SPFLI.
    loop at i_spfli.
    VALUE-KEY = i_spfli-CARRID.
    VALUE-TEXT = i_spfli-CARRID.
    APPEND VALUE TO LIST.
    endloop.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    ID = NAME
    VALUES = LIST.
    AT SELECTION-SCREEN.
    if sy-ucomm eq 'FCODEX'.
    REFRESH LIST.
    CLEAR LIST.
    PQ_PARAM = ' '.
    NAME = 'PQ_PARAM'.
    SELECT * FROM SPFLI WHERE CARRID = PS_PARM.
    VALUE-KEY = SPFLI-connid.
    VALUE-TEXT = SPFLI-connid.
    APPEND VALUE TO LIST.
    ENDSELECT.
    endif.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF SY-UCOMM NE 'FCODEX' OR SY-UCOMM NE 'FCODEY'.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    ID = NAME
    VALUES = LIST.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    START-OF-SELECTION.
    clear i_spfli.
    refresh i_spfli.
    select * into table i_spfli from spfli where carrid = ps_parm and connid
    = pq_param.
    loop at i_spfli.
    WRITE: / 'CITY FROM:', I_SPFLI-CITYFROM, 'CITY TO :',I_SPFLI-CITYTO,
    'DEPARTURE TIME :', I_SPFLI-DEPTIME.
    ENDLOOP.

  • How do I script a listbox to display doc pdf file attachments (originally jpegs) in a one page document being viewed in a Reader or Acrobat?

    I have placed a listbox on a one page pdf doc to select and display any of several pdf attachments (originally jpegs). What javascripting will do this? I have tried openDataObject and getDataObjectContents (feeding them the listbox "export value" which is the name of the attached file. Code runs without exception, but no attachment displays?

    I don't know of any way to do what you want using the 'open' command. It can probably be done with Applescript, which you could call from a shell script. The Preview application doesn't seem to be scriptable. I don't use Acrobat, so I can't tell you anything about that. Looking through the dictionaries of the apps I do have, it seems that Skim (another PDF viewer) has an AS 'page' class. Below are a couple of links that may get you started. Look for more specific guidance in Applescript forums.
    http://sourceforge.net/apps/mediawiki/skim-app/index.php?title=AppleScript
    http://links.tedpavlic.com/shell_scripts/skim

  • Excel 2013 VBA formatting Listbox 2 columns

    Have 2 listbox - Listbox 1 has 9 columns and is populated by Excel Worksheet Range. Listbox 1 shows formats correctly.
    User selects multiple items from Listbox1 and click a command button to inserts into Listbox2. In Listbox2 the 5th column should show data as h:mm but does not it looks like text. Also, in Listbox2 column 9 should be formatted as date mm/dd/yy and it
    is not.
    How do I write the code to format these columns?
    Code for the Command button is below:
    Private Sub CmdInsert_Click()
        Dim IndexRow As Long
        Dim IndexCol As Long
         With ListBox1
             For IndexRow = 0 To .ListCount - 1
                 If .Selected(IndexRow) Then
                     ListBox2.AddItem .List(IndexRow, 0)
                     For IndexCol = 1 To .ColumnCount - 1
                         ListBox2.List(ListBox2.ListCount - 1, IndexCol) = .List(IndexRow, IndexCol)
                         Next
                  End If
             Next
         End With
    Me.ListBox1.MultiSelect = fmMultiSelectSingle
     Me.ListBox1.ListIndex = -1
     Me.ListBox1.MultiSelect = fmMultiSelectMulti

    A listbox displays the text of the cells in its rowsource. But rowsource can only be a block of cells, so your code needs to read the text from the source cells of listbox1.
        With ListBox1
            For IndexRow = 0 To .ListCount - 1
                If .Selected(IndexRow) Then
                    ListBox2.AddItem .List(IndexRow, 0)
                    For IndexCol = 1 To .ColumnCount - 1
                        ListBox2.List(ListBox2.ListCount - 1, IndexCol) = _
                        Range(ListBox1.RowSource).Cells(IndexRow + 1, IndexCol + 1).Text
                    Next
                End If
            Next
        End With

  • Master Details with ADFBC Listbox

    Hi Everyone,
    I'm trying to setup master - detail page with ADF BC, using Dept / Emp.
    I want to use a listbox for the master object, rather than the form + navigation commands as shown in the classic demos, so I've setup a listbox as following:
    <af:selectOneListbox value="#{bindings.DepartmentsView1.inputValue}"
    label="Available Flows:"
    id="listbox_depts">
    <f:selectItems value="#{bindings.DepartmentsView1.items}"
    id="id_Selcet_Items"/>
    The details element is the classic read-only table created by dragging the Employees view (under the departments) into the page.
    The problem arises when I run the page - the list box shows all the departments, but when I click on different departments the table data does NOT change (as it would when navigating between rows with the classical form navigation buttons).
    I've set up the Table's partial triggers to both of the listbox ids: id_Selcet_Items and listbox_depts but this doesn't help.
    Is this a bug, or am I doing something totally wrong?
    Tal.

    This looks like a good question for the JDev 11g TP3 forum.
    -h.

  • Disable the select-options dynamically based on value selected in listbox

    Hi friends,
    I have a peculiar problem in my program.
    I have a list box with two values.
    1) With Ref to Reservation No.
    2) Production order.
    I am doing the object for Transfer Posting ( Similar to MIGO).
    The contents of the listbox here are acting as the label to my select-options.
    I have two select-options in my program.
    1) Reservation No (s_rsnum for rsnum)
    2) Production Order (s_porder for aufnr)
    In runtime, based on the label selected in the listbox, the corresponding select-option should be in visible mode.
    for eg: if i select "With ref to Reservation No" S_rsnum should be enabled and vice-versa.

    Hi,
    here an example with listbox:
    TABLES: MARA.
    PARAMETERS: P0 DEFAULT 'KAUF' LIKE MARA-MTART AS LISTBOX VISIBLE LENGTH 8 USER-COMMAND DUMMY.
    SELECTION-SCREEN: SKIP 3.
    SELECT-OPTIONS: S_MATNR FOR MARA-MATNR MODIF ID DI1.
    SELECTION-SCREEN: SKIP 3.
    SELECT-OPTIONS: S_MATKL FOR MARA-MATKL MODIF ID DI2.
    AT SELECTION-SCREEN OUTPUT.
      IF P0 = 'KAUF'.
        LOOP AT SCREEN.
          IF SCREEN-GROUP1 EQ 'DI1'.
            SCREEN-ACTIVE      = '1'.
            SCREEN-INPUT       = '1'.
            MODIFY SCREEN.
          ENDIF.
          IF SCREEN-GROUP1 EQ 'DI2'.
            SCREEN-ACTIVE      = '0'.
            SCREEN-INPUT       = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
      IF P0 <> 'KAUF'.
        LOOP AT SCREEN.
          IF SCREEN-GROUP1 EQ 'DI1'.
            SCREEN-ACTIVE      = '0'.
            SCREEN-INPUT       = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF SCREEN-GROUP1 EQ 'DI2'.
            SCREEN-ACTIVE      = '1'.
            SCREEN-INPUT       = '1'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    use your own listbox in If-Clauses.
    Regards, Dieter

  • Migration of multicolumn listbox from 7.1.1 to 8.5

    I recently migrated a VI containing a multicolumn listbox from LV 7.1.1 to LV 8.5. Interestingly the 3D-headers got lost and the hight of the rowes changed.
    Left in the picture is the LV 7.1.1 version and right is the LV 8.5 version. The font is set to Lucida Console 14 bold.
    I got CAR 119444 for this conversion bug.
    Message Edited by waldemar.hersacher on 07-10-2008 09:02 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:
    multicolumnlistbox.png ‏2 KB

    Hi Vicky,
    No worries my friend
    We have not done this upgrade and do not have any current plans to do so. I am
    always, always, always slow to move along the upgrade path. This may be a bad thing
    but it has saved us some great pain as well over the years. Our current versions are;
    CUCM - 7.1(3b)su2
    CUC - 7.1(3b)su2
    We have found these versions to be very stable. I have spent a fair bit of time looking at people's
    migrations to 8.5(x) here @ CSC and have not seen or heard of too many horror stories. This is one bug you'll
    want to look out for.
    CSCtn61453            Bug Details
    Applying 8.5.1 software as patch results in corrupted CUC installation.
    Symptom:
    After fresh installation of 8.5.1 software, we can notice several problem symptoms.
    - Connection services and Connection DB does not start
    - System cannot be accessed via web page
    - Informix error messages for certain CLI commands
    Example :- show cuc cluster status
    com.informix.asf.IfxASFException: Attempt to connect to database server (ciscounity) failed.
    Command failed
    Conditions:
    It is observed during fresh installation of Unity Connection product when installation was
    started with earlier version of software and 8.5.1 software was applied as a patch during the setup process.
    Workaround:
    First, perform a fresh installation of earlier version of software using the install media. Then after verifying the installation, proceed with the upgrade to 8.5.1 as a separate process.
    Status
    Open            
    Severity
    2 - severe
    Last Modified
    In Last 3 Days        
    Product
    Cisco Unity Connection         
    Technology
    1st Found-In
    8.5(1)ES1
    Best of luck with your changes.
    Cheers!
    Rob

  • Linking listbox to frames

    ok basicly i have a listbox which gets data striaght from my sql database and i was wondering how i could link each value with in the list box to each frame  so that when a item is selected in the list box it goes to a frame like how  button uses gotoandplay as such
    this is my code which i use to get the data from the database
    var theXML:XML = new XML();
    theXML.ignoreWhite = true;
    theXML.onLoad = function() {
        var nodes = this.firstChild.childNodes;
        for(i=0;i<nodes.length;i++) {
            theList.addItem(nodes[i].firstChild.nodeValue,i);
    theXML.load("http://localhost/project/php/question.php");
    thank you

    While you are adding the data to the List, include the frame information as an added piece of data for each entry.  Look in the help documention to see how to use an object to add both label and data parameters to the List for each entry. 
    To make the List act like a button, look into using a listener for the Event.CHANGE occuring to detect when a selection is made.  This is also explained in the help documentation as well as other events that you might prefer to omonitor for instead.  The event handler function can use the selectedItem frame data in a gotoAndStop() or gotoAndPlay() command.
    The documentation has several examples that should be helpful for you.  Look into how a DataProvider is utilized to load up the component.

Maybe you are looking for

  • Lost files, can't find them but they're there!

    all my files have disappeared from my powerbook g4 but the memory use implies they're still there on pcs in the past it's been possible to turn the clock back so to speak and restore the computer to it's state at a previous date, ie you mess somethin

  • Transport Protocol

    Hello all, I am implementing a transport protocol that sends data from one source to another over multiple paths. The protocol is to work as follows: When the protocol receives data, the data will be fragmented into TCP segments. Then TCP connections

  • Fixing this Table Variable Query

    Please assist me to correct this syntax for this Table Variable Question below.    /* Create a table variable with Departure City and State in 2 different columns along  with Flight Destination City and Ontime. */ DECLARE @NTable TABLE (FlightDepartu

  • Unable to undo check out

    I have a file that I can't check in and can't "undo check out" in the remote view. I can't even delete the LCK file with my FTP client. whassup?

  • CMS to Enterprise Portal

    Hi everybody. I've here the Enterpsie Portal in DEV and QA and I'm preparing the Production installation and we need to know how to configure tue CMS in this case? Anybody have any idea? I know that the CMS is used, but how the Portal will comunicate