yusuf1284 Posted July 12, 2014 Share Posted July 12, 2014 (edited) Edited September 4, 2014 by yusuf1284 Quote Link to comment Share on other sites More sharing options...
KintaRo Posted July 12, 2014 Share Posted July 12, 2014 İki yöntem kullanabilirsiniz: 1- Satırdaki hücre metinlerini alarak 2- Satır Datasını alarak Bu kod size seçilen satırın ilk sütununda yazan metni verir. TreeList.GetCellText("liste", TreeList.GetSelected("liste"), 0) Bu kod ise seçilen satırın data bölümünde saklanan değeri verir. TreeList.GetRowData("liste", TreeList.GetSelected("liste"))* Burada dikkat etmeniz gereken Satır data olarak sadece sayı saklayabilir. Bu datayı satırı eklerken oluşturmalısınız. TreeList.AddRow("liste", "deger1" .. "|" .. "deger2", nil, 0, 73) Bu koddaki 73 sayısı artık o satırın datası olmuş demektir. Bunu yukarıdaki kodla alıp kullanabilirsiniz. Ben genelde SQL işlemlerinde tablodaki satır id'sini buradaki data haznesinde saklayıp kullanıyorum. 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.