Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Using properties for EditXValue


3 replies to this topic

frtr

frtr
  • Members
  • 10 posts

Posted 17 August 2004 - 15:42

Hi!

I am trying to use a property as a default value for an Edit Text box value.

I tried to set Edit1Value = [COMPUTERNAME] but when I tested the install, the Edit1 text box was empty.

You can check the attached picture if my explanation is not very clear biggrin.gif

How ( if possible ) can we achieve this? I'm using Visual Studio .net 2003 only.

Thank you very much!

François Tremblay

Attached Images

  • property.jpg


luke_s

luke_s
  • Full Members
  • 532 posts

Posted 18 August 2004 - 07:22

if you give the value of the edit box something like
[MyProperty]
and then set MyProperty inside the property table to a value, then this value will be displayed when you run the dialog.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 18 August 2004 - 09:22

Did you set COMPUTERNAME anywhere in your setup? Otherwise it will obviously be blank. Note that property names are case sensitive. Therefore COMPUTERNAME is not a predefined property, but ComputerName is predefined.

frtr

frtr
  • Members
  • 10 posts

Posted 19 August 2004 - 14:48

Thank you very much...

I thought properties needed to be .ToUpper()

François Tremblay