Kattes Posted December 28, 2018 Share Posted December 28, 2018 I was looking for an alternative for the default message dialog, which gets shipped with uniGUI. Goal was to have something which fits 100% to the design of my pages. I am sure that somebody will now say "Use CSS styles" to achieve what you are looking for. But to be honest digging for the right CSS settings finally would take even more time than my little development and finally is not as flexible. Below is a screen shot of the message dialog I tailored for my needs. As you can see it also is already adjusted to my native language (German). If you are interesting to get the code for an alternative message dialog, just let me know. 7 Quote Link to comment Share on other sites More sharing options...
Kattes Posted December 29, 2018 Author Share Posted December 29, 2018 (edited) Ok, please find now attached my message dialog solution. For better understanding, I put it into a simple test environment. Finally it can be used very similar to the origin MessageDLG procedure. It supports already various settings, but still can be easily tailored to whatever needs you have. Any feedback & comments are welcome P.S. I just uploaded a new version with new options to change fonts, colors, icons (awesome font) and button content very easily from your application. Its a complete replacement of the existing messagedlg procedure. Just import the unit "uDialog.pas" and replace existing messagedlg calls with messagedlgA. P.P.S. Happy New Year to everybody of this great community uniGUI - MsgDLGDEmo.zip Edited December 30, 2018 by Kattes Updated Version 4 6 Quote Link to comment Share on other sites More sharing options...
Fred Montier Posted April 7, 2019 Share Posted April 7, 2019 really thanks.. I tested and it's really a good replacement to messagedlg. Quote Link to comment Share on other sites More sharing options...
rencarnacion Posted April 8, 2019 Share Posted April 8, 2019 Excellent job bro Kattes Quote Link to comment Share on other sites More sharing options...
molla2005b Posted June 6, 2019 Share Posted June 6, 2019 Thanks a lot for sharing! Quote Link to comment Share on other sites More sharing options...
devya Posted August 2, 2019 Share Posted August 2, 2019 Nice one, really appreciated. Can i use in my project ? Quote Link to comment Share on other sites More sharing options...
Kattes Posted August 9, 2019 Author Share Posted August 9, 2019 On 8/2/2019 at 5:41 AM, devya said: Nice one, really appreciated. Can i use in my project ? Yes, sure - that's it's main purpose! You can also feel free to make any adaptions / modifications to your need. This is just a little gift from me to the UniGui community without any limitations from my side. 2 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 26, 2019 Share Posted August 26, 2019 On 8/9/2019 at 3:05 PM, Kattes said: Yes, sure - that's it's main purpose! You can also feel free to make any adaptions / modifications to your need. This is just a little gift from me to the UniGui community without any limitations from my side. Thank you for your contribution! Quote Link to comment Share on other sites More sharing options...
albertovesx Posted September 5, 2019 Share Posted September 5, 2019 Great, thank you Quote Link to comment Share on other sites More sharing options...
Kattes Posted February 5, 2020 Author Share Posted February 5, 2020 I don't know if somebody is using it. If yes I have an updated version which fixes a tiny bug and now allows nested message dialogs. 1 Quote Link to comment Share on other sites More sharing options...
edujgomes5 Posted April 4, 2021 Share Posted April 4, 2021 On 05/02/2020 at 13:07, Kattes said: Não sei se alguém está usando. Se sim, tenho uma versão atualizada que corrige um pequeno bug e agora permite diálogos de mensagens aninhadas. Boa noite, gostaria de utilizar essa unit, o link anterior esta quebrado, poderia compartilhar novamente, ou se preferir, enviar para meu email: edujgomes@gmail.com No projeto anterior que tinhamos na empresa, eu criei uma chamada de mensagens personalizadas, evitando usar o showmessage e application.messagebox, pelo que entendi, o colega fez o mesmo, porém para unigui, que estou testando agora e migrando todo o projeto para este novo formato. Desde já, agradeço. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.