Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loose StrictDateEntry
Message
De
28/01/2005 14:08:47
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00981831
Message ID:
00981847
Vues:
39
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform