ClientArea control Resize problem |
Post Reply |
Author | |
zwdhm
Newbie Joined: 26 October 2004 Status: Offline Points: 26 |
Post Options
Thanks(0)
Posted: 16 November 2006 at 8:03am |
I am using SuitePro ActiveX 10.1 and VB6 Private Sub CommandBars_Resize() If Bottom > Top And Right > Left Then Then I put this user control on a form. When in design mode, the flexgrid resizes well. But when the form runs, scrollbars of the flexgrid were out of the form. The screenshots were uploaded. The pic below is in running mode.
|
|
zwdhm
Newbie Joined: 26 October 2004 Status: Offline Points: 26 |
Post Options
Thanks(0)
|
When in design mode
The code below was used to resize the user control in the form
Private Sub Form_Resize()
TempControl1.Move 0, 0, Me.Width, Me.Height End Sub |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Change to:
Private Sub Form_Resize()
TempControl1.Move 0, 0, Me.ScaleWidth, Me.ScaleHeight End Sub |
|
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 |