How To…Create a Custom Query Wizard


“How do I replace the existing query wizard with a custom one of my own?”


Use the built-in dialog replacement architecture to create and register your own query wizard.  Start by copying the existing code located in the daQueryWizard.pas file and renaming the class and file name.  Finally inside the initialization and finalization section, unregister the old wizard and  register the new one.


Sample Delphi code: