trichview.com

trichview.support




Re: Making items non-selectable


Return to index


Author

Message

Bryan Tabuteau

Posted: 08/18/2004 3:49:09


That looks exactly like what I want, thanks.

I tried adding the Labelitem.pas in my uses list and put the code in to implement

this, but I'm getting errors on compilation.

I'm using Delphi 6.


1.Declaration of 'ApplyStyleConversion' differs from previous declaration.

2.Declaration of 'SaveRTF' differs from previous declaration.

3.RVStyle.ApplyStyle(Canvas, TextStyleNo, rvbdUnspecified); in TRVLabelItemInfo.UpdateMe

- Not enough actual parameters

4.RVStyle.ApplyStyle(Canvas,TextStyleNo,rvbdUnspecified); in TRVLabelItemInfo.DoPaint

- Not enough actual parameters

5.RVFWrite(Stream, RV_MakeHTMLStr(Self.Text, False, False)); in TRVLabelItemInfo.SaveToHTML

- too many actual parameters.


Am i including something i shouldn't in my uses list, or using an old version

of something?



"Sergey Tkachenko" <svt@trichview.com> wrote:

>1) You can use LabelItem (non-text items that look like text but cannot

be

>selected partially or modified)

>See

>Demos\Addins\LabelItem\

>

>2) You can use text protection - see TFontInfo.Protection property

>Protected text can be selected partially, but you can prevent its

>modification.





Powered by ABC Amber Outlook Express Converter