- 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
- Add uses to your system:
uses
C4D.Msg;
- 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');
- Next to the project sources, you will find a test project, in the folder:
C4D-Msg\Samples
To submit a pull request, follow these steps:
- Fork the project
- Create a new branch (
git checkout -b minha-nova-funcionalidade
) - Make your changes
- Make the commit (
git commit -am 'Functionality or adjustment message'
) - Push the branch (
git push origin Message about functionality or adjustment
) - Open a pull request