Hello Mrf, How do you do to set the second combobox from the first one?
-- Wagner Nitsch Bressan On Mon, Feb 1, 2010 at 1:30 PM, mrf <[email protected]> wrote: > Hi friends., > > Can any one say how could I do the following requirement.... > > > I have two combo boxes.. viz., first with countries and second with > states... Ok..?? Now, > > I want to give choice's to user as depending upon the countries selection > the relevant states hav to display in second combobox.. Fine..?? (I did > it..) > > Again, if user directly clicked on states combobox then I hav to display > only particular states... > > How could I hav achive..According to the first combobox value I hav to > display list in second combo box, ryt..?? > So, intially I'm appending combobox value as 'SELECT', also if user > clicking on second combo box(state) we get first combo box(countries) > selectedIndex as '-1', ryt, by using this am proceeding., > >>>>but wat if user thought to know all the states of a particular country > and again changed his thought to know only particular states..?? (which > means user first time changing the first(country) combo box index to '0', > and again want to know only particular states, then my code not satisfying > this condition ) > > > In detail... > Let us assume, combo boxes value intially as 'SELECT', and if the > first combo box value is changed then it is updating to some value > (from list) and changing its index from -1 to 0., depending upon this > am displaying some a,b,c values in second combo box... else if first > combobox havn't clicked on first combo but second combo box is clicked > then am displaying some x,y,z values in second combo box. fine...?? > > Again, for the next time, if user again want to know only second combo > box values as x,y,z...??(by making first combo box value default > selection as 'SELECT') > (I'm able to display same list for second combo box every time).. > > > > Got it...??? Help me out.................. Am, waiting..... > (Apologies for my english) > > -- > You received this message because you are subscribed to the Google Groups > "Google Desktop Developer Group" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-desktop-developer%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-desktop-developer?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Desktop Developer Group" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-desktop-developer?hl=en.
