Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!ucbvax!UPR1.UPR.CLU.EDU!D_GONZALEZ From: D_GONZALEZ@UPR1.UPR.CLU.EDU Newsgroups: comp.windows.x.motif Subject: Weird Behavior in Toggle Gadget Message-ID: <89D922C1151F006628@UPR1.UPR.CLU.EDU> Date: 20 Apr 91 03:29:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 20 Hi: I have an application that uses a couple of toggle buttons childs of a radio box. I have a function that is called every time the buttons change state. They seem to work properly except under one condition. If I click on one of them, my function will be called and when I check the set field of the callback struct, it has the value expected. But, when I click again on the already activated toggle, it will call my function with a set value of FALSE. I don't think this should be the value since the visual toggle mark is still activated. Is this a bug on OSF/Motif or an undocumented behavior?? David Gonzalez internet: d_gonzalez@upr1.upr.clu.edu CEENET Lab Staff lestat@rmece01.upr.clu.edu University of Puerto Rico Mayaguez Campus -- Engineering School P.S. Sistem is an IBM RS6000 with AIXWindows + OSF/Motif 1.0 ??