uses webScan (otherwise Delphi 7 (at least) can corrupt the DFM when it is opened in the IDE). FuzRegex is free at www.fuzregex.com and you will find an upgrade script in the
download/share/2008WebHub area.
webScan - defines types
TwhScanMode = (dsByKey, dsByChecked);
TwhScanButton = (dsbFirst, dsbPrior, dsbNext, dsbLast, dsbRedraw, dsbPost,
dsbCheckBoxes, dsbInputFields);
TwhScanButtons = set of TwhScanButton;
TwhScanButtonsPos = (dsNone, dsAbove, dsBelow, dsBoth);
TwhScanButtonMode = (bmJump, bmCaption, bmHide);
TwhScanButtonStyle = (bsLink, bsLinkIMG, bsSubmit, bsSubmitIMG);
wdbScan - uses webScan
pConnection.Active := False; line or make sure that you are a DFM based on the
shipping whsample_EvtHandlers.dfm file. If you do not already have a utility for comparing pas and dfm files to see what has changed, consider ExamDiff Pro which we highly recommend (download from www.prestosoft.com.