Archive: Set focust with nsDialogs


Set focust with nsDialogs
i've searched this forum and found none topic about doing things with controls like changing states/setting focus/etc. All topics are for InstallOptions.
Also nsDialogs documentation sux

Can some1 show me how to SetFocus to NSD_CreateText during creation. I am using create and leave events. Here is one of them

Var eMemberNumber

Function nsPromptTetxBox
nsDialogs::Create /NOUNLOAD 1018
Pop $0

${NSD_CreateLabel} 10 70 75% 14 "Your member number:"
Pop $0

${NSD_CreateText} 10 85 40% 12u ""
Pop $eMemberNumber

nsDialogs::Show
FunctionEnd

Also nsDialogs documentation sux
Nice way of asking for help...

Just use:
System::Call "user32::SetFocus(i$eMemberNumber)"

tnx kichik, cool stuff