Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loose StrictDateEntry
Message
From
28/01/2005 13:44:51
 
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:
00981835
Views:
19
Nadya-

>I just found, that if StrictDateEntry is set to 0 for the textboxes bound to datetime value, you can not edit time portion of the textbox. Is it the expected behavior? Where it is documented?

I don't have the same problem in a simple form with a simple textbox. Are you using a framework? Here's the code I used to try and duplicate the problem:
PUBLIC oform1

oform1=NEWOBJECT("form1")
oform1.Show
RETURN


DEFINE CLASS form1 AS form


	Caption = "Form1"
	Name = "Form1"


	ADD OBJECT text1 AS textbox WITH ;
		ControlSource = "temp.dt1", ;
		Height = 23, ;
		Left = 70, ;
		Top = 43, ;
		Width = 194, ;
		Name = "Text1"


	PROCEDURE Load
		SET strictdate to 0
		CREATE TABLE temp (dt1 t)
		INSERT INTO temp VALUES (DATETIME())
	ENDPROC


ENDDEFINE
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform