K
Kevin
I am trying to resize the form and have a list view grow
proportionately to the form adn have buttons move withe
the resizing. What i think is the problem is that the
subtraction isn't always right. Here is the code that I
am using:
Private Sub Form_Resize()
Dim screensize As String
screensize = Form_frmShipmentList.WindowWidth
If screensize < 6600 Then
lsvShipments.Width = screensize - 500
Else
lsvShipments.Width = screensize - 500
cmdRefresh.Left = screensize - 3250
cmdClose.Left = screensize - 2000
End If
End Sub
proportionately to the form adn have buttons move withe
the resizing. What i think is the problem is that the
subtraction isn't always right. Here is the code that I
am using:
Private Sub Form_Resize()
Dim screensize As String
screensize = Form_frmShipmentList.WindowWidth
If screensize < 6600 Then
lsvShipments.Width = screensize - 500
Else
lsvShipments.Width = screensize - 500
cmdRefresh.Left = screensize - 3250
cmdClose.Left = screensize - 2000
End If
End Sub