Ver Mensaje Individual
  #2  
Antiguo 23-04-2005
Avatar de roman
roman roman is offline
Moderador
 
Registrado: may 2003
Ubicación: Ciudad de México
Posts: 20.269
Reputación: 10
roman Es un diamante en brutoroman Es un diamante en brutoroman Es un diamante en bruto
Usa el mensaje WM_WINDOWPOSCHANGING:

Código Delphi [-]
type
  TForm1 = class(TForm)
  private
    procedure WMWindowPosChanging(var Msg: TWMWindowPosChanging);
      message WM_WINDOWPOSCHANGING;
  end;

implementation

procedure TForm1.WMWindowPosChanging(var Msg: TWMWindowPosChanging);
begin
  inherited;

  {
    Aquí ajustas la posición de Form2
  }
end;

// Saludos
Responder Con Cita