Fórum Bloquear redimensionamento de form pelo usuário #244553
27/07/2004
0
Henrique Rodrigues
Curtir tópico
+ 0Post mais votado
27/07/2004
BorderStyle = bsSingle
Aroldo Zanela
Gostei + 3
Mais Posts
27/07/2004
Cabelo
procedure P_Constraints(l_form : TForm; l_heigth, l_width : integer);
begin
l_form.WindowState := wsNormal;
l_form.Position := poScreenCenter;
l_form.Constraints.MaxHeight := l_heigth;
l_form.Constraints.MinHeight := l_heigth;
l_form.Constraints.MaxWidth := l_width;
l_form.Constraints.MinWidth := l_width;
end;
no evento oncreate do form eu ponho esta procedure, e funciona legal..
espero ter ajudado..
Cabelo
Gostei + 0
27/07/2004
Aroldo Zanela
Veja esta thread: http://delphiforum.icft.com.br/forum/viewtopic.php?t=9764
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)