defect in TCustomForm.GetMonitor
Issue #33
resolved
the result from TCustomForm.GetMonitor will always be Nil. these is a new problem since 0.2.228 will be called in SetWindowToMonitor for show a form with DefaultMonitor different from dmDesktop
Comments (3)
-
repo owner -
reporter I have found the Problem: in the Formcreate i had these code: ClientWidth := Image1.Picture.Width; ClientHeight := Image1.Picture.Height;
But for test i have cleared the Image.picture so Clientwidth and ClientHeight was 0 and there is the problem..
In these case the GetMonitor is not working. After commenting out these lines all is working again
-
repo owner - changed status to resolved
- Log in to comment
I've just checked, GetMonitor works ok for me.