TDBImage/zh CN
English · Français · Русский · 中文(中国) · 日本語
TDBImage
数据库绑定控件,用来显示数据库中 BLOB 字段中的内容. 在 Data Controls tab 的 Component Palette.
存储
默认情况下, Lazarus 将图形文件以二进制的形式存入数据库中,因此Lazarus可以存储任何图片类型。
Delphi 仅支持 (jpg?),最新版本未知. 最新的 Lazarus版本也允许此种类型存储,而且Lazarus已经尝试根据二进制文件的特性来自动检测图片为何种格式。
样例
在代码示例中. sqlite_mushrooms/image_mushrooms 样例,在目录 examples\database\ 中可以找到

参考资料
From the Free Pascal wiki, page "TDBImage/zh CN", as it stood on 2020-05-16 after a change by TyphonFinger, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.
Edited on wiki.freepascal.org by 1 person, 2020
From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.
| When | Who | What changed |
|---|---|---|
| TyphonFinger | Created page |
Talk about this page
Nobody has opened a bench for this page yet. Sign in to open one.
