Started by johnM ·
2011-08-08 04:31 UTC ·
4 replies · SMF topic #1668
johnM
2011-08-08 04:31 UTC
using the combo box style 0
the OnEditChanged fires after each letter is entered into the text box
is it possible to type a new line of text into the text box and have it added to the list?
dcl version 6.0.2.5
owenwengerd
2011-08-10 14:31 UTC
Maybe during OnKillFocus or OnDropdown if the input field was changed?
johnM
2011-08-10 17:12 UTC
Thanks, I’ll look into it.
For now I just added add/delete buttons
Could someone explain the use of the oneditchange function?
Is it supposed to fire each time a letter is typed into the combo text box?
owenwengerd
2011-08-10 17:52 UTC
Documentation for OnEditChanged:
{2}
This event enables you to set a flag to signal that the user typed something in the edit box.
johnM
2011-08-10 19:04 UTC
I understand now
I was interpreting the description to mean when the user finishes typing in the text box
So if you type the word “hello” the event is fired for each letter, this is just to let the program that something is going on.
Then you can set a flag to be used by another function to write the text to the list if necessary.
Thank you very much for the help