ZoneWorkspace bug - focus problems

Topics: CAB & Smart Client Software Factory
Nov 10, 2006 at 1:37 PM
originally posted by: pcfountain

I have confirmed a bug with the ZoneWorkspace. I had a ZoneWorkspace with a SplitContainer on it, and defined my panels as LeftZone and RightZone. When I displayed views in those zones, which contained workspaces and views of their own, my application was not giving focus to a control when you clicked on it. After investigating, I discovered that on the first click, the workspace that contained a control would "steal" focus, and you could not type keystrokes into that control. After clicking a second time, the control gained focus as expected. When I removed the ZoneWorkspace from my application and replaced it with a plain SplitContainer, containing all the same nested views/workspaces, everything immediately was working fine.

More details in the general message board under the topic "UI - Focus Problems."