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. 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. 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; 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now