combo box OnEditChanged

Started by johnM, August 07, 2011, 09:31:59 PM

Previous topic - Next topic

johnM

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

Maybe during OnKillFocus or OnDropdown if the input field was changed?

johnM

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

Documentation for OnEditChanged:
http://www.opendcl.com/HelpFiles/index.php?page=Reference/Event/EditChanged.htm

This event enables you to set a flag to signal that the user typed something in the edit box.

johnM

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