Jump to content


Photo

[TRUCOS DELPHI] Cambiar el Formulario Principal en tiempo de Ejecucion.


  • Please log in to reply
No replies to this topic

#1 sir.dev.a.lot

sir.dev.a.lot

    Advanced Member

  • Miembros
  • PipPipPip
  • 545 posts
  • Location127.0.0.1

Posted 23 August 2016 - 02:00 PM

[TRUCOS DELPHI] Cambiar el Formulario Principal en tiempo de Ejecucion.


delphi
  1. procedure SetAsMainForm(aForm:TForm);
  2. var
  3. P:Pointer;
  4. begin
  5. P := @Application.Mainform;
  6. Pointer(P^) := aForm;
  7. end;

Saludos!


  • 1




IP.Board spam blocked by CleanTalk.