bilcan Posted December 24, 2016 Share Posted December 24, 2016 Merhaba, uniGui de çok yeniyim. Bir unit create ettim ve içinede basit bir class yazdım, bu class tan ana form daki nesnelere erişmek isterken access vialation alıyorum. Sebebi nedir? Quote Link to comment Share on other sites More sharing options...
Freeman35 Posted December 25, 2016 Share Posted December 25, 2016 "access vialation" hatasını create edilmemiş nesneye erişmek istediğinde alırsının, kodu yazarsan sorun daha net anlaşılır olacak sanırım. Quote Link to comment Share on other sites More sharing options...
bilcan Posted December 25, 2016 Author Share Posted December 25, 2016 Şöyle yazayım o zaman. unit Test; Uses Main; .... Ttest.deneme; begin FrmMain.Caption:='Deneme'; end; Burada Main form un adını FrmMain olarak değiştirdim, ulaşmaya çalışırken başka bir unit den Access Via. alıyorum. Ama sonuçta Ana form zaten create edilmiş halde. Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted December 25, 2016 Share Posted December 25, 2016 Merhaba, Test uniti LoginForm mu? Quote Link to comment Share on other sites More sharing options...
bilcan Posted December 26, 2016 Author Share Posted December 26, 2016 Merhaba, sorun form un üzerine koyduğum component in event trigger ından kaynaklanıyormuş, teşekkürler. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.