4 Replies Latest reply on Jul 12, 2007 2:41 PM by Newsgroup_User

    comboBox

    Level 7
      Hi All,
      I can get the selectedItem.label from my comboBox, but how can I set the
      focus of a particular label name?
      I try myCombo.selectedItem.label = "Sample"; but no luck, still in the index
      0.
      Tks

      JFB


        • 1. Re: comboBox
          Level 7
          Never mine I got it.
          myCombo.text = "Sample";

          so simple.... tks anyway :)

          "JFB" <help@jfb.com> wrote in message
          news:f70ug1$a0u$1@forums.macromedia.com...
          > Hi All,
          > I can get the selectedItem.label from my comboBox, but how can I set the
          > focus of a particular label name?
          > I try myCombo.selectedItem.label = "Sample"; but no luck, still in the
          > index 0.
          > Tks
          >
          > JFB
          >
          >


          • 2. Re: comboBox
            Level 7
            ggg.. but this only select text but not my text option to be selected.
            It's another way to do this? I don't have the index.
            Tks

            "JFB" <help@jfb.com> wrote in message
            news:f70uit$a3i$1@forums.macromedia.com...
            > Never mine I got it.
            > myCombo.text = "Sample";
            >
            > so simple.... tks anyway :)
            >
            > "JFB" <help@jfb.com> wrote in message
            > news:f70ug1$a0u$1@forums.macromedia.com...
            >> Hi All,
            >> I can get the selectedItem.label from my comboBox, but how can I set the
            >> focus of a particular label name?
            >> I try myCombo.selectedItem.label = "Sample"; but no luck, still in the
            >> index 0.
            >> Tks
            >>
            >> JFB
            >>
            >>
            >
            >


            • 3. Re: comboBox
              deKolonel
              Hi,

              Maybe a stupid remark, but did you try to add the labelField = "Sample" property to the combobox?
              • 4. Re: comboBox
                Level 7
                I got it,
                It was an empty spaces on the data because nchar type :)
                Rgds


                "deKolonel" <webforumsuser@macromedia.com> wrote in message
                news:f7651m$qji$1@forums.macromedia.com...
                > Hi,
                >
                > Maybe a stupid remark, but did you try to add the labelField = "Sample"
                > property to the combobox?