[Lazarus] Ok I give up!
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Sat Mar 2 13:54:40 CET 2013
Juha Manninen schrieb:
> On Sat, Mar 2, 2013 at 2:05 PM, appjaws <lazarus at appjaws.plus.com> wrote:
>> Another thing how can I find out legal qualifiers i.e. Memo.Clear ,
>> Memo.Text (both illegal). What is legal?
>
> See Memo.Lines.
> It has Clear and Text and everything that TStrings supports.
>
> How to find it? With a new component I usually look at its properties
> in Object Inspector, and use the code completion feature of the IDE to
> see available methods.
> Usually their names are intuitive and self documenting. For example
> Memo.Lines is pretty clear.
What is *not* clear, to the OP and many other users, that the required
functionality is *not* found directly in TMemo, but resides in a
property (.Lines) of it. In such cases code completion is of little help :-(
DoDi
More information about the Lazarus
mailing list