2020-02-28 03:17 PM
NOHOLE = 0 RECTANGLE = 1 ROUND = 2Parameter script:
for L = 1 to 4 values{2} "tab_res[" + str(L, 1, 0) + "][1]", NOHOLE , "No hole", RECTANGLE, "Rectangle", ROUND , "Round" next LUI script:
for L = 1 to 4 UI_INFIELD{3} tab_resdoing this the type field is still a numeric field, not a dropdown...[1], 130, var_ligne, 40, 20, 8, "", 0, 0, 0,0,0,0, "","Sans",NOHOLE, "",'Rectangle', RECTANGLE, "","Round",ROUND next L
2020-02-28 04:39 PM
values{2} "tab_res", NOHOLE , "No hole", RECTANGLE, "Rectangle", ROUND , "Round"it works for me. I never used a VALUES or VALUES{2} for single Array-Parameter-Values and I think that this does not work.
2020-02-28 04:57 PM
Joachim wrote:this can't work for me,
If I write insteadvalues{2} "tab_res", NOHOLE , "No hole", RECTANGLE, "Rectangle", ROUND , "Round"it works for me. I never used a VALUES or VALUES{2} for single Array-Parameter-Values and I think that this does not work.
2020-02-28 05:05 PM
2020-02-28 05:32 PM
iOpening_res[_i] !<--for opening types (integer - array) rOpening_res[_i]!<--for opening real data (real - array)
2020-02-28 05:41 PM