Opened 21 months ago

Last modified 21 months ago

#18305 new enhancement

BSpinner: don't send modification message on SetValue()

Reported by: humdinger Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/Interface Kit Version: R1/beta4
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by pulkomandy)

As discussed at https://discuss.haiku-os.org/t/how-to-disable-modification-messages .

As PulkoMandy expressed there, BControl::SetValue. BCheckBox::SetValue and BMenuItem::SetMarked don't send any message as they do when invoked by a user's input.
BSpinner::SetValue(), however, does call Invoke(). This triggers a message that arrives at MessageReceived() just like it were user input.

BSpinner should behave like the other BControls in this respect.

BSpinner related: #18167

Change History (1)

comment:1 by pulkomandy, 21 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.