Don't show this message

Don't show this message

Postby Davide » Mon Jan 04, 2010 12:40 am

Hello all,

is it possible to add a "Don't show this message anymore" checkmark to a standard MessageBox() or should I design a custom dialog for that ?

Thanks,
Davide
Davide
 
Posts: 190
Joined: Tue Mar 14, 2006 1:59 am
Location: Italy

Re: Don't show this message

Postby ukoenig » Mon Jan 04, 2010 1:19 am

You could use the standard MsgYesno() - Function
It is not a checkmark, but the question for it is included in the message.

Code: Select all  Expand view

lMessage := .T.
...
...
Mymessage()
...
...

FUNCTION Mymessage()

IF lMessage = .T.
   IF MsgYesNo("Your Message " + CRLF + ;
                      " " + CRLF + ;
                      "Show this Message again ?","Message")
   ELSE
      lMessage := .F.
   ENDIF
ENDIF
 


Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Don't show this message

Postby Davide » Mon Jan 04, 2010 1:34 am

Thanks Uwe,

I know MsgYesNo(), but the checkmark I'm searching for may apply to MsgYesNo() too. Sometimes I want to ask the user if he want to see that question shown again in future or not. This is commonly used on wizards, tips, etc.

Any other idea ?

Thanks,
Davide
Davide
 
Posts: 190
Joined: Tue Mar 14, 2006 1:59 am
Location: Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 79 guests