Albin said:
Hi John,
I am using C# for Project 2003. The problem occurs when I try to modify the
Task Table in the Gantt View to show certain columns and tasks. The following
actions cannot be done when edit control is in a cell:
- insert a new column: ActiveProject.Application.TableEdit(...) and
ActiveProject.Application.TableApply(...).
- figure out if a column is present in the task table:
ActiveProject.Application.SelectTaskColumn(...)
- display the project summary task: ActiveProject.DisplayProjectSummaryTask
= true
Is there a way to do these actions in the background? If not possible, I
would like to remove the edit control from the cell somehow.
Albin
Albin,
Sorry, I haven't worked with C#. I work exclusively with VBA. I
understand it is just as fast and a whole lot easier to work with.
I interpreted that what you meant by "edit control" was that a given
field cell was active - at least that what it means in VBA. Regardless
of what field cell is active, all of the methods you listed can be
performed with VBA. However, since they all deal with the active view,
they cannot be done using background processing.
I don't know if this helps much but it's the best I can offer. Maybe
someone with some C# experience can shed a little more light for you.
John
Project MVP