Results 1 to 4 of 4

Thread: Is it possible scroll the form in vb 6.0

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2011
    Posts
    1

    Question Is it possible scroll the form in vb 6.0

    Hi all,

    Actually, i have developed a tool.Some controls like text box,etc., Textbox insert down/bottom of form which is not seems if small monitor. Whether is it possible or any other way, to scroll the form in vb 6.0.

    Thanks,
    Sakthi.P

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Is it possible scroll the form in vb 6.0

    [i]Moved From The CodeBank (which is for sharing code rather than posting questions )]/i]

  3. #3
    Lively Member Stupidiot's Avatar
    Join Date
    Apr 2011
    Location
    India
    Posts
    95

    Re: Is it possible scroll the form in vb 6.0

    'Insert an MDI Form and Form1
    'Change Form1.BorderSyle = 0, Form1.MDIChild = True at design Time
    'Insert Controls Text1, Text2 on Form1

    'In this example:
    'Text1 = Last Down/Bottom Side Control on Form1
    'Text2 = Last Right Side Control on Form1


    Code:
    Private Sub Form_Load() 'Form1.Load()
    Me.Move 0, 0, Text2.Left + Text2.Width + 120, Text1.Top + Text1.Height + 120
    End Sub
    'The scrollbar will appear on MDI form automatically, whenever necessary

  4. #4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width