That focus parameter in the webcam settings will only work if your webcam has a motorized focus ring. Most consumer webcams are non-focusable. They are made with a wide depth of focus, from a few feet to infinity. If it does have a manually focusable lens, you'll have to do it... manually.