Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loose StrictDateEntry
Message
From
28/01/2005 14:08:47
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00981831
Message ID:
00981847
Views:
42
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform