muttalip65 Posted May 30, 2018 Share Posted May 30, 2018 yetki 1 ya da 2 ise UniForm1 görüntüleniyor. Fakat yetki 3 olduğunda UniForm11 görüntülenemiyor hata veriyor. Yetki=3 de UniForm11 yerine UniForm1 i koyup denediğimde yine hata alıyorum. Hata kodunu ekteki dosyaya koydum. Sorun ne olabilir acaba. Çalışan Unigui versiyonu 1.10.0.1461. if yetki in [1,2] then // admin ve birim yöneticisi begin sorguAyarla; siteSayac(1); // siteye giriş yapıldı UniForm1.Parent:=MainForm; UniForm1.Show(); // admin ve birim yöneticisi end; if yetki=3 then // teknik eleman ise begin sorguAyarla; siteSayac(1); // siteye giriş yapıldı UniForm11.Parent:=MainForm; UniForm11.Show(); // TEKNİK ELEMAN end; Link to comment Share on other sites More sharing options...
Sherzod Posted May 30, 2018 Share Posted May 30, 2018 Hi, Can you make a simple testcase for this?! Best regards, Link to comment Share on other sites More sharing options...
Freeman35 Posted May 31, 2018 Share Posted May 31, 2018 Merhaba, UniForm ları manual create etsen? yani koşula göre gereken formu runtime da create etmek sorunu giderebilir sanırım. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now