If I use the following

Function foo() As String
  Dim ef As New EditField
  Dim s As String = "anytext"
  ef.Text = s
  Return ef.Text
End Function

it works and "anytext" is returned.

Questions:

1. Is it ok to create an EditField or any other control this way? I
presume it's not, but couldn't find an answer for this on the LR or
User's guide.

2. If 1 yes: If instead of line "ef.Text = s" I use the AppendText
method (ef.AppendText s) it does not work. Why?

Carlos

[Win2K - RB2005r4]

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to