05-20-2020, 08:55 AM
There is a function similar to Messagedlg for intraweb
Tanks
Tanks
MessageDlg in Intraweb (message with dialog buttons)
|
05-20-2020, 08:55 AM
There is a function similar to Messagedlg for intraweb
Tanks
05-20-2020, 11:58 AM
Hi, there is:
WebApplication.ShowNotification(); WebApplication.ShowAlert(); WebApplication.ShowMessage(); etc.
05-20-2020, 06:53 PM
Jose showed the straightforward dialogs. If you want to create more specialized dialogs then look at the demos on GitHub for ModalWindow and NewDialogs.
Dan
05-23-2020, 09:12 AM
(This post was last modified: 05-23-2020, 09:13 AM by a.palladino.)
(05-20-2020, 11:58 AM)Jose Nilton Pace Wrote: Hi, there is:Thanks Jose, but these are the equivalent of vcl.showmessage .... (05-20-2020, 06:53 PM)DanBarclay Wrote: Jose showed the straightforward dialogs. If you want to create more specialized dialogs then look at the demos on GitHub for ModalWindow and NewDialogs.Thanks Dan.
05-23-2020, 07:48 PM
Also remember that dialogs on the web are NOT "code modal". That is, they don't stop code execution and wait for a user response.
Now, that comment will seem obvious and simple to you if you've been doing web work for a while but those transitioning from desktop apps in Delphi will find it quite different in behavior. It's not an IW thing, it's a web thing. You mentioned MessageDlg specifically so I'm not sure what you're expecting. If you need more discussion of that, let us know. Dan
06-01-2020, 09:39 AM
(05-23-2020, 07:48 PM)DanBarclay Wrote: Also remember that dialogs on the web are NOT "code modal". That is, they don't stop code execution and wait for a user response.Hi Dan, I need to have modal windows, probably I will have to write java code in response to the events of the controls, if you already have this code and you can share it, I would save, much more time in the porting of the delphi applications on the web Thanks.
06-01-2020, 09:32 PM
(06-01-2020, 09:39 AM)a.palladino Wrote:I use modal windows, but I do them in the same way that is demonstrated in the demo apps I mentioned.(05-23-2020, 07:48 PM)DanBarclay Wrote: Also remember that dialogs on the web are NOT "code modal". That is, they don't stop code execution and wait for a user response.Hi Dan, You can create the modal dialog in Delphi, as shown there. Events from controls on the modal windows fire in Delphi, you don't need to write any java code. Have you downloaded the demo apps? https://github.com/Atozed/IntraWeb/tree/...XIV/Delphi https://github.com/Atozed/IntraWeb/tree/...odalWindow Dan
06-03-2020, 07:19 AM
(06-01-2020, 09:32 PM)DanBarclay Wrote:Thanks Dan.(06-01-2020, 09:39 AM)a.palladino Wrote:I use modal windows, but I do them in the same way that is demonstrated in the demo apps I mentioned.(05-23-2020, 07:48 PM)DanBarclay Wrote: Also remember that dialogs on the web are NOT "code modal". That is, they don't stop code execution and wait for a user response.Hi Dan, |
« Next Oldest | Next Newest »
|