Yeah, I see the purpose of it, and it is indeed what I assumed. Thank you for the explanations and example. I guess all I'm saying is, if a button was in a selected toggle mode, I'd expect it be visually stuck in a pressed state. I mean, if I didn't notice it to be selected (without you pointing it out to me), then my mom surely wouldn't have understood it if she was using the application. It's the visual indicator that's poorly implemented. So I'm assuming that if you wanted it to be more visually apparent, that you'd need to reskin it or extend it, or whatever the method is of keeping it in a pressed state visually.
--- In [email protected], "Ashish Goyal" <[EMAIL PROTECTED]> wrote: > It seems like my post didn't go thro' first time, sending it again... > > Toggle button can be used in many ways. It shows visually that if its in > a selected state or not as well as you can get or set the state of the > button programmatically using the "selected" property of the button. It > returns true if the toggle button is selected and false if its not > selected. > I don't have really good use case off hand but for eg. say you are > creating a really simple math app with four buttons for addition, > subtraction, multiplication and division with two input text boxes and a > result textbox. If you use the toggle buttons instead of normal buttons > user will know by looking at the button state the result in the result > box is the output of which mathematical function. > > -Ashish > > > ________________________________ > > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of Devin Holloway > Sent: Friday, July 22, 2005 2:28 PM > To: [email protected] > Subject: [flexcoders] Re: Button toggle clarification > > > Thank you for pointing that out. I do see it now. > Though, it doesn't > seem all that useful, unless I'm missing the greater > purpose. It's > not like a random user understand the purpose. > > > --- In [email protected], "Ashish Goyal" > <[EMAIL PROTECTED]> wrote: > > You should be able to see a halo around the toggled > button when you > > click. Its same as the halo you see in mouseover > state. > > > > -Ashish > > > > > > ________________________________ > > > > From: [email protected] > > [mailto:[EMAIL PROTECTED] On Behalf Of Devin > Holloway > > Sent: Friday, July 22, 2005 1:28 PM > > To: [email protected] > > Subject: [flexcoders] Button toggle > clarification > > > > > > the button control has a toggle attribute. > according to the > flex > > docs, > > > > "Specifies whether a button can be toggled, > true, or acts > like a > > > > pushbutton, false. The default value is false." > > > > My initial assumption was that if you set toggle > to true, then > > if you > > clicked a button, it would remain in the pressed > state until > you > > click > > it again. But this isn't so. To experiment, I > created two > button > > > > controls, side by side, one with toggle set to > true, and the > > other > > false. I couldn't find any difference > whatsoever. So obviously > > it > > doesn't affect anything visually. > > > > So my question is, what's it for? What does it > do? > > > > > > > > > > -- > > Flexcoders Mailing List > > FAQ: > > > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: > > > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > > > > > > > > SPONSORED LINKS > > Computer software testing > > <http://groups.yahoo.com/gads? > t=ms&k=Computer+software+testing&w1=Comput > > > > er+software+testing&w2=Macromedia+flex&w3=Development&w4=Software+deve > lo > > per&c=4&s=93&.sig=kh2CguJwmatU5oBXjFo9Rg> > Macromedia flex > > <http://groups.yahoo.com/gads? > t=ms&k=Macromedia+flex&w1=Computer+softwar > > > > e+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4& > s= > > 93&.sig=dAUcEV7do91-wrRtVS641g> Development > > <http://groups.yahoo.com/gads? > t=ms&k=Development&w1=Computer+software+te > > > > sting&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=93 > &. > > sig=AlxNUQBOI7Io7S7nhmxV0Q> > > Software developer > > <http://groups.yahoo.com/gads? > t=ms&k=Software+developer&w1=Computer+soft > > > > ware+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c > =4 > > &s=93&.sig=QWIit8JayomoIHLVkV3FDg> > > > > ________________________________ > > > > YAHOO! GROUPS LINKS > > > > > > > > * Visit your group "flexcoders > > <http://groups.yahoo.com/group/flexcoders> " on the > web. > > > > * To unsubscribe from this group, send an > email to: > > [EMAIL PROTECTED] > > > <mailto:[EMAIL PROTECTED]> > > > > * Your use of Yahoo! Groups is subject to > the Yahoo! > > Terms of Service <http://docs.yahoo.com/info/terms/> . > > > > > > > ________________________________ > > > > > > -- > Flexcoders Mailing List > FAQ: > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > > > SPONSORED LINKS > Computer software testing > <http://groups.yahoo.com/gads? t=ms&k=Computer+software+testing&w1=Comput > er+software+testing&w2=Macromedia+flex&w3=Development&w4=Software+deve lo > per&c=4&s=93&.sig=kh2CguJwmatU5oBXjFo9Rg> Macromedia flex > <http://groups.yahoo.com/gads? t=ms&k=Macromedia+flex&w1=Computer+softwar > e+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4& s= > 93&.sig=dAUcEV7do91-wrRtVS641g> Development > <http://groups.yahoo.com/gads? t=ms&k=Development&w1=Computer+software+te > sting&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=93 &. > sig=AlxNUQBOI7Io7S7nhmxV0Q> > Software developer > <http://groups.yahoo.com/gads? t=ms&k=Software+developer&w1=Computer+soft > ware+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c =4 > &s=93&.sig=QWIit8JayomoIHLVkV3FDg> > > ________________________________ > > YAHOO! GROUPS LINKS > > > > * Visit your group "flexcoders > <http://groups.yahoo.com/group/flexcoders> " on the web. > > * To unsubscribe from this group, send an email > to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > * Your use of Yahoo! Groups is subject to the > Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . > > > ________________________________ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

