General information
Category:
Forms & Form designer
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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only