Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET FOCUS TO A TEXT FIELD
Message
De
20/11/2000 14:44:45
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00443457
Message ID:
00443794
Vues:
10
Hi David,

Sorry for the caps!

Thank you for the info.
Roland...
==============================================================================


>Roland,
>
>First, please don't post in all caps.
>
>SetFocus is a method not a property, so you call the object's SetFocus() method when you want focus to go there: thisform.TDate_From.SetFocus()
>
>
>>I HAVE SEVERAL TEXT FIELDS DEFINED IN A FORM.
>>
>>I SET THE FIELDS TO ENABLE = .F. AND VISIBLE =.F. IN THE FORM'S INIT EVENT.
>>
>>I WANT TO MAKE THEM ENABLED AND VISIBLE DURING PROCESSING BY CHANGING TO .T.
>>
>>THAT WORKS OK.
>>
>>I CHECK FOR ERRORS AND IF ERRORS OCCUR AND WANT TO SET THE FOCUS BACK TO THE FIRST FIELD.
>>
>>I RECEIVE AN ERROR MESSAGE THAT THE SETFOCUS IS READ-ONLY WHEN I ISSUE THE COMMAND THISFORM.TDATE_FROM.SETFOCUS=.T.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform