DlangUI: how to change AppFrames?
Ki Rill
rill.ki at yahoo.com
Fri Oct 27 04:47:51 UTC 2023
On Tuesday, 24 October 2023 at 11:23:05 UTC, GrimMaple wrote:
> I think there was some kind of issue when changing widgets like
> that. Please try doing this instead:
> ```d
> window.executeInUiThread(() => window.mainWidget =
> myPreviousFrame);
> ```
>
> Also, please post whole code so maybe I can fix this later
It does not work. It does accept new widgets though, but crashes
if I try to change to the previous one.
I posted the whole code to GitHub
[issue](https://github.com/buggins/dlangui/issues/677).
More information about the Digitalmars-d-learn
mailing list