473,807 Members | 2,853 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Msgbox text font

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 ***
Nov 13 '05
14 25456

"Trevor Best" <no****@besty.o rg.uk> wrote in message
news:42******** **************@ news.zen.co.uk. ..
There's also what MichKa has at
http://www.trigeminal.com/usenet/usenet015.asp


And of course, good old Eval("Msgbox("" @@blah"")")


Which is, of course, the gist of MichKa's suggestion...

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


Nov 13 '05 #11
Lyn
"Douglas J. Steele" <NOSPAM_djsteel e@NOSPAM_canada .com> wrote in message
news:hN******** ************@ro gers.com...

"Lyn" <lh******@iiNet .net.au> wrote in message
news:42******** **************@ per-qv1-newsreader-01.iinet.net.au ...
<ly******@yahoo .ca> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.com.. .
@ @ stopped working somewhere around Access 2000.

It still works in the hidden and undocumented wizmsgbox procedure:

Public Sub blahblah()
With WizHook
.Key = 51488399
.WizMsgBox "Bold Line @ @ Not So Bold Line", _
"The Caption", vbYesNo, 23, "Path To Some Help File"
End With
End Sub

(tested in Access 2002).

Still works in A2003. Thanks for that, I never knew it existed. Not
sure how/when I would use it either :-)


There's also what MichKa has at
http://www.trigeminal.com/usenet/usenet015.asp

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

Interesting. I have had a bit of a play with both WizMsgBox and
FormattedMsgBox . If you use "@ @" in both, they seem to behave the same way
(text prior to the "@ @" in bold, then four line feeds to the remaining
text -- also a limit on the length of subsequent text). But using a single
"@" only works in FormattedMsgBox (text prior to the first "@" in bold, two
line feeds after each "@", but again with a limit to the total number of
lines).

On balance, FormattedMsgBox seems to be a bit more flexible.

--
Cheers,
Lyn.
Nov 13 '05 #12
ly******@yahoo. ca wrote:
@ @ stopped working somewhere around Access 2000.

It still works in the hidden and undocumented wizmsgbox procedure:

Public Sub blahblah()
With WizHook
.Key = 51488399
.WizMsgBox "Bold Line @ @ Not So Bold Line", _
"The Caption", vbYesNo, 23, "Path To Some Help File"
End With
End Sub

(tested in Access 2002).


What's the significance of the .Key property?

--
[OO=00=OO]
Nov 13 '05 #13
Lyn wrote:

Interesting. I have had a bit of a play with both WizMsgBox and
FormattedMsgBox . If you use "@ @" in both, they seem to behave the same way
(text prior to the "@ @" in bold, then four line feeds to the remaining
text -- also a limit on the length of subsequent text). But using a single
"@" only works in FormattedMsgBox (text prior to the first "@" in bold, two
line feeds after each "@", but again with a limit to the total number of
lines).

On balance, FormattedMsgBox seems to be a bit more flexible.


There is one drawback with both these methods and an extra bonus.

The bonus is that they support different alphabets, I use the Eval
method (as in Michka's FormattedMsgBox ) to enable me to tell the Ruskis
they typed something in wrong :-) The standard (interaction.) msgbox
would display garbage when sent cyrillic text. (Well, actually I haven't
tested the Wizhook with a different alphabet)

The con is that the standard msgbox when displayed, you can hit Ctrl+C
and it copies the text of the messagebox, using the alternative ones,
this doesn't happen.

That functionality is useful for getting users to email me an error
message rather than having to copy it down manually (error prone) or
Alt-PrntScrn and send an image (some users have problems doing that).

Although I can look in their error logs to get the message (wading
through a load of them) it's just not as easy as them hitting Ctrl+C
then pasting that into an email.

--
[OO=00=OO]
Nov 13 '05 #14
It identifies the user as a wizard, thus permitting the subsequent call
of WizMsgBox.
Use
..Key = "Condola"
for witch.

Nov 13 '05 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
1457
by: Marc Jennings | last post by:
Hi, I have a problem with the message text and button text not showing up in a messagebox. (See attachment) The code I used to call this example was > MessageBox.Show(this,"Hello","nothing shown",MessageBoxButtons.OK,MessageBoxIcon.Information); I had this problem a couple of weeks ago when I was running Windows 2003 Server on my dev machine, and I put it down to an OS / Framework
4
2634
by: Arif Çimen | last post by:
Hi to everybody, I have chnged a button text in design mode. But After compiling and executing the program the text of the button do not change to new value. Any Ideas? Thaks for helps.
1
5422
by: CharlieChau | last post by:
How can I change the size to the text in the msgbox in winform. my application does not use the web or vb script. Thanks, /CC.
4
6892
by: | last post by:
I have about 20 MsgBox occurance in by program, which I use to inform the user of the progress of the program, or ask confirmation of an action, or simply to act separators to various parts of the program. They all vary in size and shape depending on the text length. To make the looks of the program more consistant, I made the FIRST and LAST line a series of "======" 65 characters long. Windows displays Message Box text using a...
10
2107
by: Betina Andersen | last post by:
I have inherited a VB.NET dll that I am using from common asp. My problem is to get the messages from the dll to the Ie client, I can see the messages in the Eventlog on the IIS server so I know they are there, but how do I get them to show in IE? The original code was: MsgBox("Kunne ikke finde databasenavn udfra den angivne DSN: " & DSN) I tried to change that to: Result = MessageBox.Show("Kunne ikke finde databasenavn udfra den...
13
31438
by: =?Utf-8?B?S2VzdGZpZWxk?= | last post by:
Hi Our company has a .Net web service that, when called via asp.net web pages across our network works 100%! The problem is that when we try and call the web service from a remote machine, one outside of our domain, we get the error.. ** Client found response content type of 'text/html; charset=Windows-1252', but expected 'text/xml' **. We can discover the web service by typing in the url of the asmx so we know the server can 'see' it...
3
4153
by: MLH | last post by:
Without modifying the default font settings everywhere, is there any way to specify it for just message boxes? MsgBox "I would like this text to be larger for all message boxes." ???
2
1306
by: manikschumi | last post by:
Hello people (VBA related) Some help please. Is there any text formatting that I can do with the text that I want displayed in the MsgBox...bold, a different font and font size is what I am looking for. I have the option of using userforms but I cannot due to certain project restraints. Thanks for the help.
7
3134
by: kirkgilbert | last post by:
I am trying to do an onchange event in a form using a text field. The form is tied to a record set that is part of a repeated region. One the first record when I edit the data it works perfectly. When I go to the second record nothing happens. I have attached the code below: I bolded text that contains the javascript and fields this is applied to <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!--#include file="Connections/FutureOrders.asp"...
0
9720
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10626
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10112
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5685
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4330
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3854
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3011
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.