>To: All
>
>When I run this code on a form it says that:
>Property SETFOCUS is read-only.
>
>* Add Button
>* StateUnemployment
>StateUnemployment.txtSutaState.ReadOnly = .f.
>StateUnemployment.txtSutaState.Visible = .t.
>StateUnemployment.txtSutaState.Enabled = .t.
>StateUnemployment.txtSutaState.SetFocus = .t.
>APPEND BLANK
>StateUnemployment.Refresh
>
>This field is read only unless I want to add a record. You can edit this field only when you are adding new records. By default this field is readonly and is not enabled.
>
>I am using tableupdate() function in other buttons.
>
>Thanks
>Bruce Strom
Call it a method.
StateUnemployment.txtSutaState.SetFocus()
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