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

Refresh Editbox Content


1 reply to this topic

Stefan Secker

Stefan Secker
  • Members
  • 46 posts

Posted 28 May 2002 - 14:16

Hi there,

i try to manage the following.
I use a dialog with a checkbox and an editbox on it. Ticking the checkbox shall display the CumputerName in the editbox and disable it Unticking shall re-enable it again. My settings:

Editbox
Property:
  SERVERNAME
Conditions:
  Disable;CHK_DB_LOCAL="LOCAL"
  Enable;CHK_DB_LOCAL=""

Checkbox
Property:
  CHK_DB_LOCAL
Value:
  LOCAL
Event:
  [SERVERNAME];[ComputerName];1

All works fine when i enter the dialog the first time and the editbox is empty. If i enter once a any string into the editbox and afterwards tick the checkbox, the string is not replaced with the "ComputerName", although the edit box is disabled. By clickling "<back" and "next>" again and the "ComputerName" in the disabled editbox is displayed though.

Any idea, how i can refresh the editbox all the time??

Thanx in advance
        Stefan

Irina

Irina
  • Members
  • 227 posts

Posted 28 May 2002 - 15:32

Hi Stefan,
Set a property Enabled as FALSE for this editbox in the IDE and then go to Behavior of the dialog in Conditions and set
Enable if your checkbox is checked.
So a customer can not enter anything in this editbox, because it will be disabled until the checkbox is unchecked.
Hope it will works for you.
Irina Shirinsky
Software Engineer, Heroix Corporation
http://www.heroix.com