rvico TRichView Reference | Version History

New in version 1.4

Top  Previous  Next

Compatibility issues

TRichView.OnControlAction declaration was changed. If you use this event, please add "var" to ctrl parameter of your event handler after rebuilding the package. Failing to do it causes memory access errors when running your applications.

GetCurrent***Info/SetCurrent***Info methods of TRichViewEdit now differ from Get***Info(ItemNo,...)/Set***InfoEd(ItemNo,...). "Current" methods can be used to work with items in cell-inplace editor in the same way as with items in main editor (programmer does not need to know if the item is in main editor or in sub-editor, he/she can always work with item at the position of caret). "Not-current" methods cannot be used to work with items in inplace editor, because such items cannot be addressed using only their indices.

The main new feature: tables

There is a new set of topics about them.

New methods

TRichView:

AddNLATag, AddItem, GetItem, GetItemNo,

GetJumpPointLocation

GetItemCoords, GetItemClientCoords

TRichViewEdit:

InsertItem,

GetCurrentItem, GetCurrentItemEx

SetItemTextEd,SetCurrentItemText, GetCurrentItemText,

CanChange

BeginItemModify, EndItemModify

ResizeCurrentControl, AdjustControlPlacement2

TFontInfos:

FindStyleWithCharset

New properties

TParaInfo.NextParaNo

TRVStyle.DefCodePage

TRichView.HScrollVisible

TRichView.RVData

TRichView.InplaceEditor

New option (rvoAutoSwitchLang) in TRichViewEdit.EditorOptions (thanks to Pavel Zhelty)

New states in TRVTextDrawStates

New events:

TRichView.OnCopy

TRichView.OnHTMLSaveImage

TRichViewEdit.OnCaretGetOut

New "hidden" parameters in TRVStyle.OnDrawStyleText and OnDrawTextBack

Cursors

Two new cursors. Ability to use system default hypertext cursor

Miscellaneous

Special support for Unicode Hindi keyboard input (note: Hindi uses complex glyphs composed from several Unicode characters; such glyphs are not fully supported yet)

Known problems

TRVStyle does not work properly in frame (Delphi 5+ and C++Builder 5+)

wrong displaying of underline for Unicode text in Windows95 (WinNT/2000 is OK)


TRichView © trichview.com