|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi
i'm building a wordsearch program which uses a text box to display the actual word search (12 x 12 letters). i've managed to get it to search left-right and right-left ok. does anyone know how to search up or down the columns? or even diagonally? please help!! thank you! ![]() |
|
#2
|
|||
|
|||
|
It might help to know what containter is holding your columns.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
It's a text box - on form load the program populates the text box.
|
|
#4
|
|||
|
|||
|
A text box with columns? I'm not familiar with any text boxes that support columns, are you sure you're not using some kind of grid or something?
|
|
#5
|
|||
|
|||
|
I'm sorry, I didn't phrase that properly. On form load, the text box is populated with the letters. I've got the search working left-right and right-left, but I don't know how to search up and down or diagonally. Does anyone know of a way to do this?
Thank you! |
|
#6
|
|||
|
|||
|
You could load the text into a two dimensional array of characters, so that the array would "look like" the textbox. Then you could search any which way you wanted using the indicies (indecies? ind.... indexes durn it).
|
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > WordSearch - Please Help! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|