Nadya-
>I found the problem. KD format doesn't allow to change time portion. What is the format for the datetime? But without format I can enter anything in the textbox, like "Nancy", for example.
>
>BTW, KD format allows to enter time portion if StrictDateEntry = 1. Looks like some bug to me.
I didn't use any format string, and I can only enter digits, and valid dates. So, I'm not sure else you have set. Are you able to enter text in the following example?
PUBLIC oform1
oform1=NEWOBJECT("form1")
oform1.Show
RETURN
DEFINE CLASS form1 AS form
Name = "Form1"
ADD OBJECT text1 AS textbox WITH ;
Height = 23, ;
Left = 70, ;
Top = 43, ;
Width = 194, ;
Name = "Text1"
PROCEDURE text1.Init
this.Value = DTOT({})
ENDPROC
ENDDEFINE