Results 1 to 2 of 2

Thread: drag and drop

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    1

    Unhappy

    Hi,

    I've two arrays of labels (10x10).
    The first one has different colors.
    I want to drag and drop the colors to the second one.
    The color in the first one should than turn to black.
    The dragging is not the problem but turning the label in
    the first array to black is.



    Need this for an education program.

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    'have no idea if you can use this but it should work

    Assuming you have to click to drag
    'capture the color of Label1(0) in x
    x = Label1(0).BackColor
    'change label1(0) to black
    Label1(0).BackColor = vbBlack
    on drop
    Label1(5).backcolor = x

    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

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