Results 1 to 2 of 2

Thread: Problem with a function

  1. #1

    Thread Starter
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Problem with a function

    This is a Keno game
    Clicking the lblcredit switches between Currency and credit display based on the the bet mode
    5 Bet modes:
    1 cent
    2 cent
    5 cents
    10 cents
    25 cents.

    try as might i cannot get it to display correctly.
    Example how it should work:
    1 cent mode:
    credit displays $1.00 clicking the lblcredit displays 100
    clicking again displays $1.00 again

    2 cent mode
    credit displays $1.00 clicking the lblcredit displays 50
    clicking again displays $1.00 again


    5 cent mode
    credit displays $1.00 clicking the lblcredit displays 20
    clicking again displays $1.00 again

    10 cent mode
    credit displays $1.00 clicking the lblcredit displays 10
    clicking again displays $1.00 again

    25 cent mode
    credit displays $1.00 clicking the lblcredit displays 4
    clicking again displays $1.00 again

    Clicking the cmdbetmode cycles the bet mode
    see attached small project
    What am i doing wrong ?
    Attached Files Attached Files
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

  2. #2
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Problem with a function

    As it is now clicking the button changes the amount on the button 1 - 25 cents. Are trying to match that value up with that under "Credit"?
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

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