Skip to content

Auto Draw

Location on ribbon: Tab DVD Cons → Group Schedule

Command ID: ToggleAutoDraw

What it does

Controls whether the Gantt chart is redrawn automatically after each recalculation. ON: the add-in waits about 0.7 seconds after you stop typing, then repaints the chart. OFF: dates still recalculate, but the chart stays as it is until you click Gantt Chart.

This separates the cheap work (editing numbers) from the expensive work (repainting). On schedules with a few hundred activities, switching it off makes data entry noticeably smoother.

How to use

  1. Turn on Auto Calc first — Auto Draw only has an effect while Auto Calc is running.
  2. Go to the DVD Cons tab → Schedule group → click Auto Draw.
  3. The button stays highlighted while it is ON, and the Excel status bar confirms it: Tự động vẽ: ON — sau khi sửa, Gantt tự vẽ lại (chờ ~0.7s khi ngừng gõ). The message clears after about 6 seconds.
  4. Click again to turn it OFF; the status bar then reads Tự động vẽ: OFF — chỉ tính lại ngày; bấm "Vẽ tiến độ" để cập nhật biểu đồ.
  5. While it is off, refresh the chart whenever you like from ScheduleGantt Chart.

Example

A rural road-works programme with 220 activities, charted by week. You need to review the durations across the whole Pavement structure section.

Turn Auto Draw off but leave Auto Calc on. You edit dozens of durations in a row — the dates update instantly, but the chart does not flicker and repaint, so scrolling and typing stay responsive. When you are done, turn Auto Draw back on (or click Gantt Chart once) so the picture matches the new numbers.

Notes

  • The toggle does nothing while Auto Calc is off — with no recalculation cycle there is no redraw to gate.
  • The state is stored in the registry, so it survives closing and reopening Excel.
  • The redraw reuses the scale, column width and start column you chose the last time you ran Gantt Chart.
  • The add-in never draws while a cell is in edit mode; if the cursor is still blinking in a cell, the chart updates only once you commit the cell.
  • Automatic redraws overwrite the chart area and cannot be undone with Ctrl+Z.
  • Auto Calc — the master switch; this toggle is inert without it.
  • Gantt Chart — refresh the chart manually and reset the scale / start column.
  • Setup — change the working calendar and default scale used on redraw.

Released under DVDAddin License.