|
TCustomRichViewEdit.SetCurrentBreakInfo |
Top Previous Next |
|
Changes properties for the item at the position of caret, if this item is a break procedure SetCurrentBreakInfo(AWidth: Byte; AStyle: TRVBreakStyle; AColor: TColor; ATag: Integer); SetCurrentBreakInfo(...) is equivalent to TopLevelEditor.SetBreakInfoEd(TopLevelEditor.CurItemNo, ...). This method can be used if CurItemStyle returns rvsBreak. Parameters: AWidth – line width (or rectangle height). Must be in range from 1 to 10. 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.If tags are pointers to dynamically allocated strings (rvoTagsArePChars in Options), this parameter must be set to value returned by StrNew of StrAlloc functions, typecasted to integer. 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:
|