PgAlerter design time error

Discussion of open issues, suggestions and bugs regarding PgDAC (PostgreSQL Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
badmood
Posts: 37
Joined: Thu 29 Jan 2009 23:28
Location: Italy

PgAlerter design time error

Post by badmood » Wed 04 Feb 2009 14:30

Hi,

I'm using some PgAlerter components on a form. When I try to open the form on the Delphi IDE, I get a "Connection is not defined error". If I close and reopen the form a db connection login form appears and then the Active property of the PgAlerter is changed automatically to True.

I think that if the Active property is set to False, no active connection is needed in design time.

Thanks in advance.

Sergio

These are the details:

Code: Select all

[118658A5]{pgdac105.bpl} Pgalerter.TPgAlerter.BeginConnection + $35
[118655D9]{pgdac105.bpl} Pgalerter.TPgAlerter.Start + $25
[118657C6]{pgdac105.bpl} Pgalerter.TPgAlerter.SetActive + $16
[1186573F]{pgdac105.bpl} Pgalerter.TPgAlerter.Loaded + $67
[20030D34]{rtl100.bpl  } Classes.NotifyGlobalLoading (Line 2681, "common\Classes.pas" + 3) + $B
[20D45B93]{designide100.bpl} ComponentDesigner.TComponentRoot.CreateFromStream (Line 2186, "ComponentDesigner.pas" + 10) + $0
[20D45926]{designide100.bpl} ComponentDesigner.TComponentRoot.Create (Line 2141, "ComponentDesigner.pas" + 32) + $6
[21D9B599]{delphivclide100.bpl} VCLFormDesigner.TVCLFormDesigner.CreateRoot (Line 1335, "VCLFormDesigner.pas" + 3) + $27
[216AEA5F]{delphicoreide100.bpl} DelphiModule.TPascalCodeMgrModHandler.SetupSourceModules (Line 550, "DelphiModule.pas" + 67) + $8A
[216AE3F2]{delphicoreide100.bpl} DelphiModule.TPascalCodeMgrModHandler.Create (Line 442, "DelphiModule.pas" + 4) + $7
[216B47AD]{delphicoreide100.bpl} DelphiModule.TPascalGauntletHandler.AttachHandler (Line 2551, "DelphiModule.pas" + 6) + $16
[20A625FD]{coreide100.bpl} DocModul.TModuleHandlerGauntlet.RunGauntlet (Line 3075, "DocModul.pas" + 4) + $1E
[20A5DF06]{coreide100.bpl} DocModul.TDocModule.AfterConstruction (Line 919, "DocModul.pas" + 4) + $7
[2097D6E3]{coreide100.bpl} SourceModule.TSourceModule.AfterConstruction (Line 752, "SourceModule.pas" + 4) + $3
[20006BA9]{rtl100.bpl  } System.@AfterConstruction (Line 9520, "sys\system.pas" + 2) + $5
[2097C618]{coreide100.bpl} SourceModule.TSourceModule.Create (Line 349, "SourceModule.pas" + 6) + $25
[216F0A5F]{delphicoreide100.bpl} CommonPasReg.TPascalFileOpenHandler.FileOpen (Line 870, "CommonPasReg.pas" + 3) + $D
[20A5D95C]{coreide100.bpl} DocModul.TFilterList.OpenFile (Line 786, "DocModul.pas" + 35) + $14
[20A615B7]{coreide100.bpl} DocModul.CallDefaultOpenProc (Line 2514, "DocModul.pas" + 3) + $15
[209E7BC7]{coreide100.bpl} ProjectModule.OpenFile (Line 2435, "ProjectModule.pas" + 22) + $9
[209E7C35]{coreide100.bpl} ProjectModule.OpenFile (Line 2443, "ProjectModule.pas" + 30) + $9
[21686265]{delphicoreide100.bpl} BaseDelphiProject.TDelphiProjectModuleHandler.OpenModule (Line 1970, "BaseDelphiProject.pas" + 31) + $D
[20003DA8]{rtl100.bpl  } System.@GetMem (Line 2654, "sys\system.pas" + 2) + $0
[2000A332]{rtl100.bpl  } System.TInterfacedObject._AddRef (Line 17972, "sys\system.pas" + 1) + $4
[20006894]{rtl100.bpl  } System.TObject.GetInterface (Line 9003, "sys\system.pas" + 8) + $A
[200068C6]{rtl100.bpl  } System.TObject.GetInterface (Line 9009, "sys\system.pas" + 14) + $10
[2000A30F]{rtl100.bpl  } System.TInterfacedObject.QueryInterface (Line 17964, "sys\system.pas" + 1) + $8
[216864C5]{delphicoreide100.bpl} BaseDelphiProject.TDelphiProjectModuleHandler.QueryInterface (Line 2016, "BaseDelphiProject.pas" + 18) + $6
[20041974]{rtl100.bpl  } SyncObjs.TCriticalSection.Release (Line 351, "common\SyncObjs.pas" + 0) + $4
[20008CBF]{rtl100.bpl  } System.@FinalizeArray (Line 15233, "sys\system.pas" + 99) + $0
[21686574]{delphicoreide100.bpl} BaseDelphiProject.TDelphiProjectModuleHandler.QueryInterface (Line 2027, "BaseDelphiProject.pas" + 29) + $23
[2001AE86]{rtl100.bpl  } SysUtils.Supports (Line 16990, "sys\sysutils.pas" + 1) + $9
[20041974]{rtl100.bpl  } SyncObjs.TCriticalSection.Release (Line 351, "common\SyncObjs.pas" + 0) + $4
[2000A348]{rtl100.bpl  } System.TInterfacedObject._Release (Line 17977, "sys\system.pas" + 1) + $4
[2000A264]{rtl100.bpl  } System.@IntfClear (Line 17824, "sys\system.pas" + 7) + $0
[20A617B9]{coreide100.bpl} DocModul.TCodeIDocModule.QueryInterface (Line 2585, "DocModul.pas" + 34) + $10
[21683656]{delphicoreide100.bpl} BaseDelphiProject.TBaseDelphiProject.OpenModule (Line 944, "BaseDelphiProject.pas" + 3) + $10
[209E7468]{coreide100.bpl} ProjectModule.TCustomCodeIProject.OpenModule (Line 2241, "ProjectModule.pas" + 1) + $F
[209F3026]{coreide100.bpl} Containers.TStdFileContainer.OpenItem (Line 3401, "Containers.pas" + 14) + $18
[209F303F]{coreide100.bpl} Containers.TStdFileContainer.OpenItem (Line 3403, "Containers.pas" + 16) + $9
[209FB22E]{coreide100.bpl} ProjectMgr.TProjectManager.HandleDblClick (Line 886, "ProjectMgr.pas" + 3) + $5
[20984F87]{coreide100.bpl} ProjectFrm.TProjectManagerForm.ProjectTree2DblClick (Line 1756, "ProjectFrm.pas" + 10) + $12
[2013CA49]{vcl100.bpl  } Controls.TControl.DblClick (Line 5234, "Controls.pas" + 1) + $14
[2013CBAC]{vcl100.bpl  } Controls.TControl.WMLButtonDblClk (Line 5275, "Controls.pas" + 4) + $C
[20E742C5]{vclide100.bpl} IDEVirtualTrees.TBaseVirtualTree.WMLButtonDblClk (Line 16158, "idevirtualtrees.pas" + 1) + $4
[20006A3F]{rtl100.bpl  } System.TObject.Dispatch (Line 9284, "sys\system.pas" + 8) + $0
[20E7EAF5]{vclide100.bpl} IDEVirtualTrees.TBaseVirtualTree.WndProc (Line 23120, "idevirtualtrees.pas" + 19) + $6
[2013FDD0]{vcl100.bpl  } Controls.TWinControl.MainWndProc (Line 7073, "Controls.pas" + 3) + $6
[20040E4C]{rtl100.bpl  } Classes.StdWndProc (Line 11583, "common\Classes.pas" + 8) + $0
[20163691]{vcl100.bpl  } Forms.TApplication.StopHintTimer (Line 8673, "Forms.pas" + 3) + $6
[201625F0]{vcl100.bpl  } Forms.TApplication.ProcessMessage (Line 8105, "Forms.pas" + 23) + $1
[2016262A]{vcl100.bpl  } Forms.TApplication.HandleMessage (Line 8124, "Forms.pas" + 1) + $4
[2016291F]{vcl100.bpl  } Forms.TApplication.Run (Line 8223, "Forms.pas" + 20) + $3
[0042297A]{bds.exe     } bds.bds (Line 195, "" + 7) + $7

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Mon 09 Feb 2009 11:28

Thank you for your suggestion. We will fix this in the next build of PgDAC.

Post Reply