// BackSpace * Author unknown code fix by Mireben
NewEntry = dbGetEntry();
dbClearEntryBuffer();
if (NewEntry > 0)
{
if (*NewEntry != 0)
{
if (numcount < 256)
{
if ((!dbKeyState(14)) && (!dbKeyState(28)))
{
strcat(Entry, NewEntry);
dbClearEntryBuffer();
numcount++;
}
if (dbKeyState(14) && numcount > 0)
{
dbClearEntryBuffer();
numcount--;
Entry[numcount] = '\0';
}
}
}
// Delete the returneed string to free memory
delete[] NewEntry;
}
dbText(45, 514, Entry);
There is a way to input text and backspace it.
But you basically just use dbGetEntry(); and dbClearEntryBuffer(); to clear the string.
so like ip = dbGetEntry();
ip now has your typed in value.
www.touchofdeathproductions.com