Re: Sorry, but not happy with D2007
- From: Jolyon Smith <jsmith@xxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 20 Mar 2007 11:13:48 +1200
In article <45ff0ecf$1@xxxxxxxxxxxxxxxxxxxxxx>, Allen Bauer (CodeGear)
says...
This was a specific design decision since once the uses
clause was updated, it is difficult to distinquish between which units
the user intended to be there and which ones are only there because of
components.
Why not engineer the problem out of existence?
Surely the basic problem is that one "uses" clause is serving two
masters: the needs of the form design and the wishes of the user.
Provide two discrete mechanisms and the problem disappears.
e.g. retain the "uses" clause as the user specified list of units to be
used by the unit.
Add a second "references" clause (or similar) that is maintained by the
IDE.
The actual "uses" list of a unit is the union of the "uses" and
"references" lists. So if a user explicitly adds a unit to the "uses"
list, it stays there. If they explicitly add a unit to the references
list it might be removed.
In this scenario the IDE could even give the user the option:
"Unit XXX is no longer referenced by any components on the form design.
Do you wish to remove it from the references list or move it to the uses
list?"
The IDE won't ever make suggestions or make changes to the "uses" list
itself since this is deemed to be the space in which the user knows what
they are doing.
+0.02
--
Jolyon Smith
WHILE INKEY$ WEND
.
- Follow-Ups:
- Re: Sorry, but not happy with D2007
- From: Allen Bauer (CodeGear)
- Re: Sorry, but not happy with D2007
- References:
- Sorry, but not happy with D2007
- From: Steve Thackery
- Re: Sorry, but not happy with D2007
- From: Mark Smits
- Re: Sorry, but not happy with D2007
- From: Allen Bauer (CodeGear)
- Sorry, but not happy with D2007
- Prev by Date: Re: From a newbie: first impressions really do count
- Next by Date: Re: So, how's D2007?
- Previous by thread: Re: Sorry, but not happy with D2007
- Next by thread: Re: Sorry, but not happy with D2007
- Index(es):
Relevant Pages
|