Posted 12 February 2009 - 01:28 PM
Hi, im making a simple HTML editor and i have a sort of predictive text function, i have made it so you can add words to the library, it can load the library but....it dose not do anything with the library. I have a box where you write your code etc and i want it so while you type if you press "<" it will then put letters in the normal code box and now also in the Scan array, if the Scan arrays letters match the start or all of the letters in a word then it will display it in my drop down box and if it detects ">" then it will clear the Scan array and just let you code as normal.
So all i really need is, how do i pick up Individual key presses i.e. "<" will do somthing, ">" will do somthing and it also detects key presses like "HELLO" and puts them into seperate text boxes, one for typing and one for checking.
Thanks, Wolfy87 =)