Updates: Status: WontFix Comment #5 on issue 245 by benoit.m... at ...626...: Wrong behaviour in desktop.w and screen.w on dual head? http://code.google.com/p/gambas/issues/detail?id=245 You should use the Rect class and its Union() method. It's easier with it.