|
-
Jan 29th, 2002, 09:36 PM
#1
Thread Starter
Frenzied Member
Graphical representation of a WordSearch
What i need to do is show the user a Wordsearch. That basically means, i need a table-like control, upon which i can draw shapes. Is there one?
The purpose is that i have to write a program that can solve any wordsearch. I have no problem with the algorithm...but how should i show the user the results once the words are found?
Suppose i have the following words search (in french):
Code:
ORGFUNC
TUVEIHC
UOJAIAH
AJMETMA
MNNDPIT
OOECOLE
IBFILLE
The last five letters on the last line are a word - "FILLE". Once i find that, how can i show the user where it is?
You just proved that sig advertisements work.
-
Jan 29th, 2002, 11:08 PM
#2
Thread Starter
Frenzied Member
You just proved that sig advertisements work.
-
Jan 29th, 2002, 11:21 PM
#3
Lively Member
a standard list box with an image list as well?
make an icon of an arrow or something appear next to the wanted data entry?
just an idea
-
Jan 29th, 2002, 11:24 PM
#4
Thread Starter
Frenzied Member
Actually i think i can use a FlexGrid. Thanks anyways....you seem to be the only one who's going to answer this thread...
You just proved that sig advertisements work.
-
Jan 29th, 2002, 11:34 PM
#5
How are you displaying the words?
You could put them in a RichText box and then change the color and/or bold the word if you find it.
-
Jan 29th, 2002, 11:42 PM
#6
Thread Starter
Frenzied Member
So far what ive got is a two dimentional array containing all the characters. So what im doing is configuring a flexgrid tot he dimensions of the array. Im not sure how ill draw the lines on it yet...but ill think of something.
You just proved that sig advertisements work.
-
Jan 30th, 2002, 02:38 AM
#7
Registered User
Armbruster said it, use the richtextbox to display the info. BTW is there a reason you are using arrays for each char rather than strings for the whole word?
-
Jan 30th, 2002, 06:22 PM
#8
Thread Starter
Frenzied Member
I'm using a 2D array because im saving a wordsearch in there, like the following(already posted above):
Code:
ORGFUNC
TUVEIHC
UOJAIAH
AJMETMA
MNNDPIT
OOECOLE
IBFILLE
Btw its in french.
You just proved that sig advertisements work.
-
Jan 30th, 2002, 07:37 PM
#9
PowerPoster
Maybe you can you a shape control, and just draw it on top of the thing.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|