Other information: when I debug, if I set a breakpoint after the messagebox, the map works fine. I feel that the map has not the time to refresh after the closure of the messageBox. But I already tried refresh(), redraw(), focus(), ect...
↧