Getting geometry to stick to grid?

Went into top view and tried the right clicking corner thing. Although this seems to nothing except give me the X and Y arrows.