MasterWoo Posted February 3, 2012 Share Posted February 3, 2012 SQLite'den combobox'a veri cekemiyorum.Kullandığım kod aşağıda [spoiler]SQLite3Cursor, err = SQLite3Connection:execute("SELECT * FROM omgi"); satir = SQLite3Cursor:fetch({},"a"); while satir do ComboBox.AddItem("omgiler", satir.omgiadi, "") satir = SQLite3Cursor:fetch(satir,"a"); end[/spoiler] Hatam nerede anlamadım listbox'a cekiyor ama combobox'a neden cekmiyor.? Nedenini anlatırsanız iyi olur ? Quote Link to comment Share on other sites More sharing options...
KintaRo Posted February 3, 2012 Share Posted February 3, 2012 proje örneğini koyun o şekilde inceleyelim. Quote Link to comment Share on other sites More sharing options...
MasterWoo Posted February 3, 2012 Author Share Posted February 3, 2012 (edited) [code]https://skydrive.live.com/redir.aspx?cid=c032e6eeebd24c55&resid=C032E6EEEBD24C55!131&parid=root[/code] Edited February 3, 2012 by F.unal Quote Link to comment Share on other sites More sharing options...
KintaRo Posted February 3, 2012 Share Posted February 3, 2012 kodlarınız sayfanın On Preload kısmında yani henüz nesneler sayfada oluşturulmamışken nesnelere veri girdirmeye çalışıyor. Kodlarınızı page On Show evresine ekleyin, problem kalmaz. Ayrıca kodların sonuna şu koduda ekleyinde 1. satırı seçili hale getirsin: [code]ComboBox.SetSelected("omgiler", 1)[/code] 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.