Juha Manninen schrieb:
On Sat, Mar 2, 2013 at 2:05 PM, appjaws <[email protected]> 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
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus