View Full Version : Dialogs: Edit Field Text vs Property Properties

08-27-2010, 04:48 PM

IS2011 noob question. I'm a bit confused as to the validity of the Text property that's available for an Edit Field control.

When I first created the edit field, I was prompted for a new property name, as expected per the documentation. I see this new property, WEBPROXYURL added to the Property Manager, with a default value of 0.

I have set the Text property of this edit field to http://[serverURI]/WebProxy to hint the user as to what we want supplied.

When the install runs and the dialog displays though, it displays 0 in this edit field (WEBPROXYURL's public property value). It's ignoring my Text property completely.

As an experiment, I tried removing WEBPROXYURL from the Property Manager outright, and cleared this value from the Property property of the edit field. I then hit a run time error though complaining that the edit field is missing a return value (I expected this).

I then re-added WEBPROXYURL to Property Manager, and set its value there to http://[serverURI]/WebProxy and then at run-time it shows up as expected.

This just doesn't "feel" right--I don't understand how the Text property comes into play at all if the required Property property's value governs what is displayed.

Am I over-thinking this, or missing something? Thanks much!


08-31-2010, 12:02 PM
The Text property of edit controls is not used by the runtime. It should be removed from the Dialog Editor. I filed the work order #IOA-000057977 so that it will be fixed in a future release.

Thank you for reporting this.

08-31-2010, 12:39 PM
Ah, thanks -- that clears it up! :)

10-10-2011, 07:45 AM
1 year have gone and the Text field is still here. What happened with #IOA-000057977 :)

10-10-2011, 08:25 AM
IOA-000057977 was fixed in InstallShield 2012.

10-11-2011, 02:09 AM
Hi DebbieL,

If there is any workaround to solve the issue in installshield 2011

10-11-2011, 12:47 PM
Use the Property field to associate a property with your edit control. If the Indirect bit is not set, the control displays or changes the value of the property having the name. The Text field has no affect to edit controls.