CrazyEngineers
  • Doubt in VB - How to add scrollbar inside frames?

    Updated: Oct 26, 2024
    Views: 1.4K
    how to add the Scroll bar inside the frames and scrolling the controlls into the frame in Vb
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Arul Prakash

    MemberOct 6, 2012

    its very urgent.......
    any body can help me.......?
    Are you sure? This action cannot be undone.
    Cancel
  • DEVITA SHARMA

    MemberOct 6, 2012

    Place the scroll bar on the form, take everything else and place them in a frame. make sure the frame is the max height you need.

    Then you can do something like this,
    Private Sub Form_Load()
    VScroll1.Max = (Frame1.Height - Me.Height) + 500
    VScroll1.SmallChange = 50
    VScroll1.LargeChange = 100
    End Sub
    Private Sub VScroll1_Change()
    Frame1.Top = 0 - VScroll1.Value
    End Sub
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register