A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

no subject



 
 
Thread Tools Display Modes
  #1  
Old February 8th, 2010, 06:37 PM posted to microsoft.public.access.forms
Alex Hammerstein
external usenet poster
 
Posts: 70
Default no subject

Hi
Is it possible to set a message box with customs button texts?

When a button called Close is pressed, I want the user to be able to select
to close just the Database or the Database and Application?

Many thanks

  #2  
Old February 9th, 2010, 03:46 AM posted to microsoft.public.access.forms
Tom van Stiphout[_2_]
external usenet poster
 
Posts: 1,653
Default no subject

On Mon, 08 Feb 2010 18:37:49 +0000, Alex Hammerstein
wrote:

No.
But you can create your own form that mimicks a MsgBox.
Or if you're lucky find some code online of someone who already did
that and posted the code.

-Tom.
Microsoft Access MVP


Hi
Is it possible to set a message box with customs button texts?

When a button called Close is pressed, I want the user to be able to select
to close just the Database or the Database and Application?

Many thanks

  #3  
Old February 9th, 2010, 05:49 AM posted to microsoft.public.access.forms
Dirk Goldgar
external usenet poster
 
Posts: 2,529
Default no subject

"Tom van Stiphout" wrote in message
...
On Mon, 08 Feb 2010 18:37:49 +0000, Alex Hammerstein
wrote:
Is it possible to set a message box with customs button texts?


No.



Well, actually, yes. You can do it with some fancy API code that was posted
by Randy Birch on VBNet. I've tested it and it works, but (a) it's somewhat
limited, and (b) it's probably more trouble than it's worth, when you can
use your own custom dialog form for the purpose -- as you posted, Tom.

--
Dirk Goldgar, MS Access MVP
Access tips: www.datagnostics.com/tips.html

(please reply to the newsgroup)

  #4  
Old February 10th, 2010, 03:33 AM posted to microsoft.public.access.forms
Tom van Stiphout[_2_]
external usenet poster
 
Posts: 1,653
Default no subject

On Tue, 9 Feb 2010 00:49:17 -0500, "Dirk Goldgar"
wrote:

Hi Dirk,
You are quite correct. I typically tell people "... unless you want to
go to extremes", because indeed Windows is a very open operating
system and if you know it well there is little you can't do. Mere
mortals typically need to stay with built-in features of the
development tools they are using.

-Tom.
Microsoft Access MVP


"Tom van Stiphout" wrote in message
.. .
On Mon, 08 Feb 2010 18:37:49 +0000, Alex Hammerstein
wrote:
Is it possible to set a message box with customs button texts?


No.



Well, actually, yes. You can do it with some fancy API code that was posted
by Randy Birch on VBNet. I've tested it and it works, but (a) it's somewhat
limited, and (b) it's probably more trouble than it's worth, when you can
use your own custom dialog form for the purpose -- as you posted, Tom.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.