DivaneTR Posted April 17, 2012 Share Posted April 17, 2012 [quote name='ReaLyMaN' date='17 April 2012 - 17:57 ' timestamp='1334674632' post='1187997'] else der boyutu çıkarırsın.Direkt kod verme şansım yok şu an [/quote] [b]Kral__'a demiştim. Kodları verse birşeyler çizeriz.[/b] Quote Link to comment Share on other sites More sharing options...
Kral__ Posted April 17, 2012 Share Posted April 17, 2012 realmany vermişti kodu onun tersini yaptırmak istiyorum function Say () nBoyut=0 nListe = TreeList.CountRows("Plugin1", false) for i=0,nListe-1 do if TreeList.GetRowChecked("Plugin1", i) == true then sProgram = TreeList.GetCellText("Plugin1", i, 1) sBoyut = File.GetSize(_SourceFolder.."\\Programlar\\"..sProgram ..".exe") nBoyut=nBoyut+sBoyut Label.SetText("Label1", String.GetFormattedSize(nBoyut), FMTSIZE_AUTOMATIC, true); end end end kod bu birçok deneme yaptım fakat olmuyor mesela + yerine - koysam ikinci defa seçdiğimdede bir değişme olmuyor Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted April 17, 2012 Author Share Posted April 17, 2012 (edited) Hmm tamam ben yanlış anlamışım.. Edited April 17, 2012 by nightmare3519 Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted April 17, 2012 Share Posted April 17, 2012 [b]TreeList'in On checked evresine yazsana bunu.[/b] Quote Link to comment Share on other sites More sharing options...
Kral__ Posted April 17, 2012 Share Posted April 17, 2012 ben bunu demek istememiştim seçilen bir programın seçimini kaldırıldığında seçilenlerin toplam boyutundan düşmüyor olay bu Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted April 17, 2012 Share Posted April 17, 2012 [quote name='Kral__' date='17 April 2012 - 18:17 ' timestamp='1334675840' post='1188013'] ben bunu demek istememiştim seçilen bir programın seçimini kaldırıldığında seçilenlerin toplam boyutundan düşmüyor olay bu [/quote] Tamam da şöyle bir durum var. Her seçim yapıldığında veya seçim kaldırıldığında label güncellenir. Mesela ben kendi aio projemde seçilen sayısını yapmıştım on checked evresi ile. Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted April 17, 2012 Author Share Posted April 17, 2012 (edited) [quote name='Baba_' date='17 April 2012 - 18:21 ' timestamp='1334676111' post='1188016'] Tamam da şöyle bir durum var. Her seçim yapıldığında veya seçim kaldırıldığında label güncellenir. Mesela ben kendi aio projemde seçilen sayısını yapmıştım on checked evresi ile. [/quote] Olmuyor işte abi mesela 896 kblık bir dosyamız var 2si birlikte 1792kb ediyor hadi 1.8Mb diyelim.. TreeListte seçim yapınca 896-1792 diye gidiyor fakat seçimleri tek tek kaldırınca ilk değer kalıyor labelde bunu nasıl sıfırlayabiliriz diyor Kral__ Edited April 17, 2012 by nightmare3519 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.