Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Messagebox title (change?)

Status
Not open for further replies.

pscc

Programmer
May 5, 2000
1
US
How do I change the default Title from Microsoft Visual Foxpro to my own title in a messagebox? This is the messagebox that appears upon closing a screen with buffering set to 2 and a field has changed, asking if you want to save changes. I have my title and icon working in the other windows.
 
pscc

Assuming it's not possible to change the native FoxPro MESSAGEBOX, could you not implement your own MESSAGEBOX first and thus prevent the FoxPro one from appearing?

Chris
 
Messagebox() VFP function gets 3 parameters. 3-d parameter - title of message box...
 
TomasDill

As I understand it, pscc's problem that it is the native FoxPro MESSAGEBOX() that is firing in response to events and therefore he is unable to send parameters to it?

Chris
 
My only guess, if you haven't already tried it, is to set _screen.caption to the application name you want to appear; if you are not already doing this, you probably should be in your top-level program, as in:

Code:
_screen.caption = "My Wonderful App"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top