Msgbox文本字体 [英] Msgbox text font

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

问题描述

您好。我有Access 2003,我发现Msgbox中显示的文本

显示的字体太小了。反正有没有增加

该文字的字体大小?


问候,

SueB


***通过开发人员指南 http://www.developersdex.com 发送***

解决方案

苏珊,

不,不是没有改变操作系统桌面操作系统的外观

设置。


一些建议;


1)使用大写粗体字符。粗体开关是两个@符号

,用字符串末尾的空格分隔,就像这样;


Msgbox UCase(这是我的大号大胆的消息@ @")

-or-


2)创建一个看起来像消息框的表单。这将为您提供

更多控制您使用的任何文本框中的字体。制作

popup,modal,更改边框样式并删除关闭框。


HTH。


好主意。谢谢。


问候,

SueB


***通过Developersdex发送 http://www.developersdex.com ***


Susan Bricker写了

好主意。谢谢。




另一种方法是创建自己的表单而不是

标准的MsgBox,这样你就可以控制这些因素。如果你想让模态形式在一段时间后自行关闭,那通常就是完成了。

那里没有MsgBox参数,但你可以创建一个带有计时器的表格

并自己动手。


Larry Linson

Microsoft Access MVP


Hi. I have Access 2003 and I am finding that the font in the text
displayed in Msgbox displays it too small. Is there anyway to increase
the font size of that text?

Regards,
SueB

*** Sent via Developersdex http://www.developersdex.com ***

解决方案

Susan,
No, not without changing the OS desktop operating system appearance
settings.

A couple of suggestions;

1) Use uppercase bold characters. The bold switch is two @ signs
separated by a space at the end of the string, like this;

Msgbox UCase("This is my big bold message @ @")

-or-

2) Create a form that looks like a message box. That will give you
more control over the fonts in whatever text boxes you use. Make it
popup, modal, change the border style and remove the close box.

HTH.


Great ideas. Thanks.

Regards,
SueB

*** Sent via Developersdex http://www.developersdex.com ***


"Susan Bricker" wrote

Great ideas. Thanks.



Another alternative is to create your own Form to use instead of the
standard MsgBox, so that you have control over these factors. That is often
done if you want the modal form to close itself after some period of time --
there''s no MsgBox argument for that, but you can create a Form with a Timer
and Do It Yourself.

Larry Linson
Microsoft Access MVP


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

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