V 10
1
LANG:1 8 (NoName)
PANEL,459 314 281 181 N "_3DFace" 0
EEE E E 1 -1 -1 0  -1 -1
"" 0 1
EE 2
"CBRef""1"
"EClose"E
""
DISPLAY_LAYER, 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
LAYER, 0 
1
LANG:1 6 Layer1
13 0
"Button1"
""
1 30 70 E E E 1 E 1 E N "_3DText" E N "_3DFace" E E
 E E
1 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
28 68 132 112
T 
1
LANG:1 12 Dummy Values
"main()
{
  EP_setDP();
}

// SimpleCtrlScriptEnd {EP_toggleDP}

EP_setDP()
{
dyn_errClass err;
bool state;

// 1 = hardcoded values, 0 is configuration database
dpSetWait(\"ChoiceDB.Data:_original.._value\", 3);

  dpGet(\"loadConfiguration.trigger:_original.._value\", state);
  if (state==1) {
    dpSetWait(\"loadConfiguration.trigger:_original.._value\", 0);
     DebugN(\"Trigger has changed to 0\");
     }
  else {
     dpSetWait(\"loadConfiguration.trigger:_original.._value\", 1);
     DebugN(\"Trigger has changed to 1\");
     }
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}
" 0
 E E E
13 1
"Button2"
""
1 150 70 E E E 1 E 1 E N "_3DText" E N "_3DFace" E E
 E E
2 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
148 68 252 112
T 
1
LANG:1 13 Module Values
"main()
{
  EP_setDP();
}

// SimpleCtrlScriptEnd {EP_toggleDP}

EP_setDP()
{
dyn_errClass err;
bool state;

// 1 = hardcoded values, 0 is configuration database
dpSetWait(\"ChoiceDB.Data:_original.._value\", 1);

  dpGet(\"loadConfiguration.trigger:_original.._value\", state);
  if (state==1) {
    dpSetWait(\"loadConfiguration.trigger:_original.._value\", 0);
     DebugN(\"Trigger has changed to 0\");
     }
  else {
     dpSetWait(\"loadConfiguration.trigger:_original.._value\", 1);
     DebugN(\"Trigger has changed to 1\");
     }
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}
" 0
 E E E
0
LAYER, 1 
1
LANG:1 6 Layer2
0
LAYER, 2 
1
LANG:1 6 Layer3
0
LAYER, 3 
1
LANG:1 6 Layer4
0
LAYER, 4 
1
LANG:1 6 Layer5
0
LAYER, 5 
1
LANG:1 6 Layer6
0
LAYER, 6 
1
LANG:1 6 Layer7
0
LAYER, 7 
1
LANG:1 6 Layer8
0
0