Re: Problems with Toggle-Buttons



"Martin" == Martin Bammer <e9525103 stud4 tuwien ac at> writes:

    Martin> On Freitag, 6. September 2002 14:57, Claudio Bley wrote:
    >> >>>>> "Martin" == Martin Bammer <e9525103 stud4 tuwien ac at>
    >> writes:
    >> 
    Martin> On Freitag, 6. September 2002 14:10, Olivier Sessink
    >>
    Martin> wrote:
    >> >> On Fri, 06 Sep 2002 13:09:50 +0200 "Martin Bammer"
    >> >>
    >> >> <e9525103 stud4 tuwien ac at> wrote: > I am searching for a
    >> >> simple method to change the state of the > toggle-button >>
    >> without emitting a signal.
    >> >>
    >> >> disconnect the signal, set the state, reconnect the signal
    >> >>
    >> >> regards, Olivier
    >> 
    Martin> Thanks, I thought about that method. But is this really
    Martin> the simplest way??
    >>  Excuse my naive question, but why aren't you using radio
    >> buttons in the first place instead of trying to resemble them
    >> yourself?
    >> 
    >> Claudio

    Martin> The reason is because there can be a mode where no button
    Martin> is selected.

I see. If I remember correctly, it was a common trick to have a third
radio button which is hidden but activated in order to have none
visible choice selected at first. Is this what you want to do?

Claudio



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]