Flex 文本框的输入下拉提示
发布时间:2016-12-28 来源:查字典编辑
摘要:复制代码代码如下:
复制代码 代码如下:
<?xml version="1.0" encoding="utf-8"?>
<mx:FormItem xmlns:mx="http://www.adobe.com/2006/mxml" label="" required="true" width="305" fontWeight="bold" height="28" horizontalAlign="right" textAlign="center" font>
<mx:Script>
<>
</mx:Script>
<mx:HTTPService id="HttpPort" method="GET" />
<mx:ComboBox id="DropPorts" keyDown="DropPorts_KeyDown(event);"
labelField="Name"
dataProvider="{HttpPort.lastResult.CityOcean.Port}" width="170" editable="true" textAlign="left"></mx:ComboBox>
<mx:Text id="txtPortID" visible="false" height="0" width="0" text="{DropPorts.selectedItem.ID}" />
</mx:FormItem>