Re: Sorry, but not happy with D2007



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
.



Relevant Pages

  • Re: IDE or Editor for VBS? --Intellisense support
    ... I'm using early binding. ... > You can't add the references on MSE(MS script editor). ... > You can add the references for various type-libraries on VBE. ... declare object variables using 'As' clause. ...
    (microsoft.public.scripting.vbscript)
  • Re: IDE or Editor for VBS?
    ... You can add the references for various type-libraries on VBE. ... 'Reference for Lotus Notes Automation Classes ... > - How do I use early binding or late binding to call intellisense? ... declare object variables using 'As' clause. ...
    (microsoft.public.scripting.vbscript)
  • Re: oracle indexes
    ... Sometimes I will do a query with a where clause that just references ... queries referencing a or a,b or a, b,c. ...
    (comp.databases.oracle.misc)
  • Re: oracle indexes
    ... Sometimes I will do a query with a where clause that just references ... queries referencing a or a,b or a, b,c.  But, I am not as familiar ...
    (comp.databases.oracle.misc)
  • Re: IDE or Editor for VBS?
    ... > You can't add the references on MSE. ... >> - How do I use early binding or late binding to call intellisense? ... declare object variables using 'As' clause. ... declare object variables without 'As' clause. ...
    (microsoft.public.scripting.vbscript)