내 응용 프로그램에는 항목 렌더러를 사용하는 List가 있습니다.특정 컨트롤의 포커스를 어떻게 제외시킬 수 있습니까?
렌더러에는 Grid 안에 두 개의 컨트롤이 있습니다. 나는 사용자가 TextAreas를 통해 탭 할 수 있기를 원한다. 그러나 다음 TextArea로 이동하려면 두 번 탭해야한다는 것을 알았습니다. 나는 그것이 라벨에 탭 될 수 있다고 생각합니다. 탭에서 라벨을 어떻게 제외합니까?
코드는 다음과 같습니다 :
<mx:Label fontSize="8" text="Thanks"
focusIn="{focusManager.moveFocus(mx.events.FocusRequestDirection.FORWARD)}"/>
만들기 감각 :
<mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml"
height="100%"
implements="mx.controls.listClasses.IDropInListItemRenderer"
width="100%">
<mx:GridItem height="100%"
colSpan="5"
width="100%">
<mx:VBox width="100%">
<mx:TextArea id="txtFeedback"
tabIndex="0"
wordWrap="true"
maxChars="4000"
fontWeight="bold"
width="100%"/>
<mx:Label fontSize="8" text="Thanks"/>
</mx:VBox>
</mx:GridItem>
</mx:GridRow>
</mx:Grid>
관련 [tabChildren] (http://help.adobe.com/ko_KR/FlashPlatform/reference/actionscript/3/flash/display/DisplayObjectContainer.html#tabChildren) 속성에도이 태그를 사용하십시오. 이는 부모를 원하면 도움이됩니다. 구성 요소는 포커스를 받지만 자식은 수신하지 않습니다. –