Custom File Listbox controls for Visual Basic by Mark Gamber March 1992 This file provides two types of listbox controls for file display. First is multiple selection file listbox and second is the multiple column, multiple selection file listbox. To use these controls, copy VBMFILE.VBX to your Visual Basic directory. Select the file from the listbox displayed by selecting "Add File..." in the "File" menu. You should see two new controls appear in the toolbox is everything went OK. Both controls act in exactly the same manner except MCFile, the multiple column control, has a variable called "CellWidth". First, however, let's focus on the similar variables and functions. Archive: Displays files marked for archiving. System: Displays system files. Pattern: Changes file mask used to obtain directory listing. Path: Changes current file directory. ReadOnly: TRUE displays Read Only files, FALSE omits them. As mentioned above, the multiple column listbox has a "CellWidth" variable which detemines the number of pixels per cell horizontally. Visual Basic programs may insert text into the listbox, remove items from the listbox, and retrieve items from the listbox using standard listbox methods. For example: ListCount: Returns the number of items in the listbox List(i%): Returns string (filename) in position i% ListIndex(i%): Returns selected state of item i% in listbox The demo, LBDEMO, provides a real example of both types of file listboxes. This is free software for all given two conditions: 1. This software is owned by Mark Gamber and is free, not public domain. 2. I'm not liable. Bugs, suggestions and whatnot may be sent E-Mail only to PCA MarkG on America Online or through Internet to pcamarkg@aol.com.