RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTextAttributes.InitFormat Method

Initializes a Windows TCharFormat structure.

Pascal
procedure InitFormat(var Format: TCharFormat2);
C++
__fastcall InitFormat(TCharFormat2 Format);

TTextAttributes uses the TCharFormat structure to communicate with the rich edit control window when it gets and sets properties. InitFormat initializes this structure before any particular properties are read or set. InitFormat is exposed as a protected method so that derived classes can use the TCharFormat structure in the implementation of any other text properties. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!