I've developed a program in Delhi that has two forms , one with a grid and another with a map, the operation is simple: of the vehicle is updated on the map, the problem is that every time I call the procedure on the map form to update the position I lose the focus of the form containing the grid , and even if I throw the focus back ugly the windows changing colors due to losing focus.
How can I update the data in the secondary window without having to focus on it?