Results 1 to 21 of 21

Thread: Form_Load()

Threaded View

  1. #6

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2005
    Posts
    606

    Re: Form_Load()

    tried putting
    VB Code:
    1. picWindow.Left = 0
    2.     picWindow.Width = Me.Width
    3.     picI_Print.Left = 0
    4.     picI_Print.Width = picWindow.Width
    5.  
    6. Dim i As Integer
    7. Dim t As Integer
    8.  
    9. t = 2775
    10. For i = 1 To 54                 ' Add Line Numbers
    11.     t = t + 225                 ' to form
    12.     picI_Print.CurrentX = 0
    13.     picI_Print.CurrentY = t
    14.        picI_Print.Print i
    15.        picI_Print.Line (0, t)-(picI_Print.Width, t) 'Make rows 225 twips apart
    16.    Next
    17.    '''' Make columns
    18.     picI_Print.Line (300, 2400)-(300, picI_Print.Height)
    19.     picI_Print.Line (750, 2400)-(750, picI_Print.Height)
    20.     picI_Print.Line (2100, 2400)-(2100, picI_Print.Height)
    21.     picI_Print.Line (3525, 2400)-(3525, picI_Print.Height)
    22.     picI_Print.Line (4500, 2400)-(4500, picI_Print.Height)
    23. End Sub

    in activate event did'nt work either

    Also I do not want to display this form. I want to be able to print it on paper







    Edit: Added [vbcode][/vbcode] tags for clarity. - Hack
    Last edited by Hack; Oct 31st, 2005 at 07:53 AM.

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