pro_imaj Posted July 3, 2015 Share Posted July 3, 2015 Merhaba; Mobil Projede Labelin Color değiştirmeme rağmen hep siyah çıkıyor, Label'in Yazı botu ayarlanmıyor mu? XE7 0.99.10.1182 Teşekkürler. Quote Link to comment Share on other sites More sharing options...
bugra Posted July 6, 2015 Share Posted July 6, 2015 Maalesef UnimLabel'in color ve font değişimi properties'ten ayarlanmıyor. ancak Label'a karşılık gelen div belirlenip (O2C_id şeklinde olur) ServerModule içerisinde CustomCSS ekleyerek sorununuzu çözebilirsiniz. Quote Link to comment Share on other sites More sharing options...
bugra Posted July 6, 2015 Share Posted July 6, 2015 ya da form'un onShow eventine şu kodu ekleyebilirsiniz procedure TMainmForm.UnimFormShow(Sender: TObject); var i: Integer; begin for i := 0 to ComponentCount - 1 do if Components[i] is TUnimLabel then begin UniSession.AddJS(' document.getElementById(MainmForm.'+ TUnimLabel(Components[i]).Name+'.getId( )).style.color = "red";'); UniSession.AddJS(' document.getElementById(MainmForm.'+ TUnimLabel(Components[i]).Name+'.getId( )).style.fontSize = "25px";'); end; end; Quote Link to comment Share on other sites More sharing options...
pro_imaj Posted July 6, 2015 Author Share Posted July 6, 2015 Merhaba; Cevaplar için teşekkür ederim. @BugraYenerSahinoglu Sanırım kendimi çok kasmadan normal unigui projesi yapacağım, Webde sadece veri gösterecektim, mobil proje yapmak şu durumda daha eziyetli geldi. Teşekkürler. İyi çalışmalar. 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.