Page 1 of 1
TZUpdateSQL Editor missing in D5 ??
Posted: 27.05.2010, 21:13
by IbeDBob
Hi All,
I am just getting involved with Firebird and Zeos. Steep learning curve but looks like really cool stuff.
I am testing on D5-Ent and I drop a TZUpdateSQL on the form and right click and no "Editor" option. I double-click and I get to the code section for the "AfterDeleteSQL" event just because it is the first on the list of events. But no editor.
Where am I going wrong?
Thanks
Dyslexic Bob
Posted: 28.05.2010, 11:27
by seawolf
On Delphi 4 and Delphi 5 this property is disabled, because of several properties that are missing. Anyway, spending some extra time, change
Open ..\src\component\ZComponentReg.pas
and change
uses
{$IFDEF WITH_PROPERTY_EDITOR}
ZPropertyEditor,
{$IFDEF FPC}
PropEdits,
ZUpdateSqlEditor,
ComponentEditors,
LResources,
{$ELSE}
{$IFNDEF UNIX}
{$IFNDEF FPC}
ZUpdateSqlEditor,
{$ENDIF}
{$ENDIF}
{$IFNDEF VER130BELOW}
DesignIntf,
{$ELSE}
DsgnIntf,
{$ENDIF}
{$ENDIF}
{$ENDIF}
Classes, ZConnection, ZDataset, ZSqlUpdate, ZSqlProcessor, ZStoredProcedure,
ZSqlMonitor, ZSqlMetadata, ZSequence{$IFDEF ENABLE_INTERBASE}, ZIBEventAlerter {$ENDIF};
After that it is necessary change some lines on ZSqlTestForm.pas and ZQuerySQLEditor.pas. Yif you want I can send you that files with changes
Posted: 28.05.2010, 16:27
by IbeDBob
seawolf wrote:On Delphi 4 and Delphi 5 this property is disabled,
...snip
After that it is necessary change some lines on ZSqlTestForm.pas and ZQuerySQLEditor.pas. Yif you want I can send you that files with changes
That would be great thank you.
I also notice that "RequestLive" is mentioned in this great tutorial...
http://zeos.firmos.at/kb.php?mode=article&k=12
...but I do not have that. Is that no longer a Property?
Thanks
Posted: 14.06.2010, 22:03
by mdaems
RequestLive
This has since 6.5.1 be replaced by 'ReadOnly' property. (Of course : this is the negative version of requestlive)
seawolf,
Do these changes impact compatibility with other compilers? If not, we could apply them as a fix to the 6.6 sources.
Mark