Archive: Test Control doesn't delete the letters written


Test Control doesn't delete the letters written
Hello all, I have set a custom page with nsDialog as follow-->

nsDialogs::Create /NOUNLOAD 1018
Call setApparence
Pop $Dialog

${If} $Dialog == error
Abort
${EndIf}

${NSD_CreateLabel} 0 0 100% 12u "Seleccione el tipo de base de datos con la que quiere que trabaje GmTime: "
Call setApparence
Pop $ConfigDBLabel

${NSD_CreateLabel} 15% 15% 15% 12u "Usuario: "
Call setApparence
Pop $ConfigDBUserLabel

${NSD_CreateText} 30% 15% 70% 12u ""
Call setApparence
Pop $ConfigDBUserText

${NSD_CreateLabel} 15% 30% 15% 12u "Password: "
Call setApparence
Pop $ConfigDBPasswdLabel

${NSD_CreatePassword} 30% 30% 70% 12u ""
Call setApparence
Pop $ConfigDBPasswdText

nsDialogs::Show


When I set the focus on Text control in order to type the user and password, if I want delete the text written it isn't removed.

Can you help me please?

There seems to be too little information to offer any advice. But if I had to guess, I'd say something in your "setApparence" function is causing problems. (I say this because the rest of the code looks mostly like it's straight out of the manual.)

If you remove those function calls (comment them out), does it work then?


I've removed the call to setApparence and it has work correctly, What's wrong?

Thaks for all.


The obvious answer is that there is something wrong with your "setApparence" function. If you want more specific than that, you'll have to provide more info. (like maybe attach a copy of your function.)

We're all pretty good at solving problems around here, but not that good! :rolleyes: