Salut à tous
Un problème que j'avais face est dans mon script pour la zone d'édition de texte, j'avais mis un indice pour la zone d'édition de texte, mais lorsque je lance le programme, il ne fonctionne pas.
Est-ce que quelqu'un peut m'aider à jeter un coup d'oeil?
Merci.
J'ai joindre un script ci-dessous:
nw = New Window("SB Selection",
<< modal,
V List box (
// " ",
// "Select SB of Interest",
// " ",
Line up box(1, "SB:", SB = SBList ),
//" ",
Lineup box (Ncol(1),
aa = List Box(SBList),
ted = Text Edit Box(" ", << Set Hint("search word example: I"),
<< Set Script(
Wrd = Uppercase(ted << Get Text);
SBListNew = {};
For(j = 1, j<= N Items(SBList), j++,
if (Contains(SBList[j], Wrd),
Insert Into(SBListNew, SBList[j])
)
);
aa << Set items(SBListNew);
)
)
),
Panel Box("Select",
rb = Radio Box(u1u2)
),
H List box( Button Box( "OK" ), Button Box( "Cancel" ) ),
)
);
If( nw["Button"] == -1,
Throw( "User Cancel" )
);
Remove From( nw );
Eval List( nw );
B = SBList[SB];
Include( JSL );
)
);