Results 1 to 5 of 5

Thread: [RESOLVED] Help with variables

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2012
    Location
    Sweden
    Posts
    44

    Resolved [RESOLVED] Help with variables

    So I've been trying for TOO long with this now, i really need some help..

    I'll try to explain..
    I want to "Dim" a command, so that when i want to use the "command" (which is "button1.location" I just want to enter button =
    I also want to take the text from a string and put it after "="

    Example of how it looks like in my brain... :

    Code:
    Dim button as string = "button1.location"
    Dim box as string = "box1.location"
    
    button = box
    This is so that i can create a private Sub and use the Call command instead of typing the same code.. There really should be some way to do it

    Help....


    Edit: What. The. Hell. Why did it just work.. Ignore the Newb.
    Last edited by ErikJohansson; Sep 14th, 2012 at 04:19 PM.

Tags for this Thread

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