amv
asked on
Message box component with "don't show again" option
Hi!
I'm looking for good component implementing standard Windows message box which also has a checkbox allowing user do turn displaying this message off... It also must be working under BCB 4.0.
Anybody know something like this?
Thanks in advance, amv.
I'm looking for good component implementing standard Windows message box which also has a checkbox allowing user do turn displaying this message off... It also must be working under BCB 4.0.
Anybody know something like this?
Thanks in advance, amv.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Concerning my answer, take a look at some info on the component.
This unit provides "Don't Show Again" dialog and form services. Included is a form class that you can descend your own forms from, routines for showing standarad TForm descendants, and replacement rountines for the MessageDlg function. DSA services allow the user to specify whether or not they want to see the dialog or form in the future with only minimal effort on the application programmer's part.
The dialog has a check box positioned at the bottom left corner which the user can check to specify that he does not wish to see it again. If checked, calling the function again will not display the dialog, it will simply return a default value immediately.
Procedures to get and set the state of the dialog are also provided so that you can programmatically re enable a dialog that has been hidden by the user.
Components
TDSAForm
Routines
DSAClear
DSAFormClear
DSAFormGetState
DSAFormSetState
DSAGetState
DSAIdentsClear
DSAIdentsGetState
DSAIdentsMessageDlg
DSAIdentsSetState
DSAIdentsShowModal
DSAMessageDlg
DSASetState
DSAShowModal
Register
Constants
DefaultFilename
DontShowMsgText
DSA_CHECKBOX_NAME
RegRootKey
UseRegistry
As you can see if allows the programmer to get/set the status for "Don't show" another time. There are other nice feature for this component also.
Kevin
This unit provides "Don't Show Again" dialog and form services. Included is a form class that you can descend your own forms from, routines for showing standarad TForm descendants, and replacement rountines for the MessageDlg function. DSA services allow the user to specify whether or not they want to see the dialog or form in the future with only minimal effort on the application programmer's part.
The dialog has a check box positioned at the bottom left corner which the user can check to specify that he does not wish to see it again. If checked, calling the function again will not display the dialog, it will simply return a default value immediately.
Procedures to get and set the state of the dialog are also provided so that you can programmatically re enable a dialog that has been hidden by the user.
Components
TDSAForm
Routines
DSAClear
DSAFormClear
DSAFormGetState
DSAFormSetState
DSAGetState
DSAIdentsClear
DSAIdentsGetState
DSAIdentsMessageDlg
DSAIdentsSetState
DSAIdentsShowModal
DSAMessageDlg
DSASetState
DSAShowModal
Register
Constants
DefaultFilename
DontShowMsgText
DSA_CHECKBOX_NAME
RegRootKey
UseRegistry
As you can see if allows the programmer to get/set the status for "Don't show" another time. There are other nice feature for this component also.
Kevin
ASKER
Hi, gallaghe!
Sorry for the delay!
Your component is not very suitable for me so I has to solve my problem myself. Anyway your answer is rigth!
Thanks, amv.
Sorry for the delay!
Your component is not very suitable for me so I has to solve my problem myself. Anyway your answer is rigth!
Thanks, amv.
Hi amv,
Can you share your solution?
Thanks Stef
Can you share your solution?
Thanks Stef
if need request a sample.
T++, Radler.