Hi all. I have a problem with update an Edit control. I have the Edit control and a button. I want to change value in the Edit control after a user press the button. Looks like following: <Property Id="MIN_WORKER_THREADS" Value="40" /> <Control Id="MinWorkerThreadsEdit" Type="Edit" Width="30" Height="15" X="170" Y="120" Property="MIN_WORKER_THREADS" />
<Control Type="PushButton" Id="SetDefaultValues" Width="110" Height="17" X="235" Y="94" Text="Set Default Value"> <Publish Property="MIN_WORKER_THREADS" Value="40" Order="1">1</Publish> </Control> But if the value in the Edit control was changed by the user, it won't change after button press. I have to change dialog (press Back or Next buttons and return back) to see new value. I tried to use Indirect property, but it didn't help. Behavior of the control is the same. Looks like following: <Property Id="MIN_WORKER_THREADS" Value="40" /> <Property Id="MinWorkerThreadsProperty" Value="MIN_WORKER_THREADS" /> <Control Id="MinWorkerThreadsEdit" Type="Edit" Width="30" Height="15" X="170" Y="120" Property="MinWorkerThreadsProperty" Indirect="yes" /> <Control Type="PushButton" Id="SetDefaultValues" Width="110" Height="17" X="235" Y="94" Text Set Default Value "> <Publish Property="MIN_WORKER_THREADS" Value="40" Order="1">1</Publish> </Control> I have implemented "double dialogs" and change dialogs after the button is pressed (move to an equal dialog after the button press). But I want to know, is it a single solution? And why PathEdit and ComboBox controls work fine with the Indirect property, but Edit control doesn't work? Grigory Konovalov Software Engineer ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users