![]() |
Child Form Not Resizing |
Post Reply
|
| Author | |
faakher
Groupie
Joined: 26 June 2010 Location: Saudia Arabia Status: Offline Points: 24 |
Post Options
Thanks(0)
Quote Reply
Topic: Child Form Not ResizingPosted: 07 December 2011 at 4:31am |
|
I've a MDI form with TaskPanel in it. When any child form shows, It goes behind the TaskPanel. Mean child forms are not resizing according to the available space in MDI form. Here is a snapshot: Before Resizing Child Form: After Resizing Child Form: Child Forms is going behind the TaskPanel. Please tell me what to do?
|
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.1
Platform: Windows XP Professional - SP2 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 December 2011 at 10:24am |
|
This form has commandbars? Either way place the TP in a picture box.
|
|
![]() |
|
faakher
Groupie
Joined: 26 June 2010 Location: Saudia Arabia Status: Offline Points: 24 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 December 2011 at 2:35pm |
|
Yes!
I added command bars controls to show tab work space. Tell me what to do now? I want Task Panel and TabWorkSpace as well as my child forms to be resized correctly.
|
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.1
Platform: Windows XP Professional - SP2 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 December 2011 at 9:10am |
|
Try adding the following code to the CommandBars_RepositionAlignedControls event assuming you name your TaskPanel "wndTaskPanel" (or picturebox if you go that route):
Private Sub CommandBars_RepositionAlignedControls(Left As Long, Top As Long, Right As Long, Bottom As Long) CommandBars.MoveAlignedControl wndTaskPanel, Left, Top, Right, Bottom End Sub |
|
![]() |
|
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 |