Ver Mensaje Individual
  #11  
Antiguo 15-11-2012
Avatar de Neftali [Germán.Estévez]
Neftali [Germán.Estévez] Neftali [Germán.Estévez] is offline
[becario]
 
Registrado: jul 2004
Ubicación: Barcelona - España
Posts: 18.285
Reputación: 10
Neftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en bruto
He hecho una pequeña prueba y más o menos me referíá a esto. Subo el ejemplo al FTP (Redimensionar Formulario).

En mi caso con un código como este, que básicamente oculta el panel y cambia un par de alineaciones para que se "reajuste".

Código Delphi [-]
  if CheckBox1.Checked then begin
    Panel2.Align := alTop;
  end
  else begin
    Panel2.Align := alNone;
  end;
  // Cambiar el estado
  Self.AutoSize := False;
  Self.AutoSize := True;
  // 
  Panel2.Visible := CheckBox1.Checked;
__________________
Germán Estévez => Web/Blog
Guía de estilo, Guía alternativa
Utiliza TAG's en tus mensajes.
Contactar con el Clubdelphi

P.D: Más tiempo dedicado a la pregunta=Mejores respuestas.
Responder Con Cita