Results 1 to 6 of 6

Thread: copy controls

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2001
    Location
    Belgium
    Posts
    16

    copy controls

    Hello,

    I want to write a little function for copy controls on a form.
    I wrote this code but it doesn't work :
    ___________________________________
    Private Sub Form_Load()

    Object_Kopiëren shpBorder(0), 2, 100, 100

    End Sub
    -----------------------------------------------------------
    Private Sub Object_Kopiëren(ByRef CopyControl As VB.control, ByVal Aantal As Integer, ByVal xMove As Integer, ByVal yMove As Integer)

    Dim i As Integer

    For i = 1 To Aantal
    Load CopyControl(i)
    CopyControl(i).Visible = True
    'code to move the object on the right place...
    Next i

    End Sub
    _____________________________________

    What did I wrong ?

    Kris

  2. #2
    Addicted Member Janus's Avatar
    Join Date
    Aug 2001
    Location
    California
    Posts
    221
    I don't know german, what's the english name of that event?
    "1 4m 4 1337 #4xz0r!'
    Janus

  3. #3
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181
    Its just a sub he defined
    translated that would be object_copied...
    Sanity is a full time job

    Puh das war harter Stoff!

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    No, it translates to
    copy_object

    That's the reason why I never use german in my code. Other people get confused and you sometimes need to use stupid ae, oe or ue for ä, ö and ü. Not to mention ss or sz for ß
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  5. #5
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181
    true true, well I do know german you know

    I hardly ever use german in my code... only for a few identifiers if I do something exclusivly in german.
    Sanity is a full time job

    Puh das war harter Stoff!

  6. #6
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    As do I...

    Unless someone thinks I live in Australia
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

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