hdr... Posted September 10, 2013 Share Posted September 10, 2013 merhaba arkadaşlar bir txt veya ini dosyası hazırlayıp aşşağıdaki gibi bir arayüzden kontrol edebilirmiyim ? ileri ve geri butonlarıyla satırları göstericek ve kopyala butonuna basınca o an gözükeni kopyalıyacak. örnek ini dosyamın içeriği şu diyelim Quote satır1 satır2 satır3 satır4 arayüzde "satır2" varsa eğer ileri butonuna tıklayınca "satır3" e gidecek geri butonuna tıklayınca "satır1" e ve kopyala dediğim zaman arayüzde o an hangi satır varsa onu kopyalıyacak. Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted September 10, 2013 Share Posted September 10, 2013 Global bir değişken ile ini dosyasından alınan değerlerle yapılabilir. Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted September 10, 2013 Share Posted September 10, 2013 (edited) Şöyle bir şey yaptım.. Verilerin bölüm(INIFile.GetSectionNames), değeradı (INIFile.GetValueNames), değer(INIFile.GetValue) kodlarının hepsini aldım. Hepsini Input1 , Input2,Input3 e yazdırdım umarım işinize yarar. http://www.mediafire.com/download/7rkyonbym5p1j2s/ini_ornek.apz Kopyalama için Clipboard pluginini etkinleştirin ve Kopyala butonuna şunu yazın Clipboard.CopyText(Input.GetText("Input1")) Edited September 10, 2013 by nightmare3519 Quote Link to comment Share on other sites More sharing options...
hdr... Posted September 10, 2013 Author Share Posted September 10, 2013 Global bir değişken ile ini dosyasından alınan değerlerle yapılabilir. hocam bilgim yok ki o kadar :pc: Şöyle bir şey yaptım.. Verilerin bölüm(INIFile.GetSectionNames), değeradı (INIFile.GetValueNames), değer(INIFile.GetValue) kodlarının hepsini aldım. Hepsini Input1 , Input2,Input3 e yazdırdım umarım işinize yarar. http://www.mediafire.com/download/7rkyonbym5p1j2s/ini_ornek.apz Kopyalama için Clipboard pluginini etkinleştirin ve Kopyala butonuna şunu yazın Clipboard.CopyText(Input.GetText("Input1")) baya bi satır var o yüzden tek inputda göstertmem lazım :( Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted September 10, 2013 Share Posted September 10, 2013 Peki hangi değeri göstermek istiyorsunuz? ini dosyasının içindeki değerler şu şekildedir [section] valuename=value Hangi veriyi göstermek istiyorsunuz inputta? Quote Link to comment Share on other sites More sharing options...
hdr... Posted September 10, 2013 Author Share Posted September 10, 2013 Peki hangi değeri göstermek istiyorsunuz? ini dosyasının içindeki değerler şu şekildedir [section] valuename=value Hangi veriyi göstermek istiyorsunuz inputta? hocam verdiğiniz örnek oldu ama benim elimdeki liste çok uzun [section] valuename=value şu olayın basit yolu yok mudur ? Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted September 10, 2013 Share Posted September 10, 2013 (edited) ini dosyasının mantığıdır bu basit yolu bu zaten :D Mesela verdiğim örnekte en üstteki sectiondur. ikincisi valuename dir üçüncüsü value dir yani bir bölüm oluşturuyorsunuz ve içine alt bölümler yerleştiriyorsunuz. [bölüm] altbölüm = değeri altbölüm2 = değeri2 gibi Edited September 10, 2013 by nightmare3519 Quote Link to comment Share on other sites More sharing options...
byhabit Posted September 12, 2013 Share Posted September 12, 2013 daha detaylı anlatılırmı bilmiyorum helal olsun :) 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.