Print Page | Close Window

Custom Control Issue

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=11075
Printed Date: 07 November 2025 at 10:54pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Custom Control Issue
Posted By: griswald88
Subject: Custom Control Issue
Date Posted: 17 June 2008 at 8:55am
I have an issue with a custom control I am adding to my commandbar.  The control is a 3rd party combo from Arcadia (PowerCombo), when the form is displayed, the combo looks fine, but the first time I drop down the list, the combo moves to it's original position on the form. Once I resize the form the combo reverts to the correct position and the issue does not manifest itself anymore...UNTIL I restart the app; it happens the 1st time I drop the list down every time.
 
Also, a smaller question, would I want to add this control as a "temporary" control?  I will be saving the state of the commandbars, but I would think I would always call the code that adds the custom control to the commandbar.
 
Thanks!



Replies:
Posted By: JantjeKeizer
Date Posted: 17 June 2008 at 10:55am
Try to place the control into a picturebox as a container


Posted By: griswald88
Date Posted: 17 June 2008 at 11:09am

That's a good call for a workaround. The combo is still visible in it's original position as well, but I set it's .Visible to False and that seems to get around the issue.




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