trichview.support
Re: Caret Postion |
Author |
Message |
Yernar FoxTail |
Posted: 11/11/2002 13:22:34 Very simple example: var ItemNo, Offs: Integer; begin ItemNo := DBRichViewEdit1.CurItemNo; Table1.Post; Offs := DBRichViewEdit1.GetOffsBeforeItem(ItemNo); DBRichViewEdit1.SetSelectionBounds(ItemNo, Offs, ItemNo, Offs); end; Hope it helps. "Marc" <marc.knowles@bbc.co.uk> wrote: > >I've tried using SetSelectionBounds with inconsistent results. > >Can you give me some example code of what I could put in 'Before Post' and >'After Post' to ensure the caret stays in the same place? > >Thanks |
Powered by ABC Amber Outlook Express Converter