Archive: Changing State of a Textfield at runtime


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


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


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


http://msdn.microsoft.com/en-us/library/bb761655(VS.85).aspx

Stu