Hello,
On a form I have dockpanels manage by dockmanager.
In some case I want the block focuse on one panel
I try e.cancel=True on validating even. This is ok but not on tabbed panel ?
In my example lock is ok on dockPanel2 but not on dockpanel3 or dockpanel4
Do you have solution ?
Thanks
Eric
Hi,
When I click the Lock Focus button, the tabbed container is activated. I cannot activate dockPanel2 since the panelContainer1.Validating event will occur, where you set the e.Valid property to false. In addition, I cannot click inner text boxes within dockPanel3 and dockPanel4 because of handling the dockPanel1.Validating event. I have attached a video to show this behavior. You said that this approach does not work for dockPanel3 and dockPanel4. Would you please clarify what you meant?
In addition, I would like to note that if you wish to disable a particular panel, it makes sense to set the DockPanel.Enanbled property to false.
I look forward to your response.
Hi,
Exact, but I want to 'stay' (focus) on dockpanel1, I dont want to autorize focus on other panel (dockPanel3, DockPanel4)
Hi,
Now, I got your point. I will pass this behavior to our developers for investigation. We will update this thread once we have results.