Dialogs.Folders
This package implements a database containing logical names each associated with a number representing a physical folder in the operating system.  This allows the logical names to be represented in any form.  This is built on Dialogs.ListBoxes.

Some of GetName parameters are:

FromFolder          -- The name of the folder where all information are stored.  One is
                           -- created if it does not exist previously.

DatabaseName     -- The name where list box entries are kept.
LogicalName        -- The entity appearing in the list box entry.
NunmberedName  -- The full path name representing LogicalName.
HasBeenModified  -- Indicates if the contexts of the list box have been changed.
SingleSelection       -- Determines if the returned result has single or multiple entries..
DelimitingChar      -- A character indicating the end of an entity even if it has only 1
                            -- one name.  For single selection none are used.                        
CanBeSorted         -- List box entries are sorted when the list box is loaded.  The
                            -- entries are not sorted during creation.
IdFileName           -- Contains information for the allocated id numbers.

Handlers

function NameValidationHandler(Container        : Containers;
                                                RawInputText : Wide_String;
                                                FormattedText : Wide_String) return boolean;
--
-- Let the application decide if RawText or FormattedText is valid before the entry is
-- save in the list box.  FormattedText is the result returned by NameFormatHandler.
--

function NameFormatHandler(Container : Container; RawText : Wide_String)
             return Wide_String;
--
-- Converts RawText into a formatted form for display in the list box.  For example,
--  converting all blanks into underscore, converting lower case into upper casing etc.
--

Back To Dialogs.TreeViews
Dialogs.PushButtons
Home