📄 tdataset_objectview.htm
字号:
<html>
<head>
<title></title>
</head>
<!--#include virtual="/inc/header.php"-->
<table width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#FFFFFF">
<tr>
<td align="left">
<span style="font-family:Helvetica,Arial; font-size:12pt; color:#000000"><b>TDataSet.ObjectView
<br>
</b><span style="font-family:Helv; font-size:9pt; color:#000000"><span style="font-family:Helv; font-size:9pt; color:#7F0000"><a href=tdataset.htm>TDataSet</a></span></span><span style="font-family:Helvetica,Arial; font-size:12pt; color:#000000"><b>
<br>
</b></span></span>
</td>
<td align="right">
<font face="Arial" size="2">
<a href="overview.htm">Top</a>
</font>
</td>
</tr>
</table>
<br><br>
<span style="font-family:Helvetica,Arial; font-size:10pt; color:#000000">Specifies whether fields are to be stored hierarchically or flattened out in the Fields property.
<br>
<br>
<b>property</b> ObjectView: Boolean;
<br>
<br>
<b>Description</b>
<br>
ObjectView affects the way the Fields property stores object fields and the way data-aware grids display ADT and array fields.
<br>
<br>
When ObjectView is True, the fields are stored hierarchically in the Fields property, meaning any child fields of an object field are referenced by the object field and don't appear sequentially after the object field in the TFields.Fields array. When ObjectView is False, the fields are stored sequentially in the Fields property, meaning any child fields of an object field are stored after the object field as siblings in the Fields array.
<br>
<br>
When ObjectView is False, object field types, such as TADTField, are not created. This switch is provided for increased compatibility with older data-aware controls, which may not be able to handle object field types properly. The default is False for TBDEDataSet, and True for TClientDataSet.
<br>
<br>
<b>Note:
<br>
</b>If the ObjectView property of the TTable or TQuery provided to a TClientDataSet is False, then the TClientDataSet's ObjectView property always acts as False, since the data received is already flattened.
<br>
</span>
<!--#include virtual="/inc/footer.php"-->
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -