Skip to content

C4D-Msg - Control your system's message quickly, easily and centrally

Notifications You must be signed in to change notification settings

Code4Delphi/C4D-Msg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C4D-Msg - Control your system's message quickly, easily and centrally

Code4Delphi

With C4D-Msg you can control your system messages quickly, easily and centrally

📞 Contacts

   

⚙️ Installation

  • Installation using the Boss:
boss install github.com/Code4Delphi/C4D-Msg
  • Manual installation: Open your Delphi and add the following folder to your project, under Project > Options > Resource Compiler > Directories and Conditionals > Include file search path
C4D-Msg\Src

🚀 Quickstart

  • Add uses to your system:
uses
  C4D.Msg;

Make calls from your messages:

  • Information message:
ShowMsg('My message', 'More details (optional)');
  • Warning message:
ShowWarning('My message', 'More details (optional)');
  • Success message:
ShowSuccess('My message', 'More details (optional)');
  • Error message:
ShowError('My message', 'More details (optional)');
  • Permission message:
ShowPermission('My message', 'More details (optional)');
  • Obligatory message:
ShowObligatory('My message (optional)', 'More details (optional)');
  • Empty message:
ShowEmpty('My message', 'More details (optional)');
  • ShowQuestion:
  if(ShowQuestion('My question', 'More details (optional)'))then
    ShowSuccess('Responded Yes')
  else
    ShowError('Responded No');

⌨️ Demo

  • Next to the project sources, you will find a test project, in the folder:
C4D-Msg\Samples

💬 Contributions / Ideas / Bug Fixes

To submit a pull request, follow these steps:

  1. Fork the project
  2. Create a new branch (git checkout -b minha-nova-funcionalidade)
  3. Make your changes
  4. Make the commit (git commit -am 'Functionality or adjustment message')
  5. Push the branch (git push origin Message about functionality or adjustment)
  6. Open a pull request