Kral__ Posted October 1, 2011 Share Posted October 1, 2011 Arkadaşlar combobox ile yazı tipini değiştirebiliriz?Mesela Seçtiğimizde Arial,Tahoma gibi yazı tiplerine dönüşecek. Quote Link to comment Share on other sites More sharing options...
Bitmap Posted October 1, 2011 Share Posted October 1, 2011 neyin yazı tipini değiştirmeye çalışıyorsun.? comboboxun mu? Quote Link to comment Share on other sites More sharing options...
Kral__ Posted October 1, 2011 Author Share Posted October 1, 2011 hayır label ınput gibi Quote Link to comment Share on other sites More sharing options...
Nate Posted October 1, 2011 Share Posted October 1, 2011 çok kolay Quote Link to comment Share on other sites More sharing options...
Kral__ Posted October 1, 2011 Author Share Posted October 1, 2011 biliyosan bi anlatırmısın Quote Link to comment Share on other sites More sharing options...
Bitmap Posted October 1, 2011 Share Posted October 1, 2011 (edited) internet cafedeyim.. ams yi kurup bi örnek hazırlıyorum Edited October 1, 2011 by Kazım Quote Link to comment Share on other sites More sharing options...
Nate Posted October 1, 2011 Share Posted October 1, 2011 yok, bugün havamda değilim. [color="#0000FF"][b]Gereksiz iletilerden kaçınalım, uyarı aldınız.[/b][/color] Quote Link to comment Share on other sites More sharing options...
Bitmap Posted October 1, 2011 Share Posted October 1, 2011 (edited) [color="#FF0000"][b]Global Function[/b][/color] : [code]tFonts ={"Arial","Comic Sans MS","Verdana","Arial Black","Arial Narrow"} [/code] [color="#FF0000"][b]Page On Show : [/b][/color][code]for i in pairs(tFonts) do ComboBox.AddItem("ComboBox1", tFonts[i], ""); end ComboBox.SetSelected("ComboBox1", 0); [/code] [b][color="#FF0000"]Combobox on Select :[/color][/b] [code]sAl = ComboBox.GetSelected(this); if sAl ~= -1 then tFont={} tFont.FontName = tFonts[sAl] Input.SetProperties("Input1", tFont); end[/code] [quote]http://www.mediafire.com/?0y4pm2mhjihzjxw[/quote] Edited October 1, 2011 by Kazım Quote Link to comment Share on other sites More sharing options...
Kral__ Posted October 1, 2011 Author Share Posted October 1, 2011 çok sağol ama bu neden labellerde olmuyo Quote Link to comment Share on other sites More sharing options...
Bitmap Posted October 1, 2011 Share Posted October 1, 2011 [quote name='Kral__' date='01 October 2011 - 14:18 ' timestamp='1317467901' post='1088016'] çok sağol ama bu neden labellerde olmuyo [/quote] [b][color="#FF0000"]Combobox on Select :[/color][/b] [code]sAl = ComboBox.GetSelected(this); if sAl ~= -1 then tFont={} tFont.FontName = tFonts[sAl] [color="#0000FF"]Input.SetProperties("Input1", tFont);[/color] end[/code] mavi ile gösterilen yer yerine [b][color="#FF0000"]Label.SetProperties("Label1", tFont);[/color][/b] kodunu ekle 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.