hakan3406 Posted November 22, 2011 Share Posted November 22, 2011 Butona bastığımda kişi bilgileri açılacak yeni pencerede görünsün istiyorum. Bunu nasıl yapabilirim? Quote Link to comment Share on other sites More sharing options...
NotToday Posted November 22, 2011 Share Posted November 22, 2011 dialog kullansan olur mu? Quote Link to comment Share on other sites More sharing options...
pilgetir Posted November 22, 2011 Share Posted November 22, 2011 Bunu dialog ile yapabilirsin şimdi öncelikle kişi bilgilerini kaydedelim.Bir dilaog,4 adet ınput ve iki adet buton ve dialog sayfasında bir adet listbox oluştur. Bilgileri aç butonu; [quote]DialogEx.Show ("Dialog1");[/quote] Kaydet butonu onclick; [quote]strAd = Input.GetText("ad") strTel = Input.GetText("tel") strVd = Input.GetText("adres") strVno = Input.GetText("email") if strAd ~= "" and strTel ~= "" and strVd ~= "" and strVno ~= "" and strAdres ~= "" then INIFile.SetValue("Autoplay\\Docs\\kayit.ini", strAd, "ad", strAd) INIFile.SetValue("Autoplay\\Docs\\kayit.ini", strAd, "tel", strTel) INIFile.SetValue("Autoplay\\Docs\\kayit.ini", strAd, "adres", strVno) INIFile.SetValue("Autoplay\\Docs\\kayit.ini", strAd, "email", strVd) Dialog.Message("Program", "Bilgileri Kaydedildi!", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1) DialogEx.Close() Input.SetText("ad", "") Input.SetText("tel", "") Input.SetText("adres", "") Input.SetText("email", "") else Dialog.Message("Hata", "Lütfen Gerekli Alanları Doldurunuz!", MB_OK, MB_ICONSTOP, MB_DEFBUTTON1) end [/quote] Dialog1 sayfasının on show bölümüne; [quote]ad = INIFile.GetValue("AutoPlay\\Docs\\kayit.ini", "Mert", "ad"); ListBox.AddItem("ListBox1", "Ad Soyad: "..ad, ""); tel = INIFile.GetValue("AutoPlay\\Docs\\kayit.ini", "Mert", "tel"); ListBox.AddItem("ListBox1", "TelNo: "..tel, ""); adres = INIFile.GetValue("AutoPlay\\Docs\\kayit.ini", "Mert", "adres"); ListBox.AddItem("ListBox1", "Adres: "..adres, ""); email = INIFile.GetValue("AutoPlay\\Docs\\kayit.ini", "Mert", "email"); ListBox.AddItem("ListBox1", "E-mail: "..email, ""); [/quote] Quote Link to comment Share on other sites More sharing options...
hakan3406 Posted November 23, 2011 Author Share Posted November 23, 2011 Hocam, Page1'de bir tane Tree1 nesnem ve 1 adet Dialog1 pencerem var. Tree1 nesnesinin items ları şöyle; 1. Hakan CANBAY 1.1. Resimler 1.2. Video 2. Erva AYDOĞDU 2.1. Resimler 2.2. Video 3-4-5 .... 30 a kadar gidiyor. Benim yapmak istediğim; Sadece 1 adet Dialog kullanarak (2 adette olabilir: resim ve videolar için ayrı ayrı) Page1 deki Tree1 nesnesinde; 1.1 'e tıkladığımda; Dialog1 de Hakan CANBAY'a ait resimler 1.2 'e tıkladığımda; Dialog1 (veya Dialog2) de Hakan CANBAY'a ait video 2.1 'e tıkladığımda; Dialog1 de Erva AYDOĞDU'ya ait resimler 2.2 'e tıkladığımda; Dialog1 (veya Dialog2) de Erva AYDOĞDU'ya ait video görüntülensin istiyorum. Takıldığım yer: Tree nesnesindeki koşulu Dialogda nasıl komutlaştırabilirim? 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.
Note: Your post will require moderator approval before it will be visible.