Group: StrataFrame Users
Posts: 144,
Visits: 618
|
Hi Ben,
after trying it, I found problem:
Internal Class MyParams
Public nKunr As Integer End Class
'-- Child form's constructor Public Sub New(p As MyParams) '-- Save off the params to set the value End Sub
'-- Show dialog Dim p As New MyParams If Me.childformxy.ShowDialog(p) = DialogResult.OK '-- p.nKunr has value that was set by the child form End If Your sample assumes that I add the needed value in the new-method but what to do with the parameter-class if I have to set the values in another procedure? I don't have access to the object outside the new-method? Best regards Thomas
|