2DArrays in DialogBased Apllications

cpp.net United States
  • 15 years ago
    Hello,

    My problem is: SUDOKU(Math Puzzle)
    I have 81 EditControl boxes in a 9x9 array which should take a Number from 1 to 9.
    I have written the Program to solve the puzzle in command prompt format. To work it needs a [9][9] int array.
    Now I could give each 81 edit boxes a member variable. And then write a function that makes a matrix out of it. But adding 81 editcontrols is a bit laborious.

    Is there anyway to group the 81 boxes and have it represented by an array? I found the property "group" but I don't really know what it does.

    I would be delighted if someone could give me an Idea on how to solve this.

    THX
    d11

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“God could create the world in six days because he didn't have to make it compatible with the previous version.”