tinapardi
asked on
Trying to get vscroll to work with a frame. Please assist...thanks.
Trying to get the scroll and frame to work right. The scroll needs to go to the top, which it does but the frame needs to go only up to 100 but it doesn't. Well I can't get it just right. There is a counter right behind it that needs to be visible at all times so the frame needs to drop down so the user can see it, but it isn't quite right.
When the form loads it is okay, but if I use the scroll or go to the next record it is doesn't show the counter or the top of the frame, it almost does. I tried playing with the numbers however I am at a loss, so someone please help me...please?
Private Sub VScroll3_Change()
'VScroll3.Value = 0
'fraMain.Top = 100
'frmMain.fraMain.Top = -VScroll3.Value
End Sub
on page load:
frmMain.Show
frmMain.fraMain.Visible = 100
frmStart_up.Hide
VScroll3.Value = 0
Thanks in advance for the assistance!
When the form loads it is okay, but if I use the scroll or go to the next record it is doesn't show the counter or the top of the frame, it almost does. I tried playing with the numbers however I am at a loss, so someone please help me...please?
Private Sub VScroll3_Change()
'VScroll3.Value = 0
'fraMain.Top = 100
'frmMain.fraMain.Top = -VScroll3.Value
End Sub
on page load:
frmMain.Show
frmMain.fraMain.Visible = 100
frmStart_up.Hide
VScroll3.Value = 0
Thanks in advance for the assistance!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.