Page 1 of 1

Toraquery - Create default control

Posted: Thu 22 Nov 2012 11:45
by ketas
Hello,

For toraquery there is possibility to create tdataset and tdbgrid from menu of component editor ("Create default control"). Is here way to configurate, which class of controls will be created, eg. tdbctrlgrid? I tried to make own component editor inherited from tcrcomponenteditor, but without success (missing entry point @dbaccess@tcustomaDADataSet@CheckFieldLengthAnScale$qqr18Data@Db@TFieldTypep18Memdata
@TfieldDescp24Crdatatypemap@TCRMaprule).

Thanks. Vojslav

Re: Toraquery - Create default control

Posted: Thu 22 Nov 2012 13:11
by AlexP
Hello,

These controls are created in DataSetManager, the source code of which we do not distribute.
So, to change the created controls, you should write your own bpl library implementing the desired behavior and use it in the TCRComponentEditor.ExecuteDsmAction method (the CRDesign module) when selecting a needed menu item

Re: Toraquery - Create default control

Posted: Thu 22 Nov 2012 13:44
by ketas
Hello,

O.K. , thanks for reply. Vojslav