Forum > LCL

[SOLVED] QuestionDlg custom icons

(1/2) > >>

Pe3s:
Hello forum members, is it possible to program custom icons in QuestionDlg?

AlexTP:
I don't see such a feature in it.

Handoko:
Lazarus provides many useful dialogs:
https://wiki.lazarus.freepascal.org/Dialog_Examples

If none is suitable for your case, you can write your own. Writing a custom dialog is relatively easy. You can put anything you like into it. For example, this has a TEdit and 2 TBitBtns:
https://forum.lazarus.freepascal.org/index.php/topic,52725.msg389274.html#msg389274

MarkMLl:

--- Quote from: Handoko on August 05, 2022, 10:41:04 am ---If none is suitable for your case, you can write your own. Writing a custom dialog is relatively easy. You can put anything you like into it.
--- End quote ---

Am I right in thinking that, leaving aside the system provided printer dialog(u)es etc., a dialogue or messagebox is really just a custom form with no special magic?

I've occasionally considered doing my own warning/note boxes that have a timeout and prioritisation: in my case most of this sort of thing is logged and results in an audible warning, and it can be inconvenient to come back and find that there's a hundred low-priority warnings to be cleared off the screen before something more important can be done.

MarkMLl

Pe3s:
Thank you  :)

Navigation

[0] Message Index

[#] Next page

Go to full version