Skip to content

Problem reopening WebUI Window from desktop app after user closes it voluntarily #4

@Olray

Description

@Olray

I'm trying to use WebUI4Delphi to serve html documents from a database with about 60k documents. The wrapper is straightforward and easy to use. It also works as good as I ever hoped for, but... The special case is: I'm using a desktop app for selecting the documents and call Show() with a virtual URL that is going to be served from inside the filehandler.

When the user choses to close the WebUI window and selects another document afterwards, the window (with same ID as the window_id from previous calls) is reopened for a second and closes itself half a second later. The file handler is called with the new "virtual url" and then the app comes to a halt for about 10 seconds. No events are dispatched to my OnWebUIEvent function anymore.

Is there anything I have to do to "fix" the Window object after the user closes the window manually? And how do I find out if the Window object is in such state?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions