Print Page | Close Window

Child Forms Unresponsive?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=1356
Printed Date: 01 February 2025 at 1:36am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Child Forms Unresponsive?
Posted By: gallman
Subject: Child Forms Unresponsive?
Date 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!




Replies:
Posted By: jiri
Date Posted: 02 November 2004 at 11:49am

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



Posted By: Oleg
Date Posted: 03 November 2004 at 3:57am
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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net