|
TCustomRichViewEdit.SetCurrentBreakInfo |
Top Previous Next |
|
Changes properties for the item at the position of caret, if this item is a break procedure SetCurrentBreakInfo(AWidth: TRVStyleLength; AStyle: TRVBreakStyle; AColor: TColor; const ATag: TRVTag); SetCurrentBreakInfo(...) is equivalent to TopLevelEditor.SetBreakInfoEd(TopLevelEditor.CurItemNo, ...). This method can be used if CurItemStyle returns rvsBreak. Parameters: AWidth – line width (or rectangle height). This value is measured in Style.Units. AStyle – visual style of this break, see TRVBreakStyle for possible values. AColor – line color. If it is equal to clNone, Style.TextStyles[0].Color is used. ATag – tag of the item. You can use value returned by GetCurrentBreakInfo or GetCurrentTag for this item. The tag can also be set by SetCurrentTag method.
Method type: Additional item properties are assigned by the methods SetCurrentItemExtraIntProperty and SetCurrentItemExtraStrProperty.
See also methods: See also properties: See also: ▪"Tags". |