wsMaximized forms do not appear maximized

I Can reproduce with D7/Win7. I don’t use wsMaximized at all (similar random problems as you describe). Workaround: use OnActivate -> ShowWindow(Handle, SW_MAXIMIZE) e.g.: procedure TForm1.FormActivate(Sender: TObject); begin // Maximize only once when the Form is first activated if not FMaxsimized then begin FMaxsimized := True; ShowWindow(Handle, SW_MAXIMIZE); end; end; This method will not work … Read more

What’s the difference between Refresh, Update and Repaint?

According to the online documentation: Refresh – Repaints the control on the screen. Call Refresh method to repaint the control immediately. Refresh calls the Repaint method. Use the Refresh and Repaint methods interchangeably. Repaint – Forces the control to repaint its image on the screen. Call Repaint to force the control to repaint its image … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)