Results 1 to 2 of 2

Thread: Do until statements [Resolved in style]

  1. #1

    Thread Starter
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    Do until statements [Resolved in style]

    I am making a card game, and want to fill up a list box with 26 cards (one list box for player and computer). How do i use the do until function to do this???

    Thanks in advance
    ILMV
    Last edited by I_Love_My_Vans; Jun 11th, 2005 at 01:45 PM. Reason: Shabba, Resolved

  2. #2
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Re: Do until statements

    VB Code:
    1. Do Until List1.ListCount = 26
    2.         List1.AddItem "R"
    3.     Loop

    there ya go

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