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 [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

