DevLoper Posted August 13, 2017 Share Posted August 13, 2017 Merhabalar şöyle bir sıkıntım var benim ben genel bir unit yapıyorum da unit içinde Showmessage methodunu kullanmak istiyorum fakat aktif formu bilemediğim için showmessage komutunu kullanamıyorum, nasıl yapabilirim. Quote Link to comment Share on other sites More sharing options...
DevLoper Posted August 13, 2017 Author Share Posted August 13, 2017 Şöyle bir durumda var ben yaptığım bu unit içinden mainmodule de ulaşmak istiyorum diyeceksinizki paramatre ile gönderin ben intrawebdeki gibi yapmak istiyorum unit içinde UniMainModule dediğimde o sessiona ait UniMainModule getirmesini istiyorum. Teşekkürler Quote Link to comment Share on other sites More sharing options...
DevLoper Posted August 13, 2017 Author Share Posted August 13, 2017 Tamamdır hallettim şu şekilde TUniForm(UniMainModule.MasterForm).ShowMessage('Mesaj') Quote Link to comment Share on other sites More sharing options...
alucard Posted August 14, 2017 Share Posted August 14, 2017 kendin pişir kendi ye gibi bişey olmuş hocam Quote Link to comment Share on other sites More sharing options...
DevLoper Posted August 14, 2017 Author Share Posted August 14, 2017 Ama olsun kodu'da paylaştım bak size de ikram ettim :D Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 14, 2017 Administrators Share Posted August 14, 2017 UniGUIDialogs unit'i eklenirse direkt ShowMessage çağrılabilir. 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.