Jump to content
uniGUI Discussion Forums
Kattes

Alternative for MessageDLG

Recommended Posts

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).1096603182_DialogDemo.jpg.0ffe2308dfce50cda8115dbaa0b5ca74.jpg

If you are interesting to get the code for an alternative message dialog, just let me know.

  • Like 4

Share this post


Link to post
Share on other sites

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 :excl:

 

uniGUI - MsgDLGDEmo.zip

Edited by Kattes
Updated Version
  • Like 2
  • Upvote 5

Share this post


Link to post
Share on other sites

really thanks..

I tested and it's really a good replacement to messagedlg.

Share this post


Link to post
Share on other sites

Nice one, really appreciated.

Can i use in my project ?

 

Share this post


Link to post
Share on other sites
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.

  • Like 2

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites

×