![]() |
Changing control text at runtime
Hi,
I have a dialog with three directory fields. If the user changes the first directory I want to be able to update the remaining two automatically (the user can override the next two manually). Can this be done? cheers, Phani |
Add the notify flag (in the .ini) to the first dir field, in the leave function for the page, check if the dir field changed, if it did, use sendmessage with ${WM_SETTEXT} on the other fields
All is explained in the InstallOptions readme |
Quote:
|
notify works with DirRequest
|
Quote:
EDIT: The documentation doesn't mention that NOTIFY flag works for DirRequest, FileRequest, and ComboBox controls: Quote:
|
Tried using NOTIFY, and it only works if I use the button at the end of the DirRequest control. If I manually change the text in the textbox I don't get a notification message.
Am I doing something wrong? /Phani |
Quote:
You probably need to create a plugin and subclass if you want it to respond to changes in the text field. |
| All times are GMT. The time now is 05:06. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.