The workaround, if you want more fine-grained control over the deployment of synchronized code, is to use an atomic field updater.
如果您希望对同步代码的部署进行更多细粒度控制,那么解决方案就是使用一个原子字段更新程序。
As an example, the code below creates a TDBMemo control if the field is an ftMemo type, or a regular TDBEdit control otherwise.
例如,如果字段是ftmemo类型,下方代码将创建一个TDBMemo控件,否则将创建一个常规的TDBEdit控件。
As an example, the code below creates a TDBMemo control if the field is an ftMemo type, or a regular TDBEdit control otherwise.
例如,如果字段是ftmemo类型,下方代码将创建一个TDBMemo控件,否则将创建一个常规的TDBEdit控件。
应用推荐