안녕, 모두들.
내가 겪었던 한 가지 문제는 텍스트 편집 상자의 스크립트에서 텍스트 편집 상자에 대한 힌트를 넣었지만 프로그램을 실행할 때 작동하지 않습니다.
누구든지 내가 도와 줄 수 있니?
감사.
아래에 스크립트를 첨부합니다.
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 );
)
);