Hi All,

In my application am using a menuItem, am able to display the data in the
menu, but I need to use the Tooltip for the menuitem in the list.
I have used the following code for displaying the tooltip. But by this code
tooltip is not displaying.


 private var menuDataList:XMLList =<>

                <menuitem label="File" data="file">
                  <menuitem label="New" data="new"  tip="Create a new
File"/>
                  <menuitem label="Open" data="open" tip="Open a Existing
File"/>
                  <menuitem label="Save" data="save" tip="Save the list of
contents"/>
                  <menuitem label="Save As" data="saveas" />
                  <menuitem label="Exit" data="exit"/>
                </menuitem>
      </>

      <mx:HBox  width="100%">
        <mx:MenuBar id="menulist" labelField="@label"
dataProvider="{menulistCollection}"
      change="changeHandler(event);" x="0" y="0"   toolTip="{data.tip}"  />

can anyone suggest me how to use the tooltip for menuitems.

Thanks in Advance..

Regards,

Tomt

Reply via email to