Print Page | Close Window

Modal Form Locks Up App When Switching Programs

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=13237
Printed Date: 16 June 2024 at 12:43am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Modal Form Locks Up App When Switching Programs
Posted By: corpcon
Subject: Modal Form Locks Up App When Switching Programs
Date Posted: 22 January 2009 at 7:42pm
Steps to recreate the problem:
 
1.  Run a program (either compiled or from the VB IDE) and open a window from the program that has a lot of controls on it, in addition to SkinFramework and CommandBars.
 
2.  Open a modal form or a message box.
 
3.  Open any other program in windows.
 
4. Switch back to your running VB program.
 
Result (for me anyway):
The app (if compiled) or the VB IDE completely locks up.
 
As mentioned, I'm using SkinFramework and CommandBars (on an mdi background window). All other controls are standard VB controls.
 
This didn't happen until after I added the above two Codejock controls (although it's been months since I actually noticed it). This can be replicated on any computer as a customer pointed it our to me.
 
Has anyone else experienced this problem?



Replies:
Posted By: Oleg
Date Posted: 23 January 2009 at 1:30am
Hi,
 
Do you see it with our SkinMDISample ?
What Version of SkinFramework do you have?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: corpcon
Date Posted: 23 January 2009 at 2:05am

Sorry ... could have sworn I had my specs in my sig.

No, unfortunately I couldn't replicate it in the sample (or in a small test program I created). Admittedly, I'm not certain what is causing this, but I have had the program around for a long time and the Codejock controls are the only real new thing that have been added. But who knows - it could be something else.



-------------
Xtreme SuitePro 13.2.1
Win7
VB 6 - SP6


Posted By: Oleg
Date Posted: 23 January 2009 at 4:11am
Hi,
 
Sorry we need something to allow us reproduce it. Try to copy your project - reduce to single form/reproduce problem and attach here.
Thanks for help.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: corpcon
Date Posted: 23 January 2009 at 6:24pm
I've discovered the problem. It's a conflict presumably between the CommandBars and an Infragistics ActiveToolBars control.
 
I use ActiveToolBars for a special (and rather complex) purpose within the central body of the form - completely unrelated to normal menus. I don't know if that functionality can be replicated with CommandBars.
 
What I need to accomplish is similar to the Dynamic Popups sample - where you click a button/icon and a menu appears below it ... EXCEPT the pop-up menu needs to be located in a specific location in the central area of the form (not up with the menus/toolbars). Is this possible?
 
If not, do you happen to have Infragistics ActiveToolBars and, if so, can you look into what is causing this problem?


-------------
Xtreme SuitePro 13.2.1
Win7
VB 6 - SP6


Posted By: Oleg
Date Posted: 26 January 2009 at 2:02am

Hi,

You can add simple button, catch its Execute event and popup context menu.



-------------
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