Jump to content

About Login Form


mcb

Recommended Posts

Değerli arkadaşlar,

Unigui yeni test etmeye başladım.  sitedeki dokumanlara gore birşeyler yapılıyorum ama login form kısmında takıldım.  ok buttonuna basıldıgında db ye bağlanıp sorgulama yapıyorum. ama sonuç ne olursa olsun mainForm direk görüntüleniyor.  normalde ModalResult := mrOk kodundan sonra olması gerekmiyormu.

Link to comment
Share on other sites

i wondered something..

procedure TUniMainModule.UniGUIMainModuleBeforeLogin(Sender: TObject;
  var Handled: Boolean);

the Handled param. if i set false Handled, login is canceled.?

Link to comment
Share on other sites

i still have problem.

 whenever i do a database  connecttion, then mainform  appears. iam using mydac components and my myConnection component in mainForm

 

Edit: i move the my connecttion components to uniMainModule and my problem solved.

another question: i store my functions and procedures in uniMainModule. is that good idea?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...