Search found 297 matches

by localpct
Fri Oct 18, 2019 9:29 am
Forum: PowerShell GUIs
Topic: Modal forms
Replies: 19
Views: 177

Re: Modal forms

I modified the example to demonstrate how to communicate with a form via the synchash. It shows two methods for altering the a second main form from the creating form. I use the name "Parent" in the synchash but the form is not a true "Parent" as defined by the form's "Parent" property but it does ...
by localpct
Thu Oct 17, 2019 1:35 pm
Forum: PowerShell GUIs
Topic: Modal forms
Replies: 19
Views: 177

Re: Modal forms

Thanks.. I'll dig into this tomorrow and post back
by localpct
Thu Oct 17, 2019 9:47 am
Forum: PowerShell GUIs
Topic: Modal forms
Replies: 19
Views: 177

Re: Modal forms

viewtopic.php?f=21&t=14109&p=74346&hili ... rms#p74346

I just used this in the demo
So yes its a runspace
by localpct
Thu Oct 17, 2019 9:24 am
Forum: PowerShell GUIs
Topic: Modal forms
Replies: 19
Views: 177

Re: Modal forms

Sorry, it is a runspace

And the code is yours J
by localpct
Thu Oct 17, 2019 6:48 am
Forum: PowerShell GUIs
Topic: Modal forms
Replies: 19
Views: 177

Re: Modal forms

Hopefully this helps, as you can see, the main form is accessible while the child form is displayed

https://1drv.ms/v/s!Au_ZweY6A8F2gYIRFxW ... g?e=LgeWdg
by localpct
Wed Oct 16, 2019 10:54 am
Forum: PowerShell GUIs
Topic: Modal forms
Replies: 19
Views: 177

Re: Modal forms

Well I just used your example and built from that
see in my OP your demo app
by localpct
Wed Oct 16, 2019 10:38 am
Forum: PowerShell GUIs
Topic: Modal forms
Replies: 19
Views: 177

Re: Modal forms

jvierra wrote:
Wed Oct 16, 2019 10:26 am
You can't. The main form is frozen while the child is displayed.
Why is this necessary?
I can absolutely use the main form while my child form is display, the main form just won't pass a variable to the child form
by localpct
Wed Oct 16, 2019 10:36 am
Forum: PowerShell GUIs
Topic: Modal forms
Replies: 19
Views: 177

Re: Modal forms

ease of use
I have no requirements on this, even the modal form is just a cool feature
by localpct
Wed Oct 16, 2019 10:23 am
Forum: PowerShell GUIs
Topic: Modal forms
Replies: 19
Views: 177

Re: Modal forms

It would be nice to update just the main form with the new PC number, click my refresh button, and the child form is updated

Instead of closing the child form, and reopening it
by localpct
Wed Oct 16, 2019 7:05 am
Forum: PowerShell GUIs
Topic: Modal forms
Replies: 19
Views: 177

Modal forms

So I've successfully created a modal form using https://www.sapien.com/forums/viewtopic.php?f=21&t=14109&p=74346&hilit=modal+forms#p74346 Is there a way to update the modal form with new info from the main form? IE, I change the PC name in the name form, I would like it to update the childform with ...