Re: [MSEide-MSEgui-talk] dbnavigator
On Saturday 22 June 2013 22:51:03 Med Hamza wrote: > Hi all, > >Related to RAD development, DBNAV.buttons must set on/off depending on > > datasource.dataset.sql(stringlist) > > IF SQLUPDATE is empty then button[] is disabled > tmsesqlquery insert, delete and update statements normally were created automatically, so the SQL* stringlist properties often are empty with full functional query. The ReadOnly property of the base TDataSet probably should be replaced by an "options" property with "noinsert,noedit,nodelete" members. There is an options property with dso_noedit in tmse*datataset.controller too. Now as we have an own db.pas the controller functionality could be moved to TDataSet which could reduce the complexity a lot but that would brake existing code. As a first step tdatasetcontroller.options could be extended by dso_noinsert, dso_nodelete. Martin -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] dbnavigator
On Sunday 23 June 2013 09:07:15 Martin Schreiber wrote: > As a first step tdatasetcontroller.options could be extended > by dso_noinsert, dso_nodelete. > dso_noedit disables editing, inserting and deleting of records. Replacing by [dso_noedit,dso_noinsert,dso_nodelete] will break existing code. Should I change it anyway? Martin -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] dbnavigator
For my older projects : already broken by previous changes so feel free to make the new changes especially if they're useful :) -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] dbnavigator
Hi Martin, dso_noedit option is enaugh for me. thanks for your loyalty. 2013/6/23 Ivanko B > For my older projects : already broken by previous changes so feel > free to make the new changes especially if they're useful :) > > > -- > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > ___ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk