Archive: change the focus on another control in a custom page


change the focus on another control in a custom page
Hello,

I saw in the cvs that, from now, we can set, with IstallOption, the focus on the specified control thanks to the FOCUS flag.

But, I would like to be able to go even further:

Do you know if it is possible to set the focus on another control but in the leave function of a custom page?

It is for my SERIALNUMBER page:
If I enter a character in a TEXT field, the NOTIFY flag allows me to go in the leave function, and I want, if, the string length is enough, set the focus to the next TEXT field.


You can call user32::SetFocus with system plugin, but, are you talking for IO or for IOex?
Unless I'm confused, I don't remember IO to support notify flag for text fields, I think IOex supports such features.


You are right, InstallOption does not support this feature, Only IOEx, I had not checked.

I will test the user32::SetFocus function thanks.