Results 1 to 2 of 2

Thread: Problem with a function

Threaded View

  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

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