ReadOnly := true;

On 8/16/06, Rich Cooper <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Using D7 and Indy 9, I have some data fields that are extracted
> from web pages, so they can be arbitrarily long.  I want to use
> TMemos with ssBoth scrollbars so people can see the entire field.
> First, I used TLabels to display the fields, but the fields extended
> past the limits of my TPanel which holds the TLabels, so I went to
> TMemos with scrollbars to get around this problem.
>
> But I don't want the user to be able to change the text in the TMemo
> any more than s/he would with the TLabel.  So I set Enabled=False
> in the TMemo fields.
>
> Problem is, when the TMemo has lots of text, the user can't operate
> the scrollbars when Enabled=False.  So s/he can't see the material
> in the TMemo which is off the visual area.
>
> I would like to present the entire text to a user, letting the user
> manage the scrollbar positions, but not let the user change the text.
>
> Does anyone know how to do this?
>
> Thanks,
> Rich
>
> _______________________________________________
> Delphi mailing list -> [email protected]
> http://www.elists.org/mailman/listinfo/delphi
>
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to