>Hi,
>
>I am trying to create a function that I am going to put in the refresh method of several objects on my form. However the function should only run when the focus is on a particular object. I would like to do something like "if this.focus = .t. then do...". How can I determine if the focus is on a current object?
>
>N
Would something like this work (I've not tested it!)
if _screen.ActiveForm.ActiveControl.Name == This.Name
endif
Caroline