Print Page | Close Window

mdi ribbon with mdichild with commandbars resize

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=10579
Printed Date: 05 May 2024 at 5:13am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: mdi ribbon with mdichild with commandbars resize
Posted By: gaudetm
Subject: mdi ribbon with mdichild with commandbars resize
Date Posted: 10 May 2008 at 1:08pm
Hi, my problem is this one since moving my vb6 application to vb.net 2008 I have a appplication that have a ribbonbar on the mdiform parent that is working fine and a child form that have a commandbars plus a reportcontrol the code in vb6 was in the
 
sub commandbars_resizeclient(left,right,bottom,top)
  with reportcontrol1
     .left = left
    .top = top
    .width = right - left
    .height = bottom-top
  end with
 
this resize the reportcontrol to fit inside the commandbar control perferctly in vb6 but in vb.net the event never occur is there a solution or workaround?
 
Please help
 
Marc   



Replies:
Posted By: Oleg
Date Posted: 11 May 2008 at 1:25am
Hi,
 
try to create CommandBars in Form_Load event. Move all generated code to form_load.


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