Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Custom Control Issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Custom Control Issue

 Post Reply Post Reply
Author
Message
griswald88 View Drop Down
Groupie
Groupie


Joined: 16 May 2008
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote griswald88 Quote  Post ReplyReply Direct Link To This Post Topic: Custom Control Issue
    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!
Back to Top
JantjeKeizer View Drop Down
Groupie
Groupie


Joined: 12 February 2008
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote JantjeKeizer Quote  Post ReplyReply Direct Link To This Post Posted: 17 June 2008 at 10:55am
Try to place the control into a picturebox as a container
Back to Top
griswald88 View Drop Down
Groupie
Groupie


Joined: 16 May 2008
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote griswald88 Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.