Results 1 to 2 of 2

Thread: Forms Background

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    1
    Sir,
    I have the doubt in VB, especially in designing the
    form . Is it Possible to Change the background view of the forms and to display the scrollbar during runtime for
    screen navigation?

    thank u,
    with regards,
    sathesh

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    Form1.backcolor = vbBlue
    Form1.picture = App.Path & "|" & mypicture

    OR

    'tile an image on a form

    '1) Place an image control on a form and give it a picture
    '2) Set the forms AutoRedraw to False
    '3) Place this code in the Form Paint Event

    Dim intX As Integer
    Dim intY As Integer

    For intX = 0 To Me.Width Step Image1.Width
    For intY = 0 To Me.Height Step Image1.Height
    PaintPicture Image1, intX, intY
    Next intY
    Next intX

    yes you can add scroll bars too but that's a whole
    other story...
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

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