Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - mdi ribbon with mdichild with commandbars resize
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

mdi ribbon with mdichild with commandbars resize

 Post Reply Post Reply
Author
Message
gaudetm View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 September 2006
Location: Canada
Status: Offline
Points: 134
Post Options Post Options   Thanks (0) Thanks(0)   Quote gaudetm Quote  Post ReplyReply Direct Link To This Post Topic: mdi ribbon with mdichild with commandbars resize
    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   
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
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.172 seconds.