Web表单中的字体选择器 [英] Font style picker in web form

查看:77
本文介绍了Web表单中的字体选择器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在使用Web应用程序.在这里,我必须授予用户在运行时更改网站字体样式的权利.如果我在文本框中输入手写字体样式,则它可以正常工作.但是我想显示一个字体样式对话框框,以便用户可以从中显示字体样式.

在此先感谢.

Hi,
I am working on a web application.Where i have to give the right to user to change font style of the site at run time.its working fine if i give handwritten font style in text box.But i want to show a font style dialog box to user so that user can pic font style from it.

Thanks in advance.

推荐答案

这很简单.只需将字体样式放入下拉列表中并为其分配值,然后当用户从下拉列表中选择字体样式时,您将获得所选项目的值,并在将其放入文本框中时执行您正在做的事情.
This is very simple. Just put the font styles in a drop down list and assign values for them, and then when a user selects a font style from the drop down you get the value of selected item and do the thing that you are doing when he puts in text box.


您好,

看看下面的链接是否对您有帮助:

http://www.dotnetspider.com/forum/201399-Fontdialog- box-color-picker-asp.net.aspx [ ^ ]
Hello,

See if below link helps you:

http://www.dotnetspider.com/forum/201399-Fontdialog-box-color-picker-asp.net.aspx[^]


这篇关于Web表单中的字体选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆