Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement