Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The first step is to build the basic form, in preparation for writing BASIC+ code to customize the list box.  Do Do the following:

  1. Create a new form called LISTBOX in the Form Designer, selecting No Table as the data source.

  2. Create the list box. Add a list box control called LB_H. In the list box’s Properties dialog box, check Hierarchical listbox, and check Enter = dbl click.  We We will not use a bitmap to indicate the hierarchical list box level.  InsteadInstead, we will use the Tab character (Char(9)) as a separator between the levels.  The The settings should display as below.

...

In the previous example, we added the contents of the list box by typing in the Items: area.   In In this case, however, we add all of the functionality through a single stored procedure.

...