Hi,
I'm appending lines of text to a textarea, but am having problems getting the current value, in order to append each line to the current contents.
SetVal is working fine below. But f_Area doesn't want to want to expose its text value, to s_Result. s_Result is always blank:
Dim s_Result As String = ""
Dim f_Area As Future = ta_Area.GetVal
...
...
ta_Area.SetVal( "0" )
s_Result = f_Area.Value
ta_area.SetVal( s_Result & Chr( 13 ) & Chr( 10 ) & "1" )
s_Result = f_Area.Value
ta_area.SetVal( s_Result & Chr( 13 ) & Chr( 10 ) & "2" )
s_Result = f_Area.Value
ta_area.SetVal( s_Result & Chr( 13 ) & Chr( 10 ) & "3" )
s_Result = f_Area.Value
I'm appending lines of text to a textarea, but am having problems getting the current value, in order to append each line to the current contents.
SetVal is working fine below. But f_Area doesn't want to want to expose its text value, to s_Result. s_Result is always blank:
Dim s_Result As String = ""
Dim f_Area As Future = ta_Area.GetVal
...
...
ta_Area.SetVal( "0" )
s_Result = f_Area.Value
ta_area.SetVal( s_Result & Chr( 13 ) & Chr( 10 ) & "1" )
s_Result = f_Area.Value
ta_area.SetVal( s_Result & Chr( 13 ) & Chr( 10 ) & "2" )
s_Result = f_Area.Value
ta_area.SetVal( s_Result & Chr( 13 ) & Chr( 10 ) & "3" )
s_Result = f_Area.Value