如何在文本框中创建静态否定符号( - ) [英] How to create a static negation sign (-) in a textbox

查看:61
本文介绍了如何在文本框中创建静态否定符号( - )的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨社区专家,


环境

MS Acess,visual basic


我想知道是否是有没有办法在文本框中创建静态否定符号( - )?是否有可能使用表达式构建器或代码方式完成此操作。如果是这样的话,它可以实现吗?这意味着每当加载表单时,否定符号将存在,并且它是mux是静态的。 tks

Hi community experts,

Environment
MS Acess, visual basic

May i knw whether is there a way to create a static negation sign (-) in a textbox? Is there a possiblity that this can be done using expression builder or code wise. If so hw can it be achieved? It mean that whenever the form is being loaded, the negation sign will be there and it mux be static. tks

推荐答案

将控件的控制源设置为(=" - ")。
Set the Control Source of the control to (="-").


我不知道你在这种背景下静态是什么意思。

尝试一下,如果你想做的就好了,只需回复确认。如果它没有,请尽可能清楚地告诉我们你还需要什么。
I don''t know what you mean by being static in this context.
Try it out, if it does what you want fine, just post back confirming. If it doesn''t, just let us know what else you need as clearly as you can.


我认为它是输入掩码你'正在寻找。
I think it''s the Input Mask you''re looking for.


这篇关于如何在文本框中创建静态否定符号( - )的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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