How can i make this window ?
lazarus / 21-General
----------------------------------------------------------------------
majid.ebru · 2024-04-16 12:51
Hi
please help and guide me
I don't know what is the name of this window? maybe popup ?
how can i create this window ?
----------------------------------------------------------------------
TRon · 2024-04-16 13:12
Not that I have experience with it but TPopupNotifier seems to be a
candidate for that ?
----------------------------------------------------------------------
Fibonacci · 2024-04-16 13:17
This is HTML
Code: Text [Select][+][-]window.onload = function(){var x1 =
document.getElementById("main_content_section"); if (x1) { var x =
document.getElementsByClassName("geshi");for (var i = 0; i
popup
----------------------------------------------------------------------
majid.ebru · 2024-04-16 13:32
Quote from: TRon on April 16, 2024, 03:12:25 pmNot that I have
experience with it but TPopupNotifier seems to be a candidate for that
?
ok
but i don't want to use TPopupNotifier ?
that is not good.
----------------------------------------------------------------------
majid.ebru · 2024-04-16 13:33
Quote from: Fibonacci on April 16, 2024, 03:17:24 pmThis is HTML
Code: Text [Select][+][-]window.onload = function(){var x1 =
document.getElementById("main_content_section"); if (x1) { var x =
document.getElementsByClassName("geshi");for (var i = 0; i popup
how can i use your code in lazarus ?
----------------------------------------------------------------------
TRon · 2024-04-16 13:37
Quote from: majid.ebru on April 16, 2024, 03:32:31 pmbut i don't want
to use TPopupNotifier ?
And I do not want to use Lazarus et all. Yet, here I am
So a question arises: why ?
Quotethat is not good.
What is bad about it ? Please elaborate.
----------------------------------------------------------------------
majid.ebru · 2024-04-16 13:45
Quote from: TRon on April 16, 2024, 03:37:10 pmQuote from: majid.ebru
on April 16, 2024, 03:32:31 pmbut i don't want to use TPopupNotifier ?
And I do not want to use Lazarus et all. Yet, here I am
So a question arises: why ?
Quotethat is not good.
What is bad about it ? Please elaborate.
i can't use many popup at same time !
i can't change position of that !
i can't change theme of that !
----------------------------------------------------------------------
Fibonacci · 2024-04-16 13:48
Quote from: majid.ebru on April 16, 2024, 03:33:35 pmhow can i use
your code in lazarus ?
In an embedded webview, but I dont think thats what you want, you
would need to have your entire GUI in HTML. Instead, you could use
TPanels if you want to have those popups on a form, or TForms if you
want them on a destkop.
----------------------------------------------------------------------
majid.ebru · 2024-04-16 13:58
Quote from: Fibonacci on April 16, 2024, 03:48:19 pmQuote from:
majid.ebru on April 16, 2024, 03:33:35 pmhow can i use your code in
lazarus ?
In an embedded webview, but I dont think thats what you want, you
would need to have your entire GUI in HTML. Instead, you could use
TPanels if you want to have those popups on a form, or TForms if you
want them on a destkop.
i can't use form , because when the form closed , the main form
repainted and some my data changed .
i can't use TPanel because i have many form.
----------------------------------------------------------------------
TRon · 2024-04-16 14:14
Quote from: majid.ebru on April 16, 2024, 03:45:18 pmi can't use many
popup at same time !
i can't change position of that !
i can't change theme of that !
For the reader that actually do want to know...
----------------------------------------------------------------------
KodeZwerg · 2024-04-16 14:32
Quote from: TRon on April 16, 2024, 04:14:11 pmQuote from: majid.ebru
on April 16, 2024, 03:45:18 pmi can't use many popup at same time !
i can't change position of that !
i can't change theme of that !
For the reader that actually do want to know...
On a windows machine IIRC the colors would be controlled by OS.
----------------------------------------------------------------------
cdbc · 2024-04-16 14:36
Fresnel?!?
----------------------------------------------------------------------
TRon · 2024-04-16 15:06
Quote from: KodeZwerg on April 16, 2024, 04:32:06 pmOn a windows
machine IIRC the colors would be controlled by OS.
Oh, I hadn't thought of that one.
There seem to be system theme management going on inside a hintwindow
(I do not know if it is active by default) so you might be right
there.
In which case, 2 out of 3 is also not bad though I understand that is
not what TS is looking for :-)
I rather wait with further suggestions until all specs are on the
table... TS seem to have a habit of adding additional requirements as
suggestions go along and I am not in the mood for these games with
crystal balls right now.
AFAIK there is not a ready to go component/solution that does exactly
as TS seem to want and I am currently trying to avoid suggesting to
use a video playback component to literally provide what TS asks for
----------------------------------------------------------------------
Handoko · 2024-04-16 16:23
It is relatively easy to write a custom popup, for example this is my
Frameless popup in the User Interface section in the link below:
https://wiki.freepascal.org/Portal:HowTo_Demos#User_Interface