Page 1 of 1

pass form data

Posted: Thu Nov 08, 2018 2:48 am
by Filters
Hi I'm new to powershell and stuck with a little problem with data sending from mainform to childform
No data is showed in child form :( and version is 2018
Main Form

Code: Select all

$textbox1.Text = 'bla bla bla'}

	if((Show-ChildForm_psf) -eq 'OK'){$textbox1.Text = $ChildForm_textbox1}

Code: Select all

	#TODO: Initialize Form Controls here

Re: pass form data

Posted: Fri Nov 09, 2018 7:52 am
by davidc
The following article demonstrates how to pass values to child forms:

Note: The Call verb has since been replaced with Show and Invoke verbs.

Please let us know if you have any further questions.