Board index » delphi » Re: Help system and code completion still leave much to be desired
Andrew Fiddian-Green
![]() Delphi Developer |
Andrew Fiddian-Green
![]() Delphi Developer |
Re: Help system and code completion still leave much to be desired2007-12-04 01:59:52 AM delphi124 Rudy Velthuis [TeamB] writes: QuoteNow you could argue it should also return objects which have properties begin result := Treeview1.items. If the OP would have his way, at this point CI would only offer boolean parameters, and it would actively hinder me from typing (for example) the following -- perfectly valid -- code: result := Treeview1.items.count = 42; AndrewFG |
Brian Moelk
![]() Delphi Developer |
2007-12-04 02:58:17 AM
Re: Help system and code completion still leave much to be desired
OBones writes:
QuoteWell, I don't think it should not. it is a class, and it does not know helping me. -- Brian Moelk Brain Endeavor LLC XXXX@XXXXX.COM |
Brian Moelk
![]() Delphi Developer |
2007-12-04 02:59:58 AM
Re: Help system and code completion still leave much to be desired
Q Correll writes:
QuoteMy "solution" is to type the "stub(s)" on a new line so I can "see" -- Brian Moelk Brain Endeavor LLC XXXX@XXXXX.COM |
Q Correll
![]() Delphi Developer |
2007-12-04 03:01:26 AM
Re: Help system and code completion still leave much to be desired
Brian,
| KISS applies here. {*word*268}ly agreed! -- Q 12/03/2007 12:01:08 XanaNews Version 1.17.5.7 [Q's salutation mod] |
Arthur Hoornweg
![]() Delphi Developer |
2007-12-04 06:20:14 PM
Re: Help system and code completion still leave much to be desired
Andrew Fiddian-Green writes:
Quoteit would actively hinder me from typing (for example) completion is just a feature that helps you with correct capitalization and maybe shortens typing time a bit. My problem was that I wanted to add nodes to a treeview and that neither the help file nor the code completion feature would give me any sensible help on how to do it and my intuition let me down as well; Given the fact that I wanted to add a tTreeNode to a tTreeView, I'd have expected something like : Treeview1.Nodes.Add()... Treeview1.Add()... Treeview1.AddNode()... Treeview1.InsertNode()... Treeview1.AppendNode()... but unfortunately nothing of the kind applied because the property is called "items" which took some time to figure out. I think the best compromise would be if the code completion would show all members of "ttreeview.items" and *highlight* the ones that are assignment compatible instead of just spitting out a lengthy list. -- Arthur Hoornweg (In order to reply per e-mail, please just remove the ".net" from my e-mail address. Leave the rest of the address intact including the "antispam" part. I had to take this measure to counteract unsollicited mail.) |