Hi guys, I started to work on saving for my level editor today, and immedietly, I ran into a problem. The edit boxes are still broken. I posted about this in another thread a while back but the problem wasn't solved.
Basicaly, the editboxes don't seem to display dext text. When I first create the edit box, the cursor (allthough being way to wide) seems to work. But as soon as I type to it the cursor dissapears and nothing is displayed. The textbox does contain text which can be returned by the GetEditBoxText() command. Is this a bug or am I doing something wrong?
I am using agk T2 and version 1086 if im not misstaken.
This is the only code that manipulates the editbox
if(menuLoaded == false){
//Creating an editbox
editBox = 100;
agk::CreateEditBox(editBox);
agk::SetEditBoxPosition(editBox, 20, 5);
agk::SetEditBoxSize(editBox, 75, 7.5);
agk::SetEditBoxText(editBox, "Filename");
agk::SetEditBoxTextColor(editBox, 0, 0, 0);
//Quickfix text
menuLoaded = true;
}
agk::SetPrintColor(255, 0, 0, 255);
agk::Print(agk::GetEditBoxText(editBox));