Skip to content
⌘ NSIS Forum Archive

default text in textbox, droplist

3 posts

mastak128#

default text in textbox, droplist

Hi!
I have to questions:
1) is it possible to create droplist (NSD_CreateDropList) and textbox(NSD_CreateText) with default text?

In the case of textbox default text has to disappear when textbox has a focus and appear again if textbox hasn't focus and user didn't type entered a text.]

Thanks
Afrow UK#
You need to do this yourself with OnClick + OnChange events although I'm not sure that would be adequate for what you want to do (i.e. you probably need a lost focus event but there isn't one).

Stu