RestlessCoder's Profile User Rating: -----

Reputation: 2 Apprentice
Group:
New Members
Active Posts:
15 (0.02 per day)
Joined:
03-August 12
Profile Views:
615
Last Active:
User is offline May 15 2013 06:21 AM
Currently:
Offline

Previous Fields

Country:
AU
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
AMD
Favorite Gaming Platform:
Playstation
Your Car:
Hyundai
Dream Kudos:
0

Latest Visitors

Icon   RestlessCoder has not set their status

Posts I've Made

  1. In Topic: Looping Grid Position Verification

    Posted 1 May 2013

    Was trying to get the actual grid position as in Row and Column rather than the location of it with X and Y, turns out all I had to do was change the variable to be depending on one value, fixed with the below code:
    Do While X < 546
                If SetupMenu.PatrolBoat.Location = New Point(X, 150) And SetupMenu.PatrolBoat.Size = New Size(97, 46) Then
                    SetupMenu.Label6.Text = Char1 & Num1 & " " & Char1 & Num2
                Else
                    If SetupMenu.PatrolBoat.Location = New Point(X, 150) And SetupMenu.PatrolBoat.Size = New Size(46, 97) Then
                        SetupMenu.Label6.Text = Char1 & Num1 & " " & Char2 & Num1
                    End If
                End If
    
                Num1 = Num1 + 1
                Num2 = Num2 + 1
    
                X = X + 51
            Loop
    

    Lengthy to do multiple times for a Grid but enables at least a horizontal and vertical answer block loop.

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
November 23
Gender:
Location:
Sydney, Australia
Programming Languages:
VB6
VB.Net
A little HTML

Contact Information

E-mail:
Click here to e-mail me

Friends

RestlessCoder hasn't added any friends yet.

Comments

RestlessCoder has no profile comments yet. Why not say hello?