hi, I want to call a function every time a key is released inside an edit box.
any idea of how this can be done?
example code welcome!
thanks in advanced,
amigojapan
I have an eC/ecere question
-
- Posts: 7
- Joined: Fri Jul 29, 2022 7:43 am
Re: I have an eC/ecere question
I can answer my own question now!
after double clicking the edit box, the following method appeared, and it worked as wanted!
inside the edit box scope that is... just double click the edit box and it will appear!
after double clicking the edit box, the following method appeared, and it worked as wanted!
Code: Select all
bool NotifyModified(EditBox editBox)
{
printf("notify modified called!");
return true;
}
Re: I have an eC/ecere question
There is also NotifyUpdate and NotifyKeyDown which might or might not be what you want depending on the situation.
NotifyModified is only called once after the EditBox loses the focus following a modification.
NotifyModified is only called once after the EditBox loses the focus following a modification.