Problem:
Is it possible to have more than 1 list view control in a Dialog window?
Resolution:
This is a Net Express 4.0 Dialog System project. A Dialog System Window is created with 2 (two) List View controls.
These steps were taken to create this example:
1) Start Net Express.
2) Click File (menu), New (button).
3) Click Dialog System Screenset in New dialog.
4) Click OK (button).
5) Click Yes (button).
6) Click Browse (button) and navigate to the directory where you want to work.
7) Type a project name into text entry field 2 and click Create (button).
8) Click Next (button) through the Wizard. You want all of the defaults. Click Finish (button).
9) Click anywhere on the default dialog window to bring it into focus. Drag this window downward so that none of it is hidden by the Dialog System menus and controls. Resize the default window as necessary.
10) Click Screenset (menu), Data Block (button) and define two object references (OBJ-REF), LVIEW1-OBJ and LVIEW2-OBJ) for the List Views you will be adding to the window.
11) Click Programmed controls (tab).
12) Click List View (control) in Programmed controls.
13) Click in your Dialog Window where you want the upper left corner of the control and then drag diagonally to set the size of your control.
14) In the List View dialog click Master (button) and select the object reference for this control. Type the name of the control program you want (LVIEW1-PGM) to process this control.
15) Check the Add program to current project checkbox and click Generate (button) to create your source program.
Repeat steps 11 through 15 to create additional List View controls in the same window. Object reference names and program names must be unique.