|Top Previous Next|
Returns main properties for the item of inserted control type at position of caret.
procedure GetCurrentControlInfo(var AName: TRVAnsiString;
var Actrl: TControl; var AVAlign: TRVVAlign;
var ATag: TRVTag);
Actr – the control itself. This method returns control owned by RichView, do not not destroy it.
AVAlign – vertical alignment of the control.
ATag – tag of the item. Do not confuse with Actrl.Tag property!. Use SetCurrentTag or SetCurrentControlInfo to change tag of item as an editing operation. This value can also be read using GetCurrentTag method.
This method must be called only when the document is formatted.
Unicode note: names of non-text items are ANSI strings.
See also methods:
See also properties:
TRichView © trichview.com