[Lazarus] Ok I give up!

Michael Van Canneyt michael at freepascal.org
Sat Mar 2 14:05:49 CET 2013



On Sat, 2 Mar 2013, Hans-Peter Diettrich wrote:

> 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 :-(

You must learn the LCL or VCL.

No amount of IDE help will ever take away that need.

Yes, you must still study. It is inevitable.

Luckily, there is a well-informed community which can provide answers quickly.

As again demonstrated by the answers today.

Michael.




More information about the Lazarus mailing list