--- In [EMAIL PROTECTED], Erwin <[EMAIL PROTECTED]> wrote:
> dear guys ...
> 
> saya membuat aplikasi MDI, dari form login bisa masuk
> ke form MDI (fsMDIForm), namun waktu mau buka window
> child nya muncul  : "No MDI Form are currently active"
> 
> tapi kalo gak ada login formnya, aplikasi MDI jalan
> sempurna ...
> 
> apa yang salah ya?
> 

Buka Project Sourcenya (Project->View souce), edit kira-kira seperti 
ini:

var
  Loged: Boolean;

begin
  Application.Initialize;

  with TLoginForm.Create(Application) do
  begin
    ShowModal;
    Loged := ...;//tentukan flagnya dari LoginForm
    Free;
  end;

  if Loged then
  begin
    ... //mungkin ada yg perlu diload disini
    Application.CreateForm(TMainForm, MainForm);
    ... //mungkin ada yg perlu diload disini
    Application.Run;
  end
  else Application.Terminate;
end;


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/i7folB/TM
---------------------------------------------------------------------~->

Berlangganan: [EMAIL PROTECTED]
Stop Berlangganan: [EMAIL PROTECTED]
Keluhan Milis(Unbouncing,spam,dll): [EMAIL PROTECTED] 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


Kirim email ke