Re: What does dot mean/do between some variables in Delphi?


[ DelphiLand FAQ ]

Posted by webmaster Guido on July 26, 2004 at 19:01:45:

In Reply to: Re: What does the dot mean/do between some variables and .... posted by Simchka Stein on July 23, 2004 at 10:43:01:

: : A "." between an Object and Caption identifies a property/variable/function/procedure of that object.
: : All object are like tree and you access the nodes(leaves) by using a Dot ^__^

: : Joey

: Thanks Joey :-)
: So, you could say from right to left:
: "belongs to" or "is child from"...
-------------------

Not really "is child of", because that has a special meaning in Object Pascal (Delphi language).

But you could say "of", like this:

- Label1.Caption means: the property Caption of Label1
- Panel1.Color means: the property Color of Panel1
- Form1.Show means: the procedure Show of Form1
- ListBox1.Items.Count: the property Count of the object Items (that in turn is a property of ListBox1)

Regards,
webmaster Guido


Related Articles and Replies


[ DelphiLand FAQ ]