Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TextBox vs. Editbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00085581
Message ID:
00085622
Vues:
48
>Sawadee Kahp,
>
> I have a form which has the DE loaded in Init. On the form are some controls. I have textboxes which I assign new controlsource properties to, and editboxes that I do the same to. When APPEND BLANK to enter data, the textbox is nonfunctional, and the editbox works fine. Problem is, one field is a date type. I cannot use a date datatype in an editbox. The textbox is !ReadOnly, !Disabled and is treated the same when loading the DE. Can anyone tell me why it will not accept input? A good guess will do...:)
>
>Eric K.
Sawadee,

There are as number of things that could be going on. The textbox may have its readonly property set to .T. or its desiabled property set to .T.,. I know you said they aren;t set that wya, but have you used the debugger to insure that aren't being set that way by something else.

Can you click in the textbox and have it get focus? If not check the When to see if it is returning .F.. Check the gotfocus to see if it is sending focus somewhere else. Chcek the controlsource for the textbox to be sure it is spelled correctly and has the table's alias included.

Check the keypress for the textbox and be sure it is not issuing a NODEFAULT on you.

Just a few ideas.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform