Announcement

Collapse
No announcement yet.

Ctrl_List_Box - How to get all currently selected Items

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ctrl_List_Box - How to get all currently selected Items

    I'm lost in research on this matter and haven't so far found a similar problem here in the forums:

    I have a Ctrl_List_Box in one of my screens. Here users can tick items in a list. So far so good. When I launch DlgListBox.GetSelected(CTRL_LIST_BOX_01) it only returns the last activated item.
    I want to know which items were selected when advancing into the next screen.
    Any help is appreciated, thanks in advance !

  • #2
    Are you maybe confusing "Selected" with "Checked"?

    Ulrich

    Comment


    • #3
      Hi Ulrich, there is no such option available in DlgListBox as "checked".
      Some more info:
      In a screen I'm scanning a folder and its subfolders for occurencies of a certain file and write all foldernames into DlgListBox. Users now have the option to select either all or a few folders to replace the files there with the one the setup carries along.

      Comment


      • #4
        I found a solution myself: I use the screen events and use e_Details.Index and e_Details.Checked to fill a table which is later used to check the status of the DlgListBox Items.

        Solved.

        Comment

        Working...
        X