Two edit boxes, one for the first language to the other one
And one for the second back to the first.
When you write a word in the first box, the translation will show up in the other when you press a button.
I just dont know how to do it really.
Any ideas?
Use a two-dimensional array or something. Shouldn't be too hard. I think Phizzy wrote an article on this, you could try DC searching for 'translator system'.
try something with Associative Array object. it allows you to store strings !
you have 2 edit objects, you type the words in the Edit1 and you have the translated word in the Edit2
1/ to make the database, store strings into your array: the name of the Key is your original word, and the name of the string you store into is the translated word.
2/ make a system to check if the word typed exist in the database, it's quite simple:
Upon pressing Enter (or another condition^^) => set the text of Edit2 to GetString$( "AssArray Object", Edittext$( "Edit1" ))
if the word typed in the Edit1 exists somewhere in the array, his translation will be displayed in the Edit2