ChenHaibin Posted December 4, 2013 Posted December 4, 2013 In unigui 0.9422,How to make loginform centered when resizing the browser? Quote
fcarvalho4 Posted December 4, 2013 Posted December 4, 2013 procedure TfrmLogin.UniFormScreenResize(Sender: TObject; AWidth, AHeight: Integer);begin Self.Left := AWidth div 2 - Self.Width div 2; self.Top := AHeight div 2 - Self.Height div 2;end; i hope has solved your problem?! Quote
ChenHaibin Posted December 5, 2013 Author Posted December 5, 2013 The problem is still not resolved。 Environment: Win7 64 bit + delphi 2010 Quote
fcarvalho4 Posted December 5, 2013 Posted December 5, 2013 see the example on the link http://forums.unigui.com/index.php?/topic/3676-formresize/ Quote
ChenHaibin Posted December 6, 2013 Author Posted December 6, 2013 0.941022 version loginform with your method does not work. But for mainform effect can be reached Quote
fcarvalho4 Posted December 6, 2013 Posted December 6, 2013 i use the 0.93.1.1000 version and works well in all forms. maybe is a bug Quote
ChenHaibin Posted December 7, 2013 Author Posted December 7, 2013 loginform is a new feature in 09.4 Quote
ChenHaibin Posted December 8, 2013 Author Posted December 8, 2013 The OnScreenResize event of LoginForm can not be fired in 0.94.0.1024. LoginForm.rar Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.