I know how to change the current AppFrame:
window.mainWidget = myFrame;
But how do I exit this frame?
I press the button, change to new frame, do the work, and now I want to return to the previous frame. How would I do this?
Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
October 24 DlangUI: how to change AppFrames? | ||||
---|---|---|---|---|
| ||||
I know how to change the current AppFrame:
But how do I exit this frame? I press the button, change to new frame, do the work, and now I want to return to the previous frame. How would I do this? |
October 24 Re: DlangUI: how to change AppFrames? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ki Rill | On Tuesday, 24 October 2023 at 04:38:58 UTC, Ki Rill wrote: >I know how to change the current AppFrame:
But how do I exit this frame? I press the button, change to new frame, do the work, and now I want to return to the previous frame. How would I do this? Saving the previous frame not an option? |
October 24 Re: DlangUI: how to change AppFrames? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Imperatorn | On Tuesday, 24 October 2023 at 05:03:51 UTC, Imperatorn wrote: >On Tuesday, 24 October 2023 at 04:38:58 UTC, Ki Rill wrote: >I know how to change the current AppFrame:
But how do I exit this frame? I press the button, change to new frame, do the work, and now I want to return to the previous frame. How would I do this? Saving the previous frame not an option? It crashes if I reset it to the previous one.
|
October 24 Re: DlangUI: how to change AppFrames? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ki Rill | On Tuesday, 24 October 2023 at 08:20:19 UTC, Ki Rill wrote: >On Tuesday, 24 October 2023 at 05:03:51 UTC, Imperatorn wrote: >On Tuesday, 24 October 2023 at 04:38:58 UTC, Ki Rill wrote: >I know how to change the current AppFrame:
But how do I exit this frame? I press the button, change to new frame, do the work, and now I want to return to the previous frame. How would I do this? Saving the previous frame not an option? It crashes if I reset it to the previous one.
I think there was some kind of issue when changing widgets like that. Please try doing this instead:
Also, please post whole code so maybe I can fix this later |
October 27 Re: DlangUI: how to change AppFrames? | ||||
---|---|---|---|---|
| ||||
Posted in reply to GrimMaple | 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:
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. |