_TBBUTTON = Record<div> iBitmap : cint;</div><div> idCommand : cint;</div><div> fsState : BYTE;</div>
<div> fsStyle : BYTE;</div><div> bReserved : ARRAY[0..1] OF BYTE; // padding for alignment= </div><div> dwData : DWORD_PTR;</div>
<div> iString : INT_PTR;</div><div> END;</div><div> TBBUTTON = _TBBUTTON;</div><div>I want to init record values when I define variables like following:</div>
<div><br></div><div><div>tbrbtns:array[0..5] of TBBUTTON =(</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> (iBitmap:7;idCommand:10000;fsState:TBSTATE_ENABLED;fsStyle:TBSTYLE_BUTTON;(0,0);dwData:0;iString:0),</div>
<div> ...</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>);</div><div> but the field "bReserved" is a array,I don't know how to init a array field in a record,any one can help?</div>
<div> Thanks</div><div><br></div><div><br></div><div><br></div></div>