Hi everybody,
In a form with a TList on the left and a pageframe with many pages on the right I found the following unexplainable behavior:
I expand the Tree view -> open Particular Production -> Shows page. Click on the Add Show button. I then click on the Cancel button in that page that brings me back to the selected Production. I again select Shows, press the Add Show button.
My focus is now on the Description field but I can not type - nothing happens. However, if I move my cursor around and go back to this Description field, I can type now.
The code in the Shows page Add Show button is this
thisform.lAdding = .t.
SELECT rsShows
APPEND BLANK
replace ProdID WITH thisform.ProductionSeriesTree.ItemValues(thisform.LastSelectedIndex,'ProdID').Value
this.Parent.Parent.ActivePage = 4
this.Parent.Parent.pagShowEdit.txtDescription.SetFocus()
The Show Edit page has only this.Refresh in its Activate method.
What will cause such behavior?
Thanks in advance.
If it's not broken, fix it until it is.
My Blog