Jump to content

need help


erikson
 Share

Recommended Posts

hi codemasters!

i have a problem:

i have a .dat file who contains values like:

CODE
Key: 6

Key: 7

Key: 8

Key: 9

Key: 10

Key: 11

Key: 12

Key: 14

Key: 15

Key: 16

Key: 17

Key: 18

Key: 20

Key: 21

Key: 23

Key: 24

Key: 32

Key: 34

Key: 35

i must make a gui window with a radio buton for each value from the.dat file

important!

the values from the .dat file is not the same each time i open it

have any ideas?

Link to comment
Share on other sites

Use StringSplit to break the text on the line breaks.

Then do a loop creating radio buttons. Like this:

Dim $RadioButtons[35]

For $i = 0 To 34 Step 1
    $RadioButton[$i] = GUICtrlCreat...
Next

[quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"][/font]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...