nightmare3519 Posted May 16, 2012 Share Posted May 16, 2012 Arkadaşlar aslında amacım şu; Program kaç tane sürücü olduğunu bulacak ve Combobox a ekleyecek Comboboxta seçilen sürücülerin bilgilerini paragraph a aktaracak Apz dosyası bu maalesef birşeyler denedim ama olmadı Aslında dosya gerektirecek bir şey yok ama yinede vereyim http://www.mediafire.com/?br2cd9eawex1x1x Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted May 16, 2012 Share Posted May 16, 2012 [b]Page On Show ;[/b] [codebox] tDrives = Drive.Enumerate(); for i,v in pairs(tDrives) do sType = Drive.GetType(v); if sType == DRIVE_FIXED then ComboBox.AddItem("ComboBox1", v, ""); end end ComboBox.SetSelected("ComboBox1", 1); [/codebox] [b]ComboBox On Select ;[/b] [codebox] local sDrive = ComboBox.GetItemText("ComboBox1", e_Selection); sLabel = Drive.GetInformation(sDrive); Paragraph.SetText("Paragraph1", sLabel.DisplayName); [/codebox] Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted May 16, 2012 Author Share Posted May 16, 2012 Abi Error: too many syntax hatası verdi Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted May 16, 2012 Editor Share Posted May 16, 2012 http://www.mediafire.com/download.php?yl5yxk8brcsil6k Al bakalım Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted May 16, 2012 Author Share Posted May 16, 2012 [quote name='pairs' date='16 May 2012 - 17:57 ' timestamp='1337180245' post='1201602'] http://www.mediafire.com/download.php?yl5yxk8brcsil6k Al bakalım [/quote] Çalıştı eline sağlık 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.