We finished adding MsgBox.pp and GUIMsgBox.pp in minilib
Both units for Pascal language, FreePascal and Lazaurs, but not worked for Delphi (sorry 😛 ).
Useing by call Msg.Yes or Msg.OK for example, there is many other calls, like Msg.Input or Msg.Password to ask for password.
If you not use GUIMsgBox for Lazarus, it will work as console or you can switch to console even if GUIMsgBox is used, by calling Msg.Switch(‘CONSOLE’);
Msg.Yes(‘Do you want to save?’)
Mean Yes/No but the default button is Yes
Msg.No(‘Do you want to save?’)
Mean Yes/No but the default button is No