Hi, <div><br></div><div>Is there "record literal in FPC? e.g. normally, you do:</div><div><br></div><div>var</div><div>   cp : TPoint;</div><div><br></div><div>cp.X := 0;</div><div>cp.Y := 0;</div><div>Edit1.CaretPos := cp;</div><div><br></div><div>I would like to use literal directly, such as:</div><div><br></div><div>Edit1.CaretPos := (X: 0, Y: 0); </div><div><br></div><div>But the above syntax is wrong. Is there such thing exists?</div><div><br></div><div>Thanks,</div><div>Shannon</div>