アプライアンスコメント Learn Delphi

従来からのバインディング手法を用いた簡単ネイティブWindowsアプリ開発

C++BuilderでFireDACとInterBaseを用いて簡単なデータベースアプリケーションを開発する方法を紹介した Jim McKeeth のビデオを補足する追加のデモがあります。今回は、従来からあるバインディング手法とデータベース対応のコンポーネントを用いてVCLアプリケーションを作成する方法を紹介しています。Visual Component Library(VCL)は、WindowsアプリケーションのUIを開発するための ネイティブWindows開発 向け機能で、マルチデバイスクロスプラットフォームアプリを構築するために設計されたFireMonkeyとは異なり、Windowsベースの開発のみをサポートしています。しかし、このフレームワークには、膨大な数のビジュアルコンポーネントライブラリと、豊富なサードパーティコンポーネントのコレクションが用意されています。

データベース対応コンポーネントを用いたネイティブWindows開発

Similar to FireMonkey, VCL also supports LiveBindings but it also comes with traditional bindings which will be used as an example for this short demo. It generally follows the same procedure as the previous demo. To get started, open the Windows VCL Application – C++ Builder in RAD Studio. Once launched, drag all the necessary components in the form. For this example, InterBase sample components are being used. Similar to the previous demo, users can freely edit the Query Editor or better yet add Field Editor for convenience.

This time, McKeeth will be using a TDBGrid, a Data-Aware component. Delphi’s data-aware components are components that normally reside on a Standard palette tab but have been modified to display and manipulate the content of data in a dataset (table or query). These components know how to talk to a data source (a connection between a dataset and data-aware control). You also have the option to add the Navigation Bar.

Delphiでデータベース対応コンポーネントを使用して、簡単にVCLデータベースアプリケーションを作成する方法の詳細については、以下のデモをご覧ください。

モバイルバージョンを終了