KartoffelKiffer
26th November 2008 15:34 UTC
Changing State of a Textfield at runtime
Hello,
i have a page generated by an ini file. At this page i have a textfield [Field 3]. I would like to change the State of the textfield at runtime. So when ich press a button, the state (text) should be changed.
I already tried "WriteIniStr '$EXEDIR\page_verify_install.ini' 'Field 3' 'State' '$Text'" but this will change the State only at the next start of my installer.
I hope you can help me with my problem.
Best regards,
Tom
Afrow UK
26th November 2008 16:03 UTC
You have to set it with SendMessage and WM_SETTEXT. Should be examples around the forum. You should really switch to nsDialogs as well.
Stu
KartoffelKiffer
27th November 2008 11:43 UTC
I did! It seems to be easier and more comfortable.
Small question to the ${NSD_CreateText} function: How can i make it READONLY ( i dont want to create a new topic for that )?
Many thanks,
Tom
Afrow UK
28th November 2008 02:51 UTC
http://msdn.microsoft.com/en-us/library/bb761655(VS.85).aspx
Stu