prototype Posted October 7, 2011 Share Posted October 7, 2011 (edited) Arkadaşlar Dialog sayfasına birtane Combobox koydum ve on click evresine aşağıdaki kodu koydum. Şimdi arkadaşlar global functiona koyduğum kod ile amsde bulunan tüm sayfalardaki resimi değiştirmeyi çalışıyorum ama olmuyor. [b]Combobox On Click Evresine[/b] [code]if e_Selection == 1 then temalar () end if e_Selection == 2 then temalar1 () end if e_Selection == 3 then temalar2 () end if e_Selection == 4 then temalar3 () end [/code] Global Functions'a [code]function temalar1 () Image.Load("tema", "Data\\Image\\tema_sari.png"); end function temalar2 () Image.Load("tema", "Data\\Image\\tema_yesil.png"); end function temalar3 () Image.Load("tema", "Data\\Image\\tema_kirmizi.png"); end[/code] Bu kodları koydum ama yinede tüm sayfalardaki resmi değiştiremiyorum . Not: Bu arada eklemeyi unutmuşum kendi sayfasındaki resmi değiştiriyor ama diğer sayfalardakini değiştirmiyor. Yardım edeceklere teşekkürler.. Edited October 7, 2011 by prototype Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted October 7, 2011 Share Posted October 7, 2011 [b]Yapmak İstediğini Tam Anlamadım Kodlardan. Proje Verirsen Bakabilirim. Ayrıca On Click Evresindeki If Koşullanmasında elseif Kullanarak Yapmayı Dene.[/b] Quote Link to comment Share on other sites More sharing options...
prototype Posted October 7, 2011 Author Share Posted October 7, 2011 Dediğini yaptım olmadı ancak kodlar sadece kendi sayfasında çalışıyor. Kısaca şöyle özetleyim bir button oluşturdum ve ona basınca diğer tüm sayfalardaki resmi değiştirecek bunu nasıl yapabiliriz. Yukarıda verdiğim kodlarla bu olmadı. Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted October 7, 2011 Share Posted October 7, 2011 [b]Peki Sayfaların On Show Evresine Temayı Global'den Alıp Değiştirmesi İçin Kod Yazdın Mı ?[/b] Quote Link to comment Share on other sites More sharing options...
prototype Posted October 7, 2011 Author Share Posted October 7, 2011 [quote name='Baba_' date='07 October 2011 - 16:46 ' timestamp='1317998818' post='1091208'] [b]Peki Sayfaların On Show Evresine Temayı Global'den Alıp Değiştirmesi İçin Kod Yazdın Mı ?[/b] [/quote] İşte bunu yapmadım zaten aklıma gelmedi. Bunu nasıl yapabiliriz acaba ? Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted October 7, 2011 Share Posted October 7, 2011 [center][b]Proje Ver Bakalım. Özelse Mesaj Olarak Gönder.[/b][/center] Quote Link to comment Share on other sites More sharing options...
prototype Posted October 7, 2011 Author Share Posted October 7, 2011 Projeyi upload ediyorum az sonra atıcam öm ile. Projeyi açınca anlarsın ne demek istediğimi. Quote Link to comment Share on other sites More sharing options...
0mh3r Posted November 13, 2011 Share Posted November 13, 2011 [b]Aynı İşlemi Bende Yapmak İstiyorum Lütfen Bi Örneyini Paylaşırmısınız Çok Sevinirim.[/b] Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted November 13, 2011 Share Posted November 13, 2011 prototype Yeni Öğrendiğim Birşeyle OnTimer Kullanmadan da İstediğini Yapabiliyormuşuz. OnTimer'deki tüm kodları sil. Ve Dialogu Aç Butonuna [codebox] DialogEx.Show("Dialog1", true, nil, nil); Page.Jump("Page1"); [/codebox] Yazman Yetiyormuş. 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.