Hi List, My really stupid question for the week.
If I create a new form with the dialog support it gets this code: Public Sub Run() As Boolean Return Not Me.ShowModal() End Public Sub btnOK_Click() Me.Close(True) End Public Sub btnCancel_Click() Me.Close End If I had a textbox on the form and wanted to return its contents, what would be the change in syntax required? Thanks in anticipation. ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user