There is a tutorial on the A* algorithm in the tutorials section. For the tutorial I've used a stringgrid to display the information so that it it is possible to see how the route is calculated.

Displaying the route on the grid is not included in the tutorial but an explanation on how to find the route is.