选择文本框数据的一部分并更改此部分的字体而不是所有文本框值 [英] select a part of textbox data and change font of this part not all textbox value

查看:67
本文介绍了选择文本框数据的一部分并更改此部分的字体而不是所有文本框值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好吧

在ms-access 2010中,我有一个带有一些文本框的表单我的文本框之一是p_name文本框,在表单上放置到带有单选按钮的不同字体...我想要使用单选按钮字体更改文本框值的selectedt部分的字体..当我选择文本框值的一部分并在单选按钮中选择另一种字体时,文本框中此部分的字体必须更改为该新字体

hi everybody
in ms-access 2010, i have a form with some textbox one of my textbox is p_name textbox over the form a put to different fonts with radio buttons ... i want to change the font of selectedt part of textbox value with radio button font .. when i select part of textbox value and i select another font in radio buttons the font of this part in textbox must change to that new font

推荐答案

文本框中会有多少字体更改?例如,如果默认字体是Calibri,你是否只有一个部分可以说是Arial,或者你有更多的部分可以是Times New Roman,Courier New等?
How many font changes will be in the textbox? For example, if the default font is Calibri, would you only have one section that would be, say, Arial or would you have more sections that would be Times New Roman, Courier New, etc.?


Seth Schrock感谢您的回答

是的我希望一个部分只是另一种字体,只有两种字体,如果我选择文本框数据的任何部分并单击具有arila字体的单选按钮例如它必须将此部分更改为arila字体,因为更改它必须是另一种字体所有文本框数据
Seth Schrock thank you for your answer
yes i want one section would be another font only , only two font if i select any part of textbox data and click radio button that have arila font for example it must change this part to arila font , befor change it must be another font all textbox data


这是一个新选项吗?这肯定不是我听说过在TextBox中可以实现的东西。


这可能在Excel单元格中,但这是另一回事。


PS。我已经知道这是2010年的一个新选择。
Is that a new option? It''s certainly not something I''ve ever heard of being possible in a TextBox.

It''s possible in an Excel cell, but that''s quite another thing.

PS. I''ve since learned that it is a new option in 2010.


这篇关于选择文本框数据的一部分并更改此部分的字体而不是所有文本框值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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