Print Page | Close Window

CommandBars docking, not moving controls

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=1386
Printed Date: 12 December 2024 at 5:28am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CommandBars docking, not moving controls
Posted By: dajv
Subject: CommandBars docking, not moving controls
Date Posted: 08 November 2004 at 9:42pm
Gday,

This seems like a silly problem, but when I put my CommandBars control on a form (not an MDI form - so far I have only been working with CommandBars on MDI forms) it "docks" correctly but the forms controls are not moved and the CommandBars menu and toolbar appear underneath the forms controls.

Is this expected behaviour? Do i have to move controls manually depending on the values I get from GetClientRect?



Replies:
Posted By: Oleg
Date Posted: 09 November 2004 at 2:20am
it is expected behaviour. Put controls on Frame/picture box and move it in resize event. (see our samples)

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


Posted By: dajv
Date Posted: 09 November 2004 at 3:35pm
OK. I did look at the examples, but I was hoping there was an easier way :)

Thanks

Edit: Is there any plans to include functionality such that the docking will work like vb toolbars/aligned picture boxes? Other component products have this feature.



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