Child Forms Unresponsive? |
Post Reply |
Author | |
gallman
Newbie Joined: 06 September 2004 Status: Offline Points: 18 |
Post Options
Thanks(0)
Posted: 01 November 2004 at 3:05pm |
** WORKAROUND ** The main form housing the dockingpane was started from Sub Main() and showed itself modally. However, if the main form shows another modal form, the panes no longer seem to respond anymore. So my workaround was to ditch Sub Main() and make Mainform the application entry point. Hello, I'm having a weird problem and I'm wondering if anyone has any thoughts. Scenario is below: PLATFORM: VB6 SP6 running on WinXP SP2 MAINFORM: Contains CommandBars and DockingPane (with 2 panes like Outlook 2003) EACH PANE: Loads a form (like the Outlook 2003 sample) and these forms contain usercontrols If one of the contained user controls shows a form (e.g. Mainform.ReportControl.MyUserControl.ShowDialog), once that form is closed, the docking pane does not seem to process any of the pane events anymore (except pane resizing). Please note that the aforementioned ShowDialog() method loads a modal form and then unloads it properly. My app is too big to post here so I'm hoping someone can provide some guidance. Thanks! Edited by gallman |
|
jiri
Newbie Joined: 31 October 2003 Location: Czech Republic Status: Offline Points: 38 |
Post Options
Thanks(0)
|
Hello, gallman. Please read my post from 28 October. I have simillar problem. (Return focus to docked window after showing modal form...). Now I have solution, but I am sure, that this solution is not optimal. I return focus to window in timer event (This timer is enabled when modal form is unloaded and disabled after first "tick") Jiri |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
We tring to find solution , seems it is bug of VB, not returning state of form. If you use modeless dialog box the problem will gone
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |