>I think this is a simple question but I am having trouble figuring it out. Here is my question...
>I have a text box on a form. After the user enters data the valid checks the data. If the valid determines it has invalid data, I want the focus to go back to the field with the invalid data and not move on to the next text box. In Version 2.6 we used to use the _CUROBJ command to move the focus to the previous text box. In Version 5.0 how do I do this? I tried using the SetFocus command but it said that it is read only. Read only? I checked the properties for this object and it's not set to read only...
Just have the Valid method return a -1 and the previous control will receive focus.