+ Reply to Thread
Results 1 to 2 of 2

Moving PLAYING CARDS in a UserForm environment

  1. #1
    Registered User
    Join Date
    04-27-2013
    Location
    Bradenton,florida
    MS-Off Ver
    Excel 2007
    Posts
    40

    Moving PLAYING CARDS in a UserForm environment

    I have been writing some software that simulates various types of solitaire. In a userform I am using labels that are pictures of a 52 deck of cards. Is it possible to move the cards once the application is running?

    I would like to click on a card and drag it to a new spot and if in an acceptable position have it reside in new spot.
    Specifically I would like a notification (interrupt) when card is clicked on (This will allow me to know starting position and determine # cards to be moved).
    Then a notification (interrupt) when position is determined (user releases) card - this will let me determine if valid move and position card(s) properly.

    Is it possible to do this and how do I do it.

    Thank you very much.

    JoeBBB

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,122

    Re: Moving PLAYING CARDS in a UserForm environment

    Hi Joebbb

    I would like to click on a card and drag it to a new spot and if in an acceptable position have it reside in new spot.
    This uploaded sample will give you an idea...Right click on card and move...
    Attached Files Attached Files
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Using a UserForm to Display Playing Cards - problem with overlapping cards
    By joebbb in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-24-2017, 04:49 PM
  2. Replies: 2
    Last Post: 09-17-2017, 10:34 AM
  3. Remembering Playing Cards
    By zyzzyva57 in forum Excel General
    Replies: 1
    Last Post: 01-02-2015, 04:33 PM
  4. Replies: 2
    Last Post: 12-10-2013, 02:58 PM
  5. [SOLVED] Moving Date from UserForm to UserForm
    By wlugo13 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-17-2013, 05:17 PM
  6. moving on userform
    By Zygan in forum Excel General
    Replies: 1
    Last Post: 07-27-2006, 04:00 AM
  7. [SOLVED] Symbols for playing cards
    By Pete in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-13-2005, 04:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1