Results 1 to 18 of 18

Thread: I neeeeeeed to print this faster

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2002
    Location
    Israel
    Posts
    152

    I neeeeeeed to print this faster

    I made a maze program and it works very fast without printing but I am very weak in graphic so can you help me a bit?
    the code is:
    PHP Code:
    form1.Cls
        
    For 1 To W
            
    For 1 To H
                
    'inside
                If cells(i, j).isin = True Then
                    For z = 0 To 10
                        Line (i * 10 + z, j * 10)-(i * 10 + z, j * 10 + 10), vbRed
                    Next
                End If
                If cells(i, j).wasin = True And cells(i, j).isin <> True Then
                    For z = 0 To 10
                        Line (i * 10 + z, j * 10)-(i * 10 + z, j * 10 + 10), vbBlue
                    Next
                End If
                
                '
    borders
                
    If cells(ij).wall(0) = False Then Line (1010)-(10 1010), vbWhite
                
    If cells(ij).wall(1) = False Then Line (1010 10)-(10 1010 10), vbWhite
                
    If cells(ij).wall(2) = False Then Line (10 1010)-(10 1010 10), vbWhite
                
    If cells(ij).wall(3) = False Then Line (1010)-(1010 10), vbWhite

            Next
        Next 
    Last edited by KingArthur; Nov 6th, 2002 at 01:21 PM.

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