I have a window on which I dynamically create a custom user object which contains a DisplayOnly MultiLineEdit, an EditMask and a Search button. The TabOrder is set to 10 on the EditMask and 20 on the Search button (0 on the MultiLineEdit).
Directly following the create of the user object (using OpenUserObject), I set the TabOrder of the custom user object to 5 and then call an of_Initialize() function on the object that sets focus to the EditMask (which doesn't work). I also added code to setfocus to the customer user object to see if that would help, but it did not work either.
The really odd thing is that it acts as if "nothing" has focus. I can tab all day and there is no indication of a focus change. So I added a getfocus following the code above and ran it through the debugger which showed the customer user object "had" focus.
Has anyone else run across this issue and am I doing something wrong or is there a workaround?
Thanks in advance,
Bill
Directly following the create of the user object (using OpenUserObject), I set the TabOrder of the custom user object to 5 and then call an of_Initialize() function on the object that sets focus to the EditMask (which doesn't work). I also added code to setfocus to the customer user object to see if that would help, but it did not work either.
The really odd thing is that it acts as if "nothing" has focus. I can tab all day and there is no indication of a focus change. So I added a getfocus following the code above and ran it through the debugger which showed the customer user object "had" focus.
Has anyone else run across this issue and am I doing something wrong or is there a workaround?
Thanks in advance,
Bill