You are not logged in.

joekaisaka

Beginner

  • "joekaisaka" started this thread

Posts: 11

Date of registration: Feb 1st 2011

  • Send private message

1

Thursday, March 24th 2011, 4:54am

Scrolling Controls

Hi guys

I need insert scrollbars in a form and in a picturebox. I tried, but unsuccessfully.
Anybody can help me ?

Thanks in advance.

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

2

Thursday, March 24th 2011, 2:16pm

In the Jabaco framework you can find a uControlTest with examples how to deal with ScrollBars:

Jabaco Source

1
2
3
4
5
6
7
8
9
10
11
12
Public Sub ScrollBar1_Scroll()
   Call SetShape()
End Sub

Public Sub ScrollBar2_Scroll()
   Call SetShape()
End Sub

Private Sub SetShape()
   Shape1.Top = ScrollBar2.Top + ScrollBar2.Value
   Shape1.Left = ScrollBar1.Left + ScrollBar1.Value
End Sub


Some postings in the forum cover the PictureBox usage. Look here for example.

Greetings

A1880

Rate this thread
WoltLab Burning Board