FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour To Antonio
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
To Antonio
Posted: Sun Oct 25, 2009 08:45 PM
Antonio:

Can the title of the MsgInfo() function be changed ? For example instead of displaying Information, Información or any other user defined message be displayed ? Thank you.
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: To Antonio
Posted: Sun Oct 25, 2009 09:59 PM
Sure.

The syntax for MsgInfo() is :
Code (fw): Select all Collapse
MsgInfo(<cMsg>,[ctitle])

Example :
Code (fw): Select all Collapse
MsgInfo("An error occured","Information")

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
Re: To Antonio
Posted: Sun Oct 25, 2009 10:43 PM
Driessen:

Thank you for your reply. Unfortunately it does not work.
MsgInfo("Some Message", "Would Be Title", {" Ok "}, "")

On the above code, "Would Be Title" does not shows as the dialog title, instead the dialogbox display the word Information.
Basically what I need is a dialog box that displays at the center of the screen with a message and title of my choose. If I can change its color it will be super. Thank you.
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: To Antonio
Posted: Sun Oct 25, 2009 10:55 PM

Gustavo,

What FWH version are you using ?

It should work as Michel has described it

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
Re: To Antonio
Posted: Mon Oct 26, 2009 01:00 AM

Antonio:

I'm using FW 8.10 13 de octubre 2008. Thank you.

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: To Antonio
Posted: Mon Oct 26, 2009 04:11 AM

Hunter,

MsgInfo() only accepts 2 parameters and since you are showing four parameters, I wonder if you are really calling msgInfo()? I have never seen cTitle not work in any version of FWH.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion