Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Request
Hey,
Maybe we have asked this before...
We need an event that is triggered when an editline gets empty.
In OI we can use iconv to check for valid input and also do some post processing.
But when an editfield is emptied there is no iconv processing.
We love the SRP Edittable for its BeforeUpdate and AfterUpdate event, it also triggers an empty cell.
Can you add these events to an editline/editbox with the Subclass Control?
Regards,
Ed
Maybe we have asked this before...
We need an event that is triggered when an editline gets empty.
In OI we can use iconv to check for valid input and also do some post processing.
But when an editfield is emptied there is no iconv processing.
We love the SRP Edittable for its BeforeUpdate and AfterUpdate event, it also triggers an empty cell.
Can you add these events to an editline/editbox with the Subclass Control?
Regards,
Ed
Comments
Just have to ask, but wouldn't a CHAR or CHANGED event suit you?
I was going to say the same about CHAR or CHANGED. Also, you could do a user-defined CONV if that suited your needs more.
I think Ed suggested that ICONV processing (UDC or internal) simply does not trigger when leaving an empty edit line control.
We only want an event if the user has changed the edit line.
But what about my first question, can you do that?
Now we sometimes use an edittable with one cell, this works, but not so elegant!
Ed
In other words, there is nothing the Subclass can any differently than what capturing the CHANGED event in OI can do. This is due to Windows, not OI or anything else.