Doubt in VB - How to add scrollbar inside frames?

how to add the Scroll bar inside the frames and scrolling the controlls into the frame in Vb

Replies

  • Arul Prakash
    Arul Prakash
    its very urgent.......
    any body can help me.......?
  • DEVITA SHARMA
    DEVITA SHARMA
    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

You are reading an archived discussion.

Related Posts

hi , i am going to work on an automation project ( Production Line ) to include what i have been studied ( AC - DC - Stepper Motors -...
Hello all, I am an Electrical and Electronics Engineer from Hyderabad. I want to know why is series motor used for speed regulation? I mean, why we don't use shunt...
In the near future, longer-lasting batteries could run on virtually anything sugary, including tree sap or flat soda pop. Scientists say these sweet new batteries could operate three to four...
read more... https://www.gizmag.com/tosy-speaker-robot-dancing-mrobo/24433/
free Microsoft tools to make life easier... *The Microsoft Malicious Software Removal Tool-Microsoft Malicious Software Removal Tool can remove a laundry list of known malicious software *Best Practices Analyzer-Once you’ve...