To Antonio

To Antonio

Postby HunterEC » Sun Oct 25, 2009 8: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.
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: To Antonio

Postby driessen » Sun Oct 25, 2009 9:59 pm

Sure.

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

Example :
Code: Select all  Expand view
MsgInfo("An error occured","Information")
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: To Antonio

Postby HunterEC » 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.
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: To Antonio

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: To Antonio

Postby HunterEC » Mon Oct 26, 2009 1:00 am

Antonio:

I'm using FW 8.10 13 de octubre 2008. Thank you.
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: To Antonio

Postby James Bott » Mon Oct 26, 2009 4: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 85 guests