Toraquery - Create default control

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ketas
Posts: 28
Joined: Thu 02 Sep 2010 12:08

Toraquery - Create default control

Post by ketas » Thu 22 Nov 2012 11:45

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

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Toraquery - Create default control

Post by AlexP » Thu 22 Nov 2012 13:11

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

ketas
Posts: 28
Joined: Thu 02 Sep 2010 12:08

Re: Toraquery - Create default control

Post by ketas » Thu 22 Nov 2012 13:44

Hello,

O.K. , thanks for reply. Vojslav

Post Reply