trichview.support
Protecting framed window text item |
Author |
Message |
Joe |
Posted: 03/31/2002 9:00:29 Sergey: I need to make a "framed" text item act like a label. In other words I don't want the caret to enter the framed box. I want it to bypass the item just like a regular Delphi label. I don't want to insert a control. I would like to keep it as a text item. I use a TextStyle and Paragraph Style as follows: TextStyles[LStyleNo].Protection := [rvprModifyProtect, rvprDoNotAutoSwitch, rvprStyleProtect]; ParaStyles[LStyleNo].Options := [rvpaoNoWrap, rvpaoReadOnly, rvpaoStyleProtect, rvpaoDoNotWantReturns]; What more can I do to prevent the caret from entering the item? Thanks, Joe. |
Powered by ABC Amber Outlook Express Converter