Home › Forums › Problems and solutions in GDL › Graphical UI and parameters list › Problem whith my program in interface page › Reply To: Problem whith my program in interface page
September 25, 2015 at 14:01
#1538
antoine JULLIEN
Participant
program update
dim Titre[5]
Titre[1] = “Tissu extérieur”
Titre[2] = “Tissu intérieur”
Titre[3] = “Accoudoir”
Titre[4] = “Passepoil”
Titre[5] = “Tissu Cale reins”
dim Param[5]
Param[1] = “GerMaterial_1”
Param[2] = “GerMaterial_2”
Param[3] = “GerMaterial_3”
Param[4] = “GerMaterial_4”
Param[5] = “GerMaterial_5”
i=0
WHILE i <= 4 DO
i=i+1
if Param[i] = “1” THEN
hideparameter Param[i]
lock Param[i]
ELSE
UI_OUTFIELD Titre[i] ,15,i*25 ,120,20
UI_INFIELD Param[i] , 140,i*25,240,20
ENDIF
ENDWHILE
Tonio