Primer Demo: Connection Manager
If you want the end-user of your application to be able to manage connections to databases, the TInstantConnectionManager component and the TInstantConnectionManagerForm will provide your application with the necessary tools. The component wraps a dialog in which the user can define and manage connections to various databases.

InstantObjects Primer uses an instance of TInstantConnectionManager to allow you to test the application with the database of your choice. Click the Connection Manager button on the main toolbar or pressShift+Ctrl+C to open the Connection Manager.
Using your own form
TInstantConnectionManager does not depend on any form: the form of the Primer demo, TInstantConnectionManagerForm, is in the unit InstantConnectionManagerFormUnit. The method Execute of the component calls a procedure registered with RegisterConnectionManagerExecutor, and the initialization section of InstantConnectionManagerFormUnit registers the default one.
- An application that uses the default form (like Primer) must add
InstantConnectionManagerFormUnitto ausesclause. - To use a different form, build it and register it with
RegisterConnectionManagerExecutor:
type
TInstantConnectionManagerExecutor = procedure(ConnectionManager: TInstantConnectionManager);
procedure RegisterConnectionManagerExecutor(ConnectionManagerExecutor: TInstantConnectionManagerExecutor);The form shows, among the other data of a connection definition, its BlobStreamFormat.
