Results 1 to 2 of 2

Thread: Printing in VB5

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2000
    Location
    England
    Posts
    135

    Question

    Hi,
    I am trying to print a form out, and can´t get it centralised on the printed page - any suggestions please on how I can do this using VB5? Also, is there anyway of making buttons invisible when printing, except by making the visible property = false?

    Cheers,
    Sparky

  2. #2
    Guest
    About the buttons:

    Code:
    Private Sub hideAllButtons(frmIn as form)
      Dim c as control
      For each c in frmIn.controls
        If TypeOf c Is Button then c.visible = False
      Next
    End Sub
    John



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