OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: Jim Short on June 05, 2017, 06:15:44 AM

Title: TextBox Update Event
Post by: Jim Short on June 05, 2017, 06:15:44 AM
c:/textbox#OnUpdate (NewValue /)
Can someone describe what NewValue contains after a key press. Does this event fire after each key stroke?
Thanks,
Jim
Title: Re: TextBox Update Event
Post by: Jim Short on June 05, 2017, 07:32:47 AM
NewValue returns what was in the box before the key press. 
This is not what edit control update says:
"This event is triggered when the text in the edit control is about to change. NewValue is the new text."

Can someone relay an example of how this event is useful?

Jim
Title: Re: TextBox Update Event
Post by: owenwengerd on June 05, 2017, 12:01:49 PM
It's a bug, Jim. I've fixed it for the next build.
Title: Re: TextBox Update Event
Post by: Jim Short on June 06, 2017, 06:27:15 AM
Thanks Owen.