숫자 편집 상자에서 Enter 키를 누른 후 버튼 상자를 활성화합니다.다음과 같은 창이 있습니다:

제가 하려는 것은 위의 숫자 편집 창에서 Enter를 누른 후 '가져올 데이터 선택' 버튼을 활성화하는 것입니다.
docId = "xxxxxx";
WidthDescripWin = 500;
init_value =31;
win = New Window("Landing page for study evaluation add-in",
<<ON close=""></ON>the way that I am trying to do that without success is using the following piece of code:
where the enter_row_start() function just has the enable command.
Is it possible to do that?<BR />what am I doing wrong?
<LINGO-LABS id="lingo-labs-797767" slang="en-US" mode="UPDATE"><LINGO-LABEL>자동화 및 스크립팅</LINGO-LABEL><LINGO-LABEL>기본 데이터 분석 및 모델링</LINGO-LABEL><LINGO-LABEL>데이터 접근</LINGO-LABEL></LINGO-LABS>Re: 숫자 편집 상자에서 Enter 키를 누른 후 버튼 상자 활성화숫자 열 상자에 대해 정의한 함수에 이 표현식을 포함시킵니다.
bboxImp << Enable( 1 );
Re: 숫자 편집 상자에서 Enter 키를 누른 후 버튼 상자 활성화저는 마크가 "숫자 열 상자"가 아닌 "숫자 편집 상자"를 언급한 것으로 생각합니다.
Re: 숫자 편집 상자에서 Enter 키를 누른 후 버튼 상자 활성화당신은 올바른 길을 가고 있습니다. 함수의 일부로 숫자 편집 상자의 값을 확인하기만 하면 됩니다. 스크립트에 적용할 수 있는 간단한 예가 있습니다. 아래 함수는 숫자 편집 상자가 누락된 값으로 돌아가면 버튼을 비활성화합니다.
names default to here( 1 );
nw = new window( "Test Window",
panel box( "Instructions",
text box( "1. Input number \!r2. Press Enter \!r3. Press Run Analysis" )
),
panel box( "Data Entry",
h list box(
text box( "enter a number and hit Enter on your keyboard" ),
NEB = number edit box( ., << set function(
function( { thisBox },
if(
!is missing( thisBox << get ), bb1 << enable(1),
is missing( thisBox << get ), bb1 << enable(0)
)
)
))
)
),
panel box( "Actions",
h list box(
bb1 = button box( "Run Analysis" ),
button box( "End Analysis" )
)
)
);
bb1 << enable( 0 )