First if I need to use something besides EditText I will
I use to use a RichText Box in VB with the following code to add a time stamp ...
It would allow user to timestamp then write any notes to the stamp. Then when he was ready could another timestamp and so on.
Can I do this in Edittext ...
I use to use a RichText Box in VB with the following code to add a time stamp ...
It would allow user to timestamp then write any notes to the stamp. Then when he was ready could another timestamp and so on.
Can I do this in Edittext ...
B4X:
Dim myRTB As String
Dim myTime As String
myTime = Format(Now, "Short Time")
myRTB = Format(Now, "Short Date")
If rtbDes.Text <> "" Then
rtbDes.Text = rtbDes.Text & vbCr & myRTB & ": " & myTime & ": "
Else
rtbDes.Text = myRTB & ": " & myTime & ": "
End If
Last edited: