G
Guest
Hello,
I need to build a very simple text editor. The requirement is that
the input screen should be divided into 'm*n' cells ('m' rows, 'n'
columns, with each cell of a fixed size). Whenever the user wants to
input text, he will click on one of these cells, and then enter the
text. The text should then be visible inside the cell.
From my very limited knowledge of VB, I plan to use the 'group box'
construct to denote one cell. Now, here is where I need your help.
1. How do I create 'm*n' 'group boxes' on the fly (some kind of a
nested for loop ?)
2. How do I know when a user has clicked on a 'group box' ?
3. For every 'group box', I need to allocate a buffer to store the
characters that the user has entered for that particular cell. How
can this be done ?
Thanks.
I need to build a very simple text editor. The requirement is that
the input screen should be divided into 'm*n' cells ('m' rows, 'n'
columns, with each cell of a fixed size). Whenever the user wants to
input text, he will click on one of these cells, and then enter the
text. The text should then be visible inside the cell.
From my very limited knowledge of VB, I plan to use the 'group box'
construct to denote one cell. Now, here is where I need your help.
1. How do I create 'm*n' 'group boxes' on the fly (some kind of a
nested for loop ?)
2. How do I know when a user has clicked on a 'group box' ?
3. For every 'group box', I need to allocate a buffer to store the
characters that the user has entered for that particular cell. How
can this be done ?
Thanks.