So, i'm working on a GUI dialog game project for school, and I've come to a point where the player is being asked riddles. So, i created an edit control, and I know how to enable it and get the text from it, but I need to loop through a point in one of my functions and check the text in the edit control until the text in the edit control is the answer to the riddle if that makes sense. Does anyone know how to do this?