mdi ribbon with mdichild with commandbars resize |
Post Reply |
Author | |
gaudetm
Senior Member Joined: 23 September 2006 Location: Canada Status: Offline Points: 134 |
Post Options
Thanks(0)
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
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
try to create CommandBars in Form_Load event. Move all generated code to form_load.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |